Fix pkg-plist.

Approved by:	linimon (mentor)
This commit is contained in:
Hiroki Sato 2004-08-19 17:33:35 +00:00
parent 499abf49c6
commit df9153a50b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116704
2 changed files with 4 additions and 2 deletions

View file

@ -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}

View file

@ -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