summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-07-08 15:57:05 +0000
committertijl <tijl@FreeBSD.org>2014-07-08 15:57:05 +0000
commit444c9686e2fe364e38fa90d8ddfb474dac428ff9 (patch)
treeec36117c5322a476cfcf80df668a15b1556e6692
parente27f9eebd2905056e19a39df2a0e2849141b95a3 (diff)
downloadFreeBSD-ports-444c9686e2fe364e38fa90d8ddfb474dac428ff9.zip
FreeBSD-ports-444c9686e2fe364e38fa90d8ddfb474dac428ff9.tar.gz
- Move post-install message to pkg-message
- Allow installation as non-root
-rw-r--r--security/nessus-plugins/Makefile13
-rw-r--r--security/nessus-plugins/pkg-message3
2 files changed, 7 insertions, 9 deletions
diff --git a/security/nessus-plugins/Makefile b/security/nessus-plugins/Makefile
index 49f2c52..418211d 100644
--- a/security/nessus-plugins/Makefile
+++ b/security/nessus-plugins/Makefile
@@ -3,7 +3,7 @@
PORTNAME= nessus-plugins
PORTVERSION= 2.2.9
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= ftp://ftp.nessus.org/pub/nessus/nessus-${PORTVERSION}/src/ \
ftp://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${PORTVERSION}/src/ \
@@ -26,12 +26,7 @@ WRKSRC= ${WRKDIR}/nessus-plugins
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fetchcmd=wget
-.include <bsd.port.pre.mk>
+post-patch:
+ @${REINPLACE_CMD} 's/-o $$(installuser)//' ${WRKSRC}/Makefile
-post-install:
- @${ECHO} "================================================================================"
- @${ECHO} "Use ${PREFIX}/sbin/nessus-update-plugins to update your plugin"
- @${ECHO} "collection."
- @${ECHO} "================================================================================"
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/security/nessus-plugins/pkg-message b/security/nessus-plugins/pkg-message
new file mode 100644
index 0000000..b32ce98
--- /dev/null
+++ b/security/nessus-plugins/pkg-message
@@ -0,0 +1,3 @@
+=============================================================================
+Run nessus-update-plugins to update your plugin collection.
+=============================================================================
OpenPOWER on IntegriCloud