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 | f51d188615c815eb0722f2485598120443a6cb68 (patch) | |
tree | 87913e0184bdf59c7b720df79faf952c1247fad2 /chat/atheme | |
parent | 820f1ff87e1898e97f33c25d918ab41b4717688f (diff) | |
download | pkgsrc-f51d188615c815eb0722f2485598120443a6cb68.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" |