aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-07-02 22:34:14 +0800
committerbapt <bapt@FreeBSD.org>2014-07-02 22:34:14 +0800
commitcbd08a6aee7925626dd363a4c5c9f31dadd3d582 (patch)
treedb28c3c71bfec75af1e2109c38022f9402adbe98 /print
parentf047d69df3aac26e7ba7768b2cfde10fd80a93cf (diff)
downloadfreebsd-ports-gnome-cbd08a6aee7925626dd363a4c5c9f31dadd3d582.tar.gz
freebsd-ports-gnome-cbd08a6aee7925626dd363a4c5c9f31dadd3d582.tar.zst
freebsd-ports-gnome-cbd08a6aee7925626dd363a4c5c9f31dadd3d582.zip
Support stage
Diffstat (limited to 'print')
-rw-r--r--print/dvipdfmx/Makefile16
-rw-r--r--print/dvipdfmx/pkg-plist1
2 files changed, 7 insertions, 10 deletions
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 <bsd.port.mk>
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