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