aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-26 06:11:24 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-26 06:11:24 +0000
commit18455e930f1fe3d02402f74a78582a3c7cbaee6d (patch)
treebd9bf4107d9f1d9ceb7087b46209fbe7ed7b8a71
parent92ebaeb5b3892624647dc570bcb93be8be6874d9 (diff)
downloadports-18455e930f1fe3d02402f74a78582a3c7cbaee6d.tar.gz
ports-18455e930f1fe3d02402f74a78582a3c7cbaee6d.zip
- Stage support
Notes
Notes: svn path=/head/; revision=346103
-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