aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2007-10-22 08:47:45 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2007-10-22 08:47:45 +0000
commit3175f99138ea9b295c34e18b4060b2e5b85fe41c (patch)
treef60334417261ea7baeb38fdece3ca137aeae3ba3
parent2b1a45c49b46bbd19b4a16633328b94146958579 (diff)
downloadports-3175f99138ea9b295c34e18b4060b2e5b85fe41c.tar.gz
ports-3175f99138ea9b295c34e18b4060b2e5b85fe41c.zip
Notes
-rw-r--r--security/nikto/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/nikto/Makefile b/security/nikto/Makefile
index 2c2fb72aaafe..0aaba9121221 100644
--- a/security/nikto/Makefile
+++ b/security/nikto/Makefile
@@ -9,6 +9,7 @@
PORTNAME= nikto
PORTVERSION= 1.36
+PORTREVISION= 1
CATEGORIES= security www
MASTER_SITES= http://www.cirt.net/${PORTNAME}/ \
http://www.mirrors.wiretapped.net/security/vulnerability-assessment/${PORTNAME}/ \
@@ -45,8 +46,8 @@ post-patch:
-e "s|# (PLUGINDIR=)/usr/local/nikto/plugins|\1${DATADIR}|g" \
${WRKSRC}/config.txt
@${REINPLACE_CMD} "s/config.txt/nikto.conf/g" ${WRKSRC}/plugins/* ${WRKSRC}/docs/*
- @${REINPLACE_CMD} -e 's:\$NIKTO{plugindir}/../docs/CHANGES.txt:\$NIKTO{plugindir}/../docs/nikto/CHANGES.txt:' \
- -e 's:\$NIKTO{plugindir}/../CHANGES.txt:\$NIKTO{plugindir}/../docs/nikto/CHANGES.txt:' \
+ @${REINPLACE_CMD} -e 's:\$NIKTO{plugindir}/../docs/CHANGES.txt:\$NIKTO{plugindir}/../doc/nikto/CHANGES.txt:' \
+ -e 's:\$NIKTO{plugindir}/../CHANGES.txt:\$NIKTO{plugindir}/../doc/nikto/CHANGES.txt:' \
${WRKSRC}/plugins/nikto_core.plugin
@${MV} ${WRKSRC}/docs/${PORTNAME}-${PORTVERSION}.man ${WRKSRC}/docs/${PORTNAME}.1