diff options
author | rafan <rafan@FreeBSD.org> | 2006-08-13 18:21:36 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2006-08-13 18:21:36 +0800 |
commit | 13c347e4ca53d69c799f133498e41152c1c1aa3e (patch) | |
tree | 125a08caa7832455797433f18f1a78f0a7f97fb7 | |
parent | ad3906f2fdc9c0d5f484a82075dbf6f55c66edaf (diff) | |
download | freebsd-ports-gnome-13c347e4ca53d69c799f133498e41152c1c1aa3e.tar.gz freebsd-ports-gnome-13c347e4ca53d69c799f133498e41152c1c1aa3e.tar.zst freebsd-ports-gnome-13c347e4ca53d69c799f133498e41152c1c1aa3e.zip |
- 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>
-rw-r--r-- | print/freetype-tools/Makefile | 18 |
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 |