aboutsummaryrefslogtreecommitdiff
path: root/print/jadetex
diff options
context:
space:
mode:
authorNik Clayton <nik@FreeBSD.org>2002-11-24 20:54:23 +0000
committerNik Clayton <nik@FreeBSD.org>2002-11-24 20:54:23 +0000
commitb54a6778e241429dac46f4f02fd00673b491e666 (patch)
tree6d6c56e60347b126c692f11c3b84c3261c289fc3 /print/jadetex
parent587352e2865f4c88ea5f67540baa16d1598aa7b4 (diff)
downloadports-b54a6778e241429dac46f4f02fd00673b491e666.tar.gz
ports-b54a6778e241429dac46f4f02fd00673b491e666.zip
Notes
Diffstat (limited to 'print/jadetex')
-rw-r--r--print/jadetex/Makefile8
-rw-r--r--print/jadetex/pkg-plist4
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