pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/ircII The package supports installation to DESTDIR.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/122213454196
branches:  trunk
changeset: 537196:122213454196
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Fri Jan 04 20:00:32 2008 +0000

description:
The package supports installation to DESTDIR.
Removed unnecessary write permissions to shut up warnings by checkperms.

diffstat:

 chat/ircII/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 7ffbf0601e92 -r 122213454196 chat/ircII/Makefile
--- a/chat/ircII/Makefile       Fri Jan 04 19:59:19 2008 +0000
+++ b/chat/ircII/Makefile       Fri Jan 04 20:00:32 2008 +0000
@@ -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 @@
 
 CONFLICTS=             blackened-[0-9]*
 
+PKG_DESTDIR_SUPPORT=   user-destdir
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
 VERS=                  20060725
@@ -24,6 +25,7 @@
 .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 @@
 DOC_COMPRESS_ARGS=     ${PREFIX}
 .endif
 
+post-extract:
+       chmod -R g-w ${WRKSRC}/help/.
+
 post-install:
        ${AWK} '/^share\/irc\/help\// { sub("\\$${GZSUFFIX}$$", ""); print }' \
                ${PLIST_SRC} |                                          \



Home | Main Index | Thread Index | Old Index