diff options
author | obache <obache@pkgsrc.org> | 2011-03-28 13:02:25 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-03-28 13:02:25 +0000 |
commit | 2bfff5fae57088a408c93b0f561acb5214aea2fc (patch) | |
tree | 344e23032fbf086460166674f1eda39f11b827da /chat/bitchx | |
parent | 2eb4dd2596391c972525b291377edcc7c62579c5 (diff) | |
download | pkgsrc-2bfff5fae57088a408c93b0f561acb5214aea2fc.tar.gz |
Add user-destdir installation support.
Diffstat (limited to 'chat/bitchx')
-rw-r--r-- | chat/bitchx/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chat/bitchx/Makefile b/chat/bitchx/Makefile index 8eda2f795fa..c11746e486a 100644 --- a/chat/bitchx/Makefile +++ b/chat/bitchx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.49 2010/08/25 09:59:52 jmcneill Exp $ +# $NetBSD: Makefile,v 1.50 2011/03/28 13:02:25 obache Exp $ DISTNAME= ircii-pana-1.1-final PKGNAME= bitchx-1.1 @@ -13,6 +13,8 @@ COMMENT= IRC client based on ircII # This package is not even remotely 64-bit clean NOT_FOR_PLATFORM= ${LP64PLATFORMS} +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= bash WRKSRC= ${WRKDIR}/BitchX @@ -31,6 +33,9 @@ SUBST_STAGE.manpage= post-patch SUBST_FILES.manpage+= doc/BitchX.1 SUBST_SED.manpage+= -e 's,@PREFIX@,${PREFIX},g' +INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} +INSTALL_MAKE_FLAGS+= mandir=${DESTDIR}${PREFIX}/${PKGMANDIR} + .include "../../archivers/bzip2/buildlink3.mk" .include "../../devel/ncurses/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" |