aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/jadetex-ptex
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2004-08-20 01:33:35 +0800
committerhrs <hrs@FreeBSD.org>2004-08-20 01:33:35 +0800
commit59650b2f7234976fb80cdb94a798751aaa61292d (patch)
treef99f841cf78d8c9d6fb4b41b7f50da07f8830c17 /japanese/jadetex-ptex
parent0a8928401940eaf192c34f4ce7ede522e78ebf1d (diff)
downloadfreebsd-ports-gnome-59650b2f7234976fb80cdb94a798751aaa61292d.tar.gz
freebsd-ports-gnome-59650b2f7234976fb80cdb94a798751aaa61292d.tar.zst
freebsd-ports-gnome-59650b2f7234976fb80cdb94a798751aaa61292d.zip
Fix pkg-plist.
Approved by: linimon (mentor)
Diffstat (limited to 'japanese/jadetex-ptex')
-rw-r--r--japanese/jadetex-ptex/Makefile2
-rw-r--r--japanese/jadetex-ptex/pkg-plist4
2 files changed, 4 insertions, 2 deletions
diff --git a/japanese/jadetex-ptex/Makefile b/japanese/jadetex-ptex/Makefile
index 4a668eaec963..5ec832344332 100644
--- a/japanese/jadetex-ptex/Makefile
+++ b/japanese/jadetex-ptex/Makefile
@@ -24,6 +24,8 @@ RUN_DEPENDS= ptex:${PORTSDIR}/japanese/ptex-tetex
PKGMESSAGE= ${WRKDIR}/pkg-message
PKGMESSAGE_SUB= LOCALBASE=${LOCALBASE}
+PLIST_SUB= PKGNAMESUFFIX=${PKGNAMESUFFIX}
+
pre-patch:
${SED} ${PKGMESSAGE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
< ${PKGDIR}/pkg-message > ${PKGMESSAGE}
diff --git a/japanese/jadetex-ptex/pkg-plist b/japanese/jadetex-ptex/pkg-plist
index 743d2ba4e447..6b0f778a26c1 100644
--- a/japanese/jadetex-ptex/pkg-plist
+++ b/japanese/jadetex-ptex/pkg-plist
@@ -4,8 +4,8 @@
share/texmf/tex/jadetex/dsssl-ptex.def
share/texmf/tex/jadetex/jadetex-ptex.ltx
share/texmf/web2c/jadetex-ptex.fmt
-%%PORTDOCS%%%%DOCSDIR%%/README.jadetex-ptex
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTDOCS%%%%DOCSDIR%%%%PKGNAMESUFFIX%%/README.jadetex-ptex
+%%PORTDOCS%%@dirrm %%DOCSDIR%%%%PKGNAMESUFFIX%%
@exec %D/bin/mktexlsr
@unexec %D/bin/mktexlsr
@unexec rmdir %D/share/texmf/tex/jadetex 2> /dev/null || true