diff options
author | minskim <minskim@pkgsrc.org> | 2009-03-04 17:01:39 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2009-03-04 17:01:39 +0000 |
commit | ff41e1483c5306d710866c829cbc7795ab2c8f06 (patch) | |
tree | 71cd250dff2fd722e0a508d7284b1d4ec2376e08 /graphics | |
parent | 78eb8fd89ac2a7e88cd2320d0febd654b5670099 (diff) | |
download | pkgsrc-ff41e1483c5306d710866c829cbc7795ab2c8f06.tar.gz |
Add PKG_DESTDIR_SUPPORT.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/silgraphite-ft/Makefile | 8 | ||||
-rw-r--r-- | graphics/silgraphite-xft/Makefile | 9 |
2 files changed, 13 insertions, 4 deletions
diff --git a/graphics/silgraphite-ft/Makefile b/graphics/silgraphite-ft/Makefile index 03e14394f66..7460fc19dac 100644 --- a/graphics/silgraphite-ft/Makefile +++ b/graphics/silgraphite-ft/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/12/13 06:58:01 minskim Exp $ +# $NetBSD: Makefile,v 1.2 2009/03/04 17:01:39 minskim Exp $ DISTNAME= silgraphite-2.3 PKGNAME= ${DISTNAME:S/silgraphite/silgraphite-ft/} @@ -9,6 +9,8 @@ MAINTAINER= minskim@NetBSD.org HOMEPAGE= http://silgraphite.sourceforge.net/ COMMENT= FreeType wrapper for SIL Graphite +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes USE_LIBTOOL= yes USE_TOOLS+= pkg-config @@ -16,11 +18,13 @@ USE_LANGUAGES= c c++ WRKSRC= ${WRKDIR}/${DISTNAME}/wrappers/freetype PKGCONFIG_OVERRIDE+= silgraphite-ft.pc +INSTALLATION_DIRS+= lib/pkgconfig .include "../../graphics/freetype2/buildlink3.mk" .include "../../graphics/silgraphite/buildlink3.mk" post-install: - ${INSTALL_DATA} ${WRKSRC}/silgraphite-ft.pc ${PREFIX}/lib/pkgconfig + ${INSTALL_DATA} ${WRKSRC}/silgraphite-ft.pc \ + ${DESTDIR}${PREFIX}/lib/pkgconfig .include "../../mk/bsd.pkg.mk" diff --git a/graphics/silgraphite-xft/Makefile b/graphics/silgraphite-xft/Makefile index 2bb3264492e..13721d5d7a7 100644 --- a/graphics/silgraphite-xft/Makefile +++ b/graphics/silgraphite-xft/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/12/15 00:44:52 minskim Exp $ +# $NetBSD: Makefile,v 1.2 2009/03/04 17:05:12 minskim Exp $ DISTNAME= silgraphite-2.3 PKGNAME= ${DISTNAME:S/silgraphite/silgraphite-xft/} @@ -9,17 +9,22 @@ MAINTAINER= minskim@NetBSD.org HOMEPAGE= http://silgraphite.sourceforge.net/ COMMENT= Xft wrapper for SIL Graphite +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes USE_LIBTOOL= yes USE_TOOLS+= pkg-config USE_LANGUAGES= c c++ WRKSRC= ${WRKDIR}/${DISTNAME}/wrappers/xft +INSTALLATION_DIRS+= lib/pkgconfig + .include "../../graphics/silgraphite/buildlink3.mk" .include "../../graphics/silgraphite-ft/buildlink3.mk" .include "../../x11/libXft/buildlink3.mk" post-install: - ${INSTALL_DATA} ${WRKSRC}/silgraphite-xft.pc ${PREFIX}/lib/pkgconfig + ${INSTALL_DATA} ${WRKSRC}/silgraphite-xft.pc \ + ${DESTDIR}${PREFIX}/lib/pkgconfig .include "../../mk/bsd.pkg.mk" |