aboutsummaryrefslogtreecommitdiff
path: root/japanese/jadetex-ptex
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2010-01-12 19:37:58 +0000
committerHiroki Sato <hrs@FreeBSD.org>2010-01-12 19:37:58 +0000
commitc1c847a7ac8b4c7f8845ee9e3228d138d180fa24 (patch)
tree5d85e0b0aab40b4768ccdb286dbb882b76c84d84 /japanese/jadetex-ptex
parent80bcfa461240d997e2f26a425bfb70c16e66eeee (diff)
downloadports-c1c847a7ac8b4c7f8845ee9e3228d138d180fa24.tar.gz
ports-c1c847a7ac8b4c7f8845ee9e3228d138d180fa24.zip
Notes
Diffstat (limited to 'japanese/jadetex-ptex')
-rw-r--r--japanese/jadetex-ptex/Makefile42
-rw-r--r--japanese/jadetex-ptex/files/pkg-message.in (renamed from japanese/jadetex-ptex/pkg-message)0
2 files changed, 19 insertions, 23 deletions
diff --git a/japanese/jadetex-ptex/Makefile b/japanese/jadetex-ptex/Makefile
index 41144a9d0878..f603c787489a 100644
--- a/japanese/jadetex-ptex/Makefile
+++ b/japanese/jadetex-ptex/Makefile
@@ -5,43 +5,39 @@
# $FreeBSD$
#
-PORTNAME= jadetex
-PORTVERSION= 3.13
-PORTREVISION= 6
-CATEGORIES= japanese print
-MASTER_SITES= SF
-PKGNAMESUFFIX= -ptex
-DISTNAME= jadetex-${PORTVERSION}
+PORTNAME= jadetex
+PORTVERSION= 3.13
+PORTREVISION= 7
+CATEGORIES= japanese print
+MASTER_SITES= SF
+PKGNAMESUFFIX= -ptex
+DISTNAME= jadetex-${PORTVERSION}
-MAINTAINER= hrs@FreeBSD.org
-COMMENT= A pTeX backend for Jade, for typesetting SGML documents
+MAINTAINER= hrs@FreeBSD.org
+COMMENT= A pTeX backend for Jade, for typesetting SGML documents
-BUILD_DEPENDS= ptex:${PORTSDIR}/japanese/ptex
-LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
-RUN_DEPENDS= ptex:${PORTSDIR}/japanese/ptex
+BUILD_DEPENDS= ptex:${PORTSDIR}/japanese/ptex
+LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
+RUN_DEPENDS= ptex:${PORTSDIR}/japanese/ptex
-PKGMESSAGE= ${WRKDIR}/pkg-message
-PKGMESSAGE_SUB= LOCALBASE=${LOCALBASE}
+PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
-PLIST_SUB= PKGNAMESUFFIX=${PKGNAMESUFFIX} \
- MKTEXLSR=${MKTEXLSR} \
- TEXMFDIR=${TEXMFDIR} \
- TEXMFLOCALDIR=${TEXMFLOCALDIR}
+PLIST_SUB= PKGNAMESUFFIX=${PKGNAMESUFFIX} \
+ MKTEXLSR=${MKTEXLSR} \
+ TEXMFDIR=${TEXMFDIR} \
+ TEXMFLOCALDIR=${TEXMFLOCALDIR}
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
TEXMFDIR= share/texmf
TEXMFLOCALDIR= share/texmf-local
-pre-patch:
- ${SED} ${PKGMESSAGE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- < ${PKGDIR}/pkg-message > ${PKGMESSAGE}
-
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}${PKGNAMESUFFIX}
${INSTALL_MAN} ${WRKSRC}/README.jadetex-ptex ${DOCSDIR}${PKGNAMESUFFIX}/
.endif
- ${LOCALBASE}/bin/mktexlsr
+ ${LOCALBASE}/bin/mktexlsr ${LOCALBASE}/${TEXMFDIR}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/japanese/jadetex-ptex/pkg-message b/japanese/jadetex-ptex/files/pkg-message.in
index 444535597b2b..444535597b2b 100644
--- a/japanese/jadetex-ptex/pkg-message
+++ b/japanese/jadetex-ptex/files/pkg-message.in