diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 01:50:26 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 01:50:26 +0000 |
commit | 2e614fcea0b247bbc54200c2ed35e943cca37125 (patch) | |
tree | 594c159848c0679d80316a52bfc121f8d7c1bf18 /chat/mu-conference | |
parent | f61cf6906a47ea29db5a98128c49cd6db98ee0e9 (diff) | |
download | pkgsrc-2e614fcea0b247bbc54200c2ed35e943cca37125.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'chat/mu-conference')
-rw-r--r-- | chat/mu-conference/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/chat/mu-conference/Makefile b/chat/mu-conference/Makefile index 6760d4d11b3..5a9e7f6db4d 100644 --- a/chat/mu-conference/Makefile +++ b/chat/mu-conference/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2007/08/21 15:30:31 abs Exp $ +# $NetBSD: Makefile,v 1.18 2008/03/03 02:19:52 jlam Exp $ # DISTNAME= mu-conference-0.6.0 @@ -13,6 +13,8 @@ COMMENT= Implementation of the JEP-0045 Multi-User Chat protocol DEPENDS+= jabberd-[0-9]*:../../chat/jabberd2 +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/jcr-0.1.2 SUBWRKSRC= ${WRKSRC}/${DISTNAME}/src XMLCONFIG= ${WRKDIR}/${DISTNAME}/muc-jcr.xml @@ -53,8 +55,8 @@ post-build: cd ${SUBWRKSRC:Q} && ${SETENV} ${MAKE_ENV} ${GMAKE} -f jcomp.mk do-install: - ${INSTALL_PROGRAM} ${SUBWRKSRC:Q}/mu-conference ${PREFIX:Q}/bin - ${INSTALL_DATA} ${WRKSRC:Q}/${DISTNAME:Q}/muc-jcr.xml ${EGDIR:Q} + ${INSTALL_PROGRAM} ${SUBWRKSRC:Q}/mu-conference ${DESTDIR}${PREFIX:Q}/bin + ${INSTALL_DATA} ${WRKSRC:Q}/${DISTNAME:Q}/muc-jcr.xml ${DESTDIR}${EGDIR:Q} .include "../../devel/glib2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |