diff --git a/net/xprobe/Makefile b/net/xprobe/Makefile index 3629d684b459..35317eba1012 100644 --- a/net/xprobe/Makefile +++ b/net/xprobe/Makefile @@ -9,16 +9,9 @@ MASTER_SITES= SF/xprobe/${PORTNAME}/Xprobe2%20${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= ICMP active OS fingerprint scanner -GNU_CONFIGURE= yes +LICENSE= GPLv2 + CONFIGURE_ENV= INSTALL=${INSTALL} +GNU_CONFIGURE= yes -MAN1= xprobe2.1 - -post-install: .SILENT - if [ ! -f ${ETCDIR}/${PORTNAME}.conf ]; then \ - ${INSTALL_DATA} ${ETCDIR}/${PORTNAME}.conf.sample \ - ${ETCDIR}/${PORTNAME}.conf; \ - fi - -NO_STAGE= yes .include diff --git a/net/xprobe/pkg-descr b/net/xprobe/pkg-descr index a4a5c3274f4d..c51536df4da2 100644 --- a/net/xprobe/pkg-descr +++ b/net/xprobe/pkg-descr @@ -4,4 +4,4 @@ X is a logic developed from the various Active Operating System Fingerprinting methods discovered during the "ICMP Usage In Scanning" research project. -WWW: http://xprobe.sourceforge.net +WWW: http://xprobe.sourceforge.net/ diff --git a/net/xprobe/pkg-plist b/net/xprobe/pkg-plist index 962d1771ad46..fe8e5de5b91e 100644 --- a/net/xprobe/pkg-plist +++ b/net/xprobe/pkg-plist @@ -1,5 +1,6 @@ bin/xprobe2 -@unexec if cmp -s %D/%%ETCDIR%%/xprobe2.conf.sample %D/%%ETCDIR%%/xprobe2.conf; then rm -f %D/%%ETCDIR%%/xprobe2.conf; fi +@unexec if cmp -s %D/%%ETCDIR%%/xprobe2.conf %D/%%ETCDIR%%/xprobe2.conf.sample; then rm -f %D/%%ETCDIR%%/xprobe2.conf; fi %%ETCDIR%%/xprobe2.conf.sample @exec if [ ! -f %D/%%ETCDIR%%/xprobe2.conf ]; then cp -p %D/%F %B/xprobe2.conf; fi +man/man1/xprobe2.1.gz @dirrm %%ETCDIR%%