- Add LICENSE

- Support STAGEDIR
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-02-24 10:36:11 +00:00
parent 474b429209
commit 7bf15c22c8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345800
3 changed files with 6 additions and 12 deletions

View file

@ -9,16 +9,9 @@ MASTER_SITES= SF/xprobe/${PORTNAME}/Xprobe2%20${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org MAINTAINER= sunpoet@FreeBSD.org
COMMENT= ICMP active OS fingerprint scanner COMMENT= ICMP active OS fingerprint scanner
GNU_CONFIGURE= yes LICENSE= GPLv2
CONFIGURE_ENV= INSTALL=${INSTALL} 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 <bsd.port.mk> .include <bsd.port.mk>

View file

@ -4,4 +4,4 @@ X is a logic developed from the various Active Operating System
Fingerprinting methods discovered during the "ICMP Usage In Fingerprinting methods discovered during the "ICMP Usage In
Scanning" research project. Scanning" research project.
WWW: http://xprobe.sourceforge.net WWW: http://xprobe.sourceforge.net/

View file

@ -1,5 +1,6 @@
bin/xprobe2 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 %%ETCDIR%%/xprobe2.conf.sample
@exec if [ ! -f %D/%%ETCDIR%%/xprobe2.conf ]; then cp -p %D/%F %B/xprobe2.conf; fi @exec if [ ! -f %D/%%ETCDIR%%/xprobe2.conf ]; then cp -p %D/%F %B/xprobe2.conf; fi
man/man1/xprobe2.1.gz
@dirrm %%ETCDIR%% @dirrm %%ETCDIR%%