summaryrefslogtreecommitdiff
path: root/net/hping
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-01-07 09:13:46 +0000
committerrillig <rillig@pkgsrc.org>2007-01-07 09:13:46 +0000
commit2829e658f2ba62cb77f3f151f468ec8de1549bd5 (patch)
tree77b9cef42b625156081609e43af1544d569620be /net/hping
parent5997a7db2d5af7de47f411825619ffc3689f1ce2 (diff)
downloadpkgsrc-2829e658f2ba62cb77f3f151f468ec8de1549bd5.tar.gz
Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with ${PREFIX}/${PKGMANDIR}. Fixes PR 35265, although I did not use the patch provided therein.
Diffstat (limited to 'net/hping')
-rw-r--r--net/hping/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/hping/Makefile b/net/hping/Makefile
index 6b937ced189..db8d3ea24af 100644
--- a/net/hping/Makefile
+++ b/net/hping/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/03/30 13:51:28 salo Exp $
+# $NetBSD: Makefile,v 1.9 2007/01/07 09:14:02 rillig Exp $
#
DISTNAME= hping2.0.0-rc3
@@ -15,7 +15,7 @@ HAS_CONFIGURE= YES
MANPATH= ${PREFIX}/man
CONFIGURE_ENV+= MANPATH=${MANPATH:Q}
-INSTALLATION_DIRS= man/man8 sbin
+INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
CONFIGURE_ENV+= PCAPINCDIR=${BUILDLINK_PREFIX.libpcap}/include
CONFIGURE_ENV+= PCAPLIBDIR=${BUILDLINK_PREFIX.libpcap}/lib
@@ -25,8 +25,8 @@ CONFIGURE_ENV+= PCAPLIBDIR=${BUILDLINK_PREFIX.libpcap}/lib
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hping2 ${PREFIX}/sbin
${LN} -s ../sbin/hping2 ${PREFIX}/sbin/hping
- ${INSTALL_MAN} ${WRKSRC}/docs/hping2.8 ${PREFIX}/man/man8
- ${LN} -s ../../man/man8/hping2.8 ${PREFIX}/man/man8/hping.8
+ ${INSTALL_MAN} ${WRKSRC}/docs/hping2.8 ${PREFIX}/${PKGMANDIR}/man8
+ ${LN} -s ../../man/man8/hping2.8 ${PREFIX}/${PKGMANDIR}/man8/hping.8
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"