summaryrefslogtreecommitdiff
path: root/editors/gice
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 18:25:52 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 18:25:52 +0000
commit80c7fb273d8e710ea174cde389ccea199e8a754b (patch)
tree94991d2182e36c43f4a6dac0f35a6023230a4d45 /editors/gice
parent38c8b857b2a15de072b4fa8baf0650634b5be996 (diff)
downloadpkgsrc-80c7fb273d8e710ea174cde389ccea199e8a754b.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'editors/gice')
-rw-r--r--editors/gice/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/editors/gice/Makefile b/editors/gice/Makefile
index d36f5dfda1e..24e555aac47 100644
--- a/editors/gice/Makefile
+++ b/editors/gice/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2006/04/17 13:46:22 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2008/03/03 18:25:52 jlam Exp $
#
DISTNAME= gice-0.6.2
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://gice.sourceforge.net/
COMMENT= Powerful C text editor with advanced features
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/gice
USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= YES
@@ -21,6 +23,6 @@ INSTALLATION_DIRS= bin
.include "../../x11/gtk2/buildlink3.mk"
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/gice ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/gice ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"