diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-28 19:27:03 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-28 19:27:03 +0000 |
commit | f9eacee8bdf6af8275a0bd38f8811340297b9ae3 (patch) | |
tree | 87913e0184bdf59c7b720df79faf952c1247fad2 /chat/atheme | |
parent | 72903509d501a7637b85a97d4a400402f22c004e (diff) | |
download | pkgsrc-f9eacee8bdf6af8275a0bd38f8811340297b9ae3.tar.gz |
DESTDIR support
Diffstat (limited to 'chat/atheme')
-rw-r--r-- | chat/atheme/Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/chat/atheme/Makefile b/chat/atheme/Makefile index 7cbc78a6999..239083f6c61 100644 --- a/chat/atheme/Makefile +++ b/chat/atheme/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2009/07/17 18:00:13 adrianp Exp $ +# $NetBSD: Makefile,v 1.5 2010/01/28 19:32:48 joerg Exp $ # DISTNAME= atheme-services-3.0.4 @@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.atheme.org/ COMMENT= Flexible IRC services system with proven scalability +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../mk/bsd.prefs.mk" GNU_CONFIGURE= yes @@ -64,18 +66,19 @@ MAKE_DIRS_PERMS+= ${VARBASE}/log/atheme \ MAKE_DIRS_PERMS+= ${VARBASE}/run/atheme \ ${ATHEME_USER} ${ATHEME_GROUP} 0770 +INSTALLATION_DIRS+= ${EGDIR} + post-install: - ${INSTALL_DATA_DIR} ${EGDIR} ${INSTALL_DATA} ${WRKSRC}/dist/atheme.conf.example \ - ${EGDIR}/atheme.conf.example + ${DESTDIR}${EGDIR}/atheme.conf.example ${INSTALL_DATA} ${WRKSRC}/dist/atheme.conf.userserv-example \ - ${EGDIR}/atheme.conf.userserv-example + ${DESTDIR}${EGDIR}/atheme.conf.userserv-example ${INSTALL_DATA} ${WRKSRC}/dist/atheme.cron.example \ - ${EGDIR}/atheme.cron.example + ${DESTDIR}${EGDIR}/atheme.cron.example ${INSTALL_DATA} ${WRKSRC}/dist/atheme.motd.example \ - ${EGDIR}/atheme.motd.example + ${DESTDIR}${EGDIR}/atheme.motd.example . for i in ${DOC_FILES} - ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/atheme/ + ${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${PREFIX}/share/doc/atheme/ . endfor .include "../../devel/libmowgli/buildlink3.mk" |