aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-26 14:11:24 +0800
committermiwi <miwi@FreeBSD.org>2014-02-26 14:11:24 +0800
commit00517c4f7a2f93d4860e0e8cfb750dea01cd5306 (patch)
treebd9bf4107d9f1d9ceb7087b46209fbe7ed7b8a71 /print
parent1f0a528c4888865474d42dd93aa732072cbca7a9 (diff)
downloadfreebsd-ports-gnome-00517c4f7a2f93d4860e0e8cfb750dea01cd5306.tar.gz
freebsd-ports-gnome-00517c4f7a2f93d4860e0e8cfb750dea01cd5306.tar.zst
freebsd-ports-gnome-00517c4f7a2f93d4860e0e8cfb750dea01cd5306.zip
- Stage support
Diffstat (limited to 'print')
-rw-r--r--print/ttf2pt1/Makefile6
-rw-r--r--print/ttf2pt1/pkg-plist3
2 files changed, 5 insertions, 4 deletions
diff --git a/print/ttf2pt1/Makefile b/print/ttf2pt1/Makefile
index fa2e6ccdfcc8..75238b2ab415 100644
--- a/print/ttf2pt1/Makefile
+++ b/print/ttf2pt1/Makefile
@@ -14,9 +14,9 @@ COMMENT= True Type Font to Postscript Type 1 Converter
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
RUN_DEPENDS= t1asm:${PORTSDIR}/print/t1utils
-USES= pkgconfig shebangfix perl5
+USES= pkgconfig shebangfix perl5 desthack
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} ${CPPFLAGS}" LIBS="${LDFLAGS}" \
- INSTDIR="${PREFIX}" LIBXDIR="${PREFIX}/bin"
+ INSTDIR="${STAGEDIR}${PREFIX}" LIBXDIR="${STAGEDIR}${PREFIX}/bin"
SHEBANG_FILES= app/TeX/sfd2map \
app/TeX/cjk-latex-config \
other/showdf \
@@ -29,12 +29,10 @@ SHEBANG_FILES= app/TeX/sfd2map \
scripts/t1fdir \
scripts/trans
-MAN1= ttf2pt1.1 ttf2pt1_convert.1 ttf2pt1_x2gs.1
CPPFLAGS+= `pkg-config --cflags freetype2` \
-I${LOCALBASE}/include -DUSE_FREETYPE
LDFLAGS+= `pkg-config --libs freetype2` \
-L${LOCALBASE}/lib -lm
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/print/ttf2pt1/pkg-plist b/print/ttf2pt1/pkg-plist
index f4ce7437320b..44efe574b3f9 100644
--- a/print/ttf2pt1/pkg-plist
+++ b/print/ttf2pt1/pkg-plist
@@ -88,6 +88,9 @@ bin/ttf2pt1_x2gs
%%DATADIR%%/scripts/trans
%%DATADIR%%/scripts/unhtml
%%DATADIR%%/scripts/x2gs
+man/man1/ttf2pt1.1.gz
+man/man1/ttf2pt1_convert.1.gz
+man/man1/ttf2pt1_x2gs.1.gz
@dirrm %%DATADIR%%/scripts
@dirrm %%DATADIR%%/other
@dirrm %%DATADIR%%/maps