diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2007-10-22 08:47:45 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2007-10-22 08:47:45 +0000 |
commit | 3175f99138ea9b295c34e18b4060b2e5b85fe41c (patch) | |
tree | f60334417261ea7baeb38fdece3ca137aeae3ba3 | |
parent | lang/gdc: link error fixed (diff) |
Fix install path of CHANGES.txt when using nikto -update and bump PORTREVISION.
PR: ports/117379
Submitted by: Naram Qashat
Notes
Notes:
svn path=/head/; revision=201754
-rw-r--r-- | security/nikto/Makefile | 5 |
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 |