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/silgraphite-ft | |
parent | 78eb8fd89ac2a7e88cd2320d0febd654b5670099 (diff) | |
download | pkgsrc-ff41e1483c5306d710866c829cbc7795ab2c8f06.tar.gz |
Add PKG_DESTDIR_SUPPORT.
Diffstat (limited to 'graphics/silgraphite-ft')
-rw-r--r-- | graphics/silgraphite-ft/Makefile | 8 |
1 files changed, 6 insertions, 2 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" |