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
commit7d15c2c527b0cb171788f5360a5baca8cd9db73e (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /chat/gale
parent534b5bd9ce0ca747418c84f41f29a7fd1e7121a2 (diff)
downloadpkgsrc-7d15c2c527b0cb171788f5360a5baca8cd9db73e.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"