aboutsummaryrefslogtreecommitdiffstats
path: root/print/jadetex/Makefile
diff options
context:
space:
mode:
authornik <nik@FreeBSD.org>2002-11-25 04:54:23 +0800
committernik <nik@FreeBSD.org>2002-11-25 04:54:23 +0800
commitd791179613f345d229c1299dc9985144323c5953 (patch)
tree86495bc367722f1e0544f264e1f18428d1cb31f5 /print/jadetex/Makefile
parenta4e578ae0f2c9e7db16f30ffde86926a5187d33c (diff)
downloadfreebsd-ports-gnome-d791179613f345d229c1299dc9985144323c5953.tar.gz
freebsd-ports-gnome-d791179613f345d229c1299dc9985144323c5953.tar.zst
freebsd-ports-gnome-d791179613f345d229c1299dc9985144323c5953.zip
Install the jadetex and pdfjadetex man pages.
Install symlinks links jadetex and pdfjadetex to tex and pdftex respectively. Bump PORTREVISION because of this. PR: ports/38917 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Diffstat (limited to 'print/jadetex/Makefile')
-rw-r--r--print/jadetex/Makefile8
1 files changed, 7 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