summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-08-13 10:21:36 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-08-13 10:21:36 +0000
commit9bcce1d013faa4f9460f723abc4785f32e9cb36d (patch)
treecb923f38d82a31bf0c4aa49a3d276ac13eebd04d /print
parent- Update to 2.83 (diff)
- Respect DESTDIR
- Remove unnecessary RUN_DEPENDS by swap {BUILD,RUN}_DEPENDS This is due to libtool and gmake. Bump PORTREVISION for this. - Use find's ability: -delete PR: ports/101871 Submitted by: Gea-Suan Lin <gslin at gslin.org>
Notes
Notes: svn path=/head/; revision=170460
Diffstat (limited to 'print')
-rw-r--r--print/freetype-tools/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/print/freetype-tools/Makefile b/print/freetype-tools/Makefile
index 846ad2290406..4510c455ea00 100644
--- a/print/freetype-tools/Makefile
+++ b/print/freetype-tools/Makefile
@@ -7,7 +7,7 @@
PORTNAME= freetype-tools
PORTVERSION= 1.3.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S,%SUBDIR%,freetype,} \
http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/%SUBDIR%/ \
@@ -22,14 +22,14 @@ MAINTAINER= rafan@FreeBSD.org
COMMENT= Tools for FreeType 1
LIB_DEPENDS= ttf.4:${PORTSDIR}/print/freetype
-BUILD_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX-base
+BUILD_DEPENDS= ${RUN_DEPENDS}
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ARGS= --disable-nls --enable-static --enable-shared
-TEXMFMAIN= ${PREFIX}/share/texmf
+TEXMFMAIN= ${TARGETDIR}/share/texmf
MAN1= ttf2bdf.1 ttf2tfm.1 ttf2pk.1
@@ -38,13 +38,13 @@ post-patch:
${WRKSRC}/configure
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|LIBTOOL =.*|LIBTOOL = ${LIBTOOL}|'
- @${FIND} ${WRKSRC} -name '*.orig' | ${XARGS} ${RM}
+ @${FIND} ${WRKSRC} -name '*.orig' -delete
post-build:
- @cd ${WRKSRC}/contrib/ttf2bdf && ./configure --prefix=${PREFIX} && ${GMAKE}
- @cd ${WRKSRC}/contrib/ttf2pfb && ./configure --prefix=${PREFIX} && ${GMAKE}
- @cd ${WRKSRC}/contrib/ttf2pk && ./configure --prefix=${PREFIX} --with-kpathsea-dir=${LOCALBASE} && ${GMAKE}
- @cd ${WRKSRC}/contrib/ttfbanner && ./configure --prefix=${PREFIX} && ${GMAKE}
+ @cd ${WRKSRC}/contrib/ttf2bdf && ./configure --prefix=${TARGETDIR} && ${GMAKE}
+ @cd ${WRKSRC}/contrib/ttf2pfb && ./configure --prefix=${TARGETDIR} && ${GMAKE}
+ @cd ${WRKSRC}/contrib/ttf2pk && ./configure --prefix=${TARGETDIR} --with-kpathsea-dir=${LOCALBASE} && ${GMAKE}
+ @cd ${WRKSRC}/contrib/ttfbanner && ./configure --prefix=${TARGETDIR} && ${GMAKE}
do-install:
@cd ${WRKSRC}/contrib/ttf2bdf && ${GMAKE} install