aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/ipplan
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-08-29 01:06:20 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-08-29 01:06:20 +0800
commit08d24d3fd00a020a132f552d5cced413123e1772 (patch)
tree4f38b479724f581214ec2127447659a5485bd274 /net-mgmt/ipplan
parent33637235d9b7061cb2e962f6c7bed6fcec6b4be0 (diff)
downloadfreebsd-ports-gnome-08d24d3fd00a020a132f552d5cced413123e1772.tar.gz
freebsd-ports-gnome-08d24d3fd00a020a132f552d5cced413123e1772.tar.zst
freebsd-ports-gnome-08d24d3fd00a020a132f552d5cced413123e1772.zip
- Switch to @sample
- Add NO_ARCH
Diffstat (limited to 'net-mgmt/ipplan')
-rw-r--r--net-mgmt/ipplan/Makefile1
-rw-r--r--net-mgmt/ipplan/pkg-plist3
2 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/ipplan/Makefile b/net-mgmt/ipplan/Makefile
index f735a0318b5f..a098582a7d5f 100644
--- a/net-mgmt/ipplan/Makefile
+++ b/net-mgmt/ipplan/Makefile
@@ -18,6 +18,7 @@ USE_PHP= gettext pcre xml zlib
SHEBANG_FILES= ${WRKSRC}/contrib/process-exports.pl ${WRKSRC}/contrib/ipplan-poller.php
NO_BUILD= yes
+NO_ARCH= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
CONFIG= config.php
SUB_FILES= pkg-message
diff --git a/net-mgmt/ipplan/pkg-plist b/net-mgmt/ipplan/pkg-plist
index 3ef918a3ffa8..ed9cf3c8562f 100644
--- a/net-mgmt/ipplan/pkg-plist
+++ b/net-mgmt/ipplan/pkg-plist
@@ -353,7 +353,7 @@
%%WWWDIR%%/contrib/bind9_zone.xsl
%%WWWDIR%%/contrib/bind9_zone.dtd
%%WWWDIR%%/contrib/bind9_revzone.xsl
-%%WWWDIR%%/config.php.sample
+@sample %%WWWDIR%%/config.php.sample
%%WWWDIR%%/class.xptlib.php
%%WWWDIR%%/class.templib.php
%%WWWDIR%%/class.smtp.php
@@ -557,7 +557,6 @@
%%WWWDIR%%/INSTALL
%%WWWDIR%%/CONTRIBUTORS
%%WWWDIR%%/CHANGELOG
-@unexec cmp -s %D/%%WWWDIR%%/config.php.sample %D/%%WWWDIR%%/config.php && rm -f %D/%%WWWDIR%%/config.php || true
@dir /var/spool/ipplan/dhcpexport
@dir /var/spool/ipplan/exportdns
@dir /var/spool/ipplan/uploads