aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2010-01-13 03:37:58 +0800
committerhrs <hrs@FreeBSD.org>2010-01-13 03:37:58 +0800
commit115aca263c80bbc181c58165f9f402fa3fcfa559 (patch)
tree2f05c9da996935e5463aca0c307789ef9a8562b7
parent1ecce9ddf7fff04d0fcdf48f69a7a741ac490c0f (diff)
downloadfreebsd-ports-gnome-115aca263c80bbc181c58165f9f402fa3fcfa559.tar.gz
freebsd-ports-gnome-115aca263c80bbc181c58165f9f402fa3fcfa559.tar.zst
freebsd-ports-gnome-115aca263c80bbc181c58165f9f402fa3fcfa559.zip
- Use specific directories for mktexlsr.
- Use $SUB_FILES for pkg-message[*]. - Style clean-ups. PR: ports/142616 [*] Submitted by: Sevan Janiyan [*]
-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