summaryrefslogtreecommitdiff
path: root/graphics/silgraphite-xft
diff options
context:
space:
mode:
authorminskim <minskim>2009-03-04 17:01:39 +0000
committerminskim <minskim>2009-03-04 17:01:39 +0000
commit4fcac4923906de2f36e090afe9e308cd9c596e86 (patch)
tree71cd250dff2fd722e0a508d7284b1d4ec2376e08 /graphics/silgraphite-xft
parentf317d0e67339dd17f24e94939032a93696bc592a (diff)
downloadpkgsrc-4fcac4923906de2f36e090afe9e308cd9c596e86.tar.gz
Add PKG_DESTDIR_SUPPORT.
Diffstat (limited to 'graphics/silgraphite-xft')
-rw-r--r--graphics/silgraphite-xft/Makefile9
1 files changed, 7 insertions, 2 deletions
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"