aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2015-12-31 23:29:22 +0800
committerfeld <feld@FreeBSD.org>2015-12-31 23:29:22 +0800
commit0fdcb50ed126960b8980d0ec311889d4ee23e560 (patch)
treea28593a95119a0e04f37ebbf3b051db8476769c7 /net-mgmt
parent28a95107620e05c0b37830d99bd1e4983f675416 (diff)
downloadfreebsd-ports-gnome-0fdcb50ed126960b8980d0ec311889d4ee23e560.tar.gz
freebsd-ports-gnome-0fdcb50ed126960b8980d0ec311889d4ee23e560.tar.zst
freebsd-ports-gnome-0fdcb50ed126960b8980d0ec311889d4ee23e560.zip
net-mgmt/nfsen: port cleanup
- Add NO_ARCH - Sort plist - Switch to @sample - Drop @dirrms from plist, switch to @dir where needed This is a no-op update to the port. PR: 205572
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nfsen/Makefile3
-rw-r--r--net-mgmt/nfsen/pkg-plist75
2 files changed, 35 insertions, 43 deletions
diff --git a/net-mgmt/nfsen/Makefile b/net-mgmt/nfsen/Makefile
index 60dca98e06a2..72e2b395cae4 100644
--- a/net-mgmt/nfsen/Makefile
+++ b/net-mgmt/nfsen/Makefile
@@ -19,11 +19,12 @@ RUN_DEPENDS= rrdtool>=0:${PORTSDIR}/databases/rrdtool \
p5-Socket6>=0:${PORTSDIR}/net/p5-Socket6 \
nfdump>=0:${PORTSDIR}/net-mgmt/nfdump
-USES= cpe iconv shebangfix perl5
+USES= cpe iconv shebangfix perl5
CPE_VENDOR= nfsen
CPE_PRODUCT= nfsen
USE_PHP= session pcre sockets
NO_BUILD= yes
+NO_ARCH= yes
PLIST_SUB+= PORTNAME=${PORTNAME}
USE_RC_SUBR= nfsen
perl_OLD_CMD= %%PERL%%
diff --git a/net-mgmt/nfsen/pkg-plist b/net-mgmt/nfsen/pkg-plist
index e8bd6e62b435..080cb036fbfc 100644
--- a/net-mgmt/nfsen/pkg-plist
+++ b/net-mgmt/nfsen/pkg-plist
@@ -1,3 +1,26 @@
+bin/testPlugin
+bin/nfsend
+bin/nfsen
+bin/RebuildHierarchy.pl
+@sample etc/nfsen-dist.conf etc/nfsen.conf
+libexec/%%PORTNAME%%/plugins/smily.jpg
+libexec/%%PORTNAME%%/plugins/demoplugin.pm
+libexec/%%PORTNAME%%/RRDconvertv1.pm
+libexec/%%PORTNAME%%/Notification.pm
+libexec/%%PORTNAME%%/Nfsync.pm
+libexec/%%PORTNAME%%/Nfsources.pm
+libexec/%%PORTNAME%%/Nfcomm.pm
+libexec/%%PORTNAME%%/NfSenSim.pm
+libexec/%%PORTNAME%%/NfSenRRD.pm
+libexec/%%PORTNAME%%/NfSenRC.pm
+libexec/%%PORTNAME%%/NfSen.pm
+libexec/%%PORTNAME%%/NfProfile.pm
+libexec/%%PORTNAME%%/NfConf.pm
+libexec/%%PORTNAME%%/NfAlert.pm
+libexec/%%PORTNAME%%/Lookup.pm
+libexec/%%PORTNAME%%/Log.pm
+libexec/%%PORTNAME%%/CopyRecursive.pm
+libexec/%%PORTNAME%%/AbuseWhois.pm
%%WWWDIR%%/rrdgraph.php
%%WWWDIR%%/profileadmin.php
%%WWWDIR%%/process.php
@@ -51,45 +74,13 @@
%%WWWDIR%%/colour_picker.html
%%WWWDIR%%/colour_palette.html
%%WWWDIR%%/alerting.php
-libexec/%%PORTNAME%%/plugins/smily.jpg
-libexec/%%PORTNAME%%/plugins/demoplugin.pm
-libexec/%%PORTNAME%%/RRDconvertv1.pm
-libexec/%%PORTNAME%%/Notification.pm
-libexec/%%PORTNAME%%/Nfsync.pm
-libexec/%%PORTNAME%%/Nfsources.pm
-libexec/%%PORTNAME%%/Nfcomm.pm
-libexec/%%PORTNAME%%/NfSenSim.pm
-libexec/%%PORTNAME%%/NfSenRRD.pm
-libexec/%%PORTNAME%%/NfSenRC.pm
-libexec/%%PORTNAME%%/NfSen.pm
-libexec/%%PORTNAME%%/NfProfile.pm
-libexec/%%PORTNAME%%/NfConf.pm
-libexec/%%PORTNAME%%/NfAlert.pm
-libexec/%%PORTNAME%%/Lookup.pm
-libexec/%%PORTNAME%%/Log.pm
-libexec/%%PORTNAME%%/CopyRecursive.pm
-libexec/%%PORTNAME%%/AbuseWhois.pm
-etc/nfsen-dist.conf
-bin/testPlugin
-bin/nfsend
-bin/nfsen
-bin/RebuildHierarchy.pl
-@unexec if cmp -s %D/etc/nfsen.conf %D/etc/nfsen-dist.conf; then rm -f %D/etc/nfsen.conf; fi
-@exec [ -f %D/etc/nfsen.conf ] || cp %D/etc/nfsen-dist.conf %D/etc/nfsen.conf
-@dirrmtry var/%%PORTNAME%%/run
-@dirrmtry var/%%PORTNAME%%/profiles-stat/live
-@dirrmtry var/%%PORTNAME%%/profiles-stat
-@dirrmtry var/%%PORTNAME%%/profiles-data/live
-@dirrmtry var/%%PORTNAME%%/profiles-data
-@dirrmtry var/%%PORTNAME%%/profiles/live
-@dirrmtry var/%%PORTNAME%%/profiles
-@dirrmtry var/%%PORTNAME%%/filters
-@dirrmtry var/%%PORTNAME%%
-@dirrmtry var
-@dirrmtry %%WWWDIR%%/plugins
-@dirrm %%WWWDIR%%/js
-@dirrm %%WWWDIR%%/icons
-@dirrm %%WWWDIR%%/css
-@dirrmtry %%WWWDIR%%
-@dirrmtry libexec/%%PORTNAME%%/plugins
-@dirrmtry libexec/%%PORTNAME%%
+@dir var/%%PORTNAME%%/run
+@dir var/%%PORTNAME%%/profiles-stat/live
+@dir var/%%PORTNAME%%/profiles-stat
+@dir var/%%PORTNAME%%/profiles-data/live
+@dir var/%%PORTNAME%%/profiles-data
+@dir var/%%PORTNAME%%/profiles/live
+@dir var/%%PORTNAME%%/profiles
+@dir var/%%PORTNAME%%/filters
+@dir var/%%PORTNAME%%
+@dir var