mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
print/rtf2latex2e: Update to 2.2.3
Strip binary in post-install target. Add LICENSE_FILE. Add TEST_TARGET and TESTING_UNSAFE. Changelog: https://sourceforge.net/projects/rtf2latex2e/files/rtf2latex2e-unix/ PR: 282106 Approved by: martin.dieringer@gmx.de (maintainer)
This commit is contained in:
parent
21d5e4f153
commit
d971f341af
4 changed files with 40 additions and 20 deletions
|
@ -1,6 +1,5 @@
|
|||
PORTNAME= rtf2latex2e
|
||||
DISTVERSION= 2-2-2
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 2-2-3
|
||||
CATEGORIES= print
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-unix/2-2
|
||||
|
||||
|
@ -9,9 +8,18 @@ COMMENT= Newer filter that converts RTF (MS Rich Text Format) into LaTeX
|
|||
WWW= https://sourceforge.net/projects/rtf2latex2e/
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/doc/GPL_license
|
||||
|
||||
USES= gmake
|
||||
MAKE_ARGS= CC="${CC}" \
|
||||
mandir=${PREFIX}/share/man/
|
||||
|
||||
MAKE_ARGS= CC="${CC}" mandir=${MANDIRS}
|
||||
TEST_TARGET= test
|
||||
|
||||
CFLAGS+= -fcommon
|
||||
|
||||
TESTING_UNSAFE= yes
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (rtf2latex2e-2-2-2.tar.gz) = eb742af22f2ae43c40ea1abc5f50215e04779e51dc9d91cac9276b98f91bb1af
|
||||
SIZE (rtf2latex2e-2-2-2.tar.gz) = 1103749
|
||||
TIMESTAMP = 1728993749
|
||||
SHA256 (rtf2latex2e-2-2-3.tar.gz) = 7ef86edea11d5513cd86789257a91265fc82d978541d38ab2c08d3e9d6fcd3c3
|
||||
SIZE (rtf2latex2e-2-2-3.tar.gz) = 1207871
|
||||
|
|
11
print/rtf2latex2e/files/patch-Makefile
Normal file
11
print/rtf2latex2e/files/patch-Makefile
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- Makefile.orig 2024-10-15 12:27:32 UTC
|
||||
+++ Makefile
|
||||
@@ -66,7 +66,7 @@ PREFS = pref/latex-encoding pref
|
||||
pref/cp936raw.txt pref/cp932raw.txt \
|
||||
pref/rtf-encoding.cp1251
|
||||
|
||||
-DOCS = doc/GPL_license doc/ChangeLog \
|
||||
+DOCS = doc/GPL_license doc/Changelog \
|
||||
doc/rtf2latexDoc.tex doc/rtf2latex2e.1 \
|
||||
doc/Makefile \
|
||||
|
|
@ -1,23 +1,23 @@
|
|||
bin/rtf2latex2e
|
||||
share/man/man1/rtf2latex2e.1.gz
|
||||
%%DATADIR%%/latex-encoding.latin1
|
||||
%%DATADIR%%/rtf-encoding.cp1250
|
||||
%%DATADIR%%/cp932raw.txt
|
||||
%%DATADIR%%/cp936raw.txt
|
||||
%%DATADIR%%/latex-encoding
|
||||
%%DATADIR%%/latex-encoding.german
|
||||
%%DATADIR%%/latex-encoding.cp1250
|
||||
%%DATADIR%%/latex-encoding.cp1252
|
||||
%%DATADIR%%/rtf-encoding.mac
|
||||
%%DATADIR%%/latex-encoding.german
|
||||
%%DATADIR%%/latex-encoding.latin1
|
||||
%%DATADIR%%/latex-encoding.mac
|
||||
%%DATADIR%%/r2l-head
|
||||
%%DATADIR%%/r2l-map
|
||||
%%DATADIR%%/r2l-pref
|
||||
%%DATADIR%%/rtf-ctrl
|
||||
%%DATADIR%%/rtf-encoding.cp1250
|
||||
%%DATADIR%%/rtf-encoding.cp1251
|
||||
%%DATADIR%%/rtf-encoding.cp1252
|
||||
%%DATADIR%%/rtf-encoding.cp1254
|
||||
%%DATADIR%%/rtf-encoding.cp437
|
||||
%%DATADIR%%/r2l-head
|
||||
%%DATADIR%%/rtf-ctrl
|
||||
%%DATADIR%%/r2l-pref
|
||||
%%DATADIR%%/rtf-encoding.cp1251
|
||||
%%DATADIR%%/rtf-encoding.cp850
|
||||
%%DATADIR%%/cp932raw.txt
|
||||
%%DATADIR%%/latex-encoding.mac
|
||||
%%DATADIR%%/latex-encoding.cp1250
|
||||
%%DATADIR%%/rtf-encoding.cp1252
|
||||
%%DATADIR%%/r2l-map
|
||||
%%DATADIR%%/rtf-encoding.mac
|
||||
%%DATADIR%%/rtf-encoding.next
|
||||
%%DATADIR%%/cp936raw.txt
|
||||
%%DATADIR%%/rtf-encoding.symbolfont
|
||||
|
|
Loading…
Add table
Reference in a new issue