diff options
author | heinz <heinz@pkgsrc.org> | 2008-01-04 20:00:32 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2008-01-04 20:00:32 +0000 |
commit | 4cc52220217db5b7670e22b81e33a94ed9950a92 (patch) | |
tree | 4a52fb0da39eff806b4d5f703f137cd07f9a113f /chat | |
parent | 27839acd7de3ef9080347097c27d3880dafc744e (diff) | |
download | pkgsrc-4cc52220217db5b7670e22b81e33a94ed9950a92.tar.gz |
The package supports installation to DESTDIR.
Removed unnecessary write permissions to shut up warnings by checkperms.
Diffstat (limited to 'chat')
-rw-r--r-- | chat/ircII/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chat/ircII/Makefile b/chat/ircII/Makefile index 8945bac3e0b..60984aabae1 100644 --- a/chat/ircII/Makefile +++ b/chat/ircII/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.48 2007/09/07 22:12:11 jlam Exp $ +# $NetBSD: Makefile,v 1.49 2008/01/04 20:00:32 heinz Exp $ DISTNAME= ircii-${VERS} PKGNAME= ircII-${VERS} @@ -12,6 +12,7 @@ COMMENT= The 'Internet Relay Chat' and 'Internet Citizens Band' Client CONFLICTS= blackened-[0-9]* +PKG_DESTDIR_SUPPORT= user-destdir PKG_INSTALLATION_TYPES= overwrite pkgviews VERS= 20060725 @@ -24,6 +25,7 @@ GNU_CONFIGURE= yes .if defined(DEFAULT_IRC_SERVER) CONFIGURE_ARGS+= --with-default-server=${DEFAULT_IRC_SERVER:Q} .endif +USE_TOOLS+= chmod # see post-extract # This pkg auto-detects IPv6. BUILD_DEFS+= IPV6_READY @@ -49,6 +51,9 @@ PLIST_SUBST+= GZSUFFIX= DOC_COMPRESS_ARGS= ${PREFIX} .endif +post-extract: + chmod -R g-w ${WRKSRC}/help/. + post-install: ${AWK} '/^share\/irc\/help\// { sub("\\$${GZSUFFIX}$$", ""); print }' \ ${PLIST_SRC} | \ |