diff options
Diffstat (limited to 'print/jadetex')
-rw-r--r-- | print/jadetex/Makefile | 8 | ||||
-rw-r--r-- | print/jadetex/pkg-plist | 4 |
2 files changed, 11 insertions, 1 deletions
diff --git a/print/jadetex/Makefile b/print/jadetex/Makefile index 10b6cd105d19..05c2ad75ecb3 100644 --- a/print/jadetex/Makefile +++ b/print/jadetex/Makefile @@ -7,6 +7,7 @@ PORTNAME= jadetex PORTVERSION= 3.12 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= jadetex @@ -22,6 +23,8 @@ MAKE_ENV= TEXMFCNF=${FILESDIR}:${LOCALBASE}/share/texmf/web2c MESSAGE= ${PKGDIR}/pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message +MAN1= jadetex.1 pdfjadetex.1 + post-patch: patch-makefile patch-message patch-makefile: @@ -37,7 +40,10 @@ do-install: @cd ${WRKSRC}; TEXMFMAIN=$$(kpsewhich -expand-var '$$TEXMFMAIN'); \ ${INSTALL_DATA} jadetex.fmt pdfjadetex.fmt $$TEXMFMAIN/web2c; \ ${MKDIR} -m 555 $$TEXMFMAIN/tex/jadetex; \ - ${INSTALL_DATA} dsssl.def jadetex.ltx $$TEXMFMAIN/tex/jadetex + ${INSTALL_DATA} dsssl.def jadetex.ltx $$TEXMFMAIN/tex/jadetex; \ + ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1 + @${LN} -sf ${PREFIX}/bin/tex ${PREFIX}/bin/jadetex + @${LN} -sf ${PREFIX}/bin/pdftex ${PREFIX}/bin/pdfjadetex post-install: rebuild-tex-database display-message diff --git a/print/jadetex/pkg-plist b/print/jadetex/pkg-plist index 8f0fd83f8508..b3e73e5bbfdf 100644 --- a/print/jadetex/pkg-plist +++ b/print/jadetex/pkg-plist @@ -1,4 +1,8 @@ @comment $FreeBSD$ +@exec ln -sf %D/bin/tex %D/bin/jadetex +@exec ln -sf %D/bin/pdftex %D/bin/pdfjadetex +@unexec rm -f %D/bin/jadetex +@unexec rm -f %D/bin/pdfjadetex share/texmf/tex/jadetex/dsssl.def share/texmf/tex/jadetex/jadetex.ltx share/texmf/web2c/jadetex.fmt |