From cbd08a6aee7925626dd363a4c5c9f31dadd3d582 Mon Sep 17 00:00:00 2001 From: bapt Date: Wed, 2 Jul 2014 14:34:14 +0000 Subject: Support stage --- print/dvipdfmx/Makefile | 16 ++++++---------- print/dvipdfmx/pkg-plist | 1 + 2 files changed, 7 insertions(+), 10 deletions(-) (limited to 'print') diff --git a/print/dvipdfmx/Makefile b/print/dvipdfmx/Makefile index bf4d6f5a8d8d..0b8db3e27238 100644 --- a/print/dvipdfmx/Makefile +++ b/print/dvipdfmx/Makefile @@ -16,13 +16,13 @@ COMMENT= Dvipdfm with Asian languages by CID-keyed font technology support LICENSE= GPLv2 # (or later) -LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ - paper:${PORTSDIR}/print/libpaper +LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \ + libpaper.so:${PORTSDIR}/print/libpaper RUN_DEPENDS= ${ADOBECMAPDIR}/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps USE_TEX= tetex base texmf GNU_CONFIGURE= yes -CONFIGURE_ARGS= --datadir=${LOCALBASE}/share +CONFIGURE_ARGS= --datadir=${PREFIX}/share PLIST_SUB= DVIPDFMXDIR=${DVIPDFMXDIR} \ FONTMAPDIR=${FONTMAPDIR} \ @@ -31,20 +31,16 @@ PLIST_SUB= DVIPDFMXDIR=${DVIPDFMXDIR} \ MKTEXLSR=${MKTEXLSR} \ ADOBECMAPDIR=${ADOBECMAPDIR} -MAN1= extractbb.1 - DVIPDFMXDIR= ${TEXMFDIR}/dvipdfmx FONTMAPDIR= ${TEXMFDIR}/fonts/map/dvipdfmx GLYPHMAPDIR= ${TEXMFDIR}/fonts/map/glyphlist FONTCMAPDIR= ${TEXMFDIR}/fonts/cmap -ADOBECMAPDIR= ${LOCALBASE}/share/fonts/adobe-cmaps +ADOBECMAPDIR= ${PREFIX}/share/fonts/adobe-cmaps MKTEXLSR= ${LOCALBASE}/bin/mktexlsr -NO_STAGE= yes post-install: - ${MKDIR} ${LOCALBASE}/${FONTCMAPDIR} + ${MKDIR} ${STAGEDIR}${PREFIX}/${FONTCMAPDIR} ${LN} -s -f ${ADOBECMAPDIR} \ - ${LOCALBASE}/${FONTCMAPDIR}/adobe-cmaps - ${MKTEXLSR} ${PREFIX}/${TEXMFDIR} + ${STAGEDIR}${PREFIX}/${FONTCMAPDIR}/adobe-cmaps .include diff --git a/print/dvipdfmx/pkg-plist b/print/dvipdfmx/pkg-plist index fbc960c53261..51b91e252f34 100644 --- a/print/dvipdfmx/pkg-plist +++ b/print/dvipdfmx/pkg-plist @@ -1,6 +1,7 @@ bin/dvipdfmx bin/ebb-dvipdfmx bin/extractbb +man/man1/extractbb.1.gz %%DVIPDFMXDIR%%/dvipdfmx.cfg @dirrm %%DVIPDFMXDIR%% %%FONTMAPDIR%%/cid-x.map -- cgit