pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/fping6 DESTDIR support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f1d887dede7a
branches:  trunk
changeset: 554223:f1d887dede7a
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Feb 10 17:33:52 2009 +0000

description:
DESTDIR support

diffstat:

 net/fping6/Makefile |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 2fc37c2814a1 -r f1d887dede7a net/fping6/Makefile
--- a/net/fping6/Makefile       Tue Feb 10 17:22:20 2009 +0000
+++ b/net/fping6/Makefile       Tue Feb 10 17:33:52 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/11/08 15:25:07 tv Exp $
+# $NetBSD: Makefile,v 1.5 2009/02/10 17:33:52 joerg Exp $
 
 DISTNAME=      fping-2.4b2_to-ipv6
 PKGNAME=       fping6-2.4b2
@@ -9,14 +9,15 @@
 HOMEPAGE=      http://www.fping.com/
 COMMENT=       Quickly ping many hosts w/o flooding the network
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE= YES
 
+SPECIAL_PERMS+=                sbin/fping6 ${SETUID_ROOT_PERMS}
+
 post-patch:
        @${MV} ${WRKSRC}/fping.8 ${WRKSRC}/fping6.8
 
-post-install:
-       ${CHMOD} 4555 ${PREFIX}/sbin/fping6
-
 PKG_OPTIONS_VAR=               PKG_OPTIONS.fping6
 PKG_OPTIONS_REQUIRED_GROUPS=   inet6 # require inet6 capability
 PKG_OPTIONS_GROUP.inet6=       inet6



Home | Main Index | Thread Index | Old Index