summaryrefslogtreecommitdiff
path: root/chat/gale
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-20 01:09:05 +0000
committerjoerg <joerg>2008-06-20 01:09:05 +0000
commitd8368bbc25c90072a19b5e48f0fba26251b6877f (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /chat/gale
parentf1b924fda77b6920565e56f54c9391b4dc68f8ca (diff)
downloadpkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz
Add DESTDIR support.
Diffstat (limited to 'chat/gale')
-rw-r--r--chat/gale/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/chat/gale/Makefile b/chat/gale/Makefile
index 0e1bd91ae55..8f7e5654482 100644
--- a/chat/gale/Makefile
+++ b/chat/gale/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2008/01/18 05:06:24 tnn Exp $
+# $NetBSD: Makefile,v 1.36 2008/06/20 01:09:09 joerg Exp $
DISTNAME= gale-0.99fruit
PKGNAME= gale-0.99f
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://gale.org/
COMMENT= Secure instant messaging system
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_GNU_READLINE= yes # needs rl_named_function()
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
@@ -39,10 +41,11 @@ OWN_DIRS_PERMS= ${PKG_SYSCONFDIR}/auth/cache \
OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR}/auth/local \
${SHAREOWN} ${SHAREGRP} 1777
+INSTALLATION_DIRS= ${EGDIR}
+
post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/kutils/ROOT ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/COPYING ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/kutils/ROOT ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${EGDIR}
.include "../../devel/boehm-gc/buildlink3.mk"
.include "../../devel/glib/buildlink3.mk"