aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-07-02 14:34:14 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-07-02 14:34:14 +0000
commitc62d6f36872850cea72df10d97201936f71cc84d (patch)
treedb28c3c71bfec75af1e2109c38022f9402adbe98 /print
parente1f10e7a0e3dc5afbe36dba071e096de87ec09bd (diff)
downloadports-c62d6f36872850cea72df10d97201936f71cc84d.tar.gz
ports-c62d6f36872850cea72df10d97201936f71cc84d.zip
Notes
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