aboutsummaryrefslogtreecommitdiffstats
path: root/net/hping/Makefile
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2004-04-13 17:05:53 +0800
committerosa <osa@FreeBSD.org>2004-04-13 17:05:53 +0800
commit4d04f11dd9f2f5e7845528a46a50ac168ac64cc3 (patch)
tree97f24cece2eb2884621d501ff80ba30e7627119a /net/hping/Makefile
parent17aa8cbd1eddc20df6801ec08934e8468123bf7e (diff)
downloadfreebsd-ports-gnome-4d04f11dd9f2f5e7845528a46a50ac168ac64cc3.tar.gz
freebsd-ports-gnome-4d04f11dd9f2f5e7845528a46a50ac168ac64cc3.tar.zst
freebsd-ports-gnome-4d04f11dd9f2f5e7845528a46a50ac168ac64cc3.zip
Move package files from pkg-plist to Makefile.
Use DOCSDIR macro where it possible. Remove pkg-plist. No functionaly changes.
Diffstat (limited to 'net/hping/Makefile')
-rw-r--r--net/hping/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/net/hping/Makefile b/net/hping/Makefile
index 3f409de70a71..db529bea3ce0 100644
--- a/net/hping/Makefile
+++ b/net/hping/Makefile
@@ -21,15 +21,19 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --force-libpcap
USE_GMAKE= yes
+PLIST_FILES= sbin/hping
+PORTDOCS= AS-BACKDOOR HPING2-HOWTO.txt HPING2-IS-OPEN \
+ MORE-FUN-WITH-IPID SPOOFED_SCAN.txt
+
MAN8= hping.8
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hping2 ${PREFIX}/sbin/hping
${INSTALL_MAN} ${WRKSRC}/docs/hping2.8 ${PREFIX}/man/man8/hping.8
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/hping
-.for i in AS-BACKDOOR HPING2-HOWTO.txt HPING2-IS-OPEN MORE-FUN-WITH-IPID SPOOFED_SCAN.txt
- ${INSTALL_DATA} ${WRKSRC}/docs/${i} ${PREFIX}/share/doc/hping/
+ ${MKDIR} ${DOCSDIR}
+.for i in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}/
.endfor
.endif