summaryrefslogtreecommitdiffstats
path: root/net-mgmt/hawk
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2012-02-08 03:47:44 +0000
committerdougb <dougb@FreeBSD.org>2012-02-08 03:47:44 +0000
commit359e20d409ddecbfe6922811894c2e7a690e0d55 (patch)
tree29d5e205947bf4f5b41cee96674ab24f8df37c5c /net-mgmt/hawk
parenteb0823c747fd445b99ee4e951653273b8b7baddd (diff)
downloadFreeBSD-ports-359e20d409ddecbfe6922811894c2e7a690e0d55.zip
FreeBSD-ports-359e20d409ddecbfe6922811894c2e7a690e0d55.tar.gz
Use WWWDIR in the plist because it's already included in the
default PLIST_SUB.
Diffstat (limited to 'net-mgmt/hawk')
-rw-r--r--net-mgmt/hawk/Makefile1
-rw-r--r--net-mgmt/hawk/pkg-plist26
2 files changed, 13 insertions, 14 deletions
diff --git a/net-mgmt/hawk/Makefile b/net-mgmt/hawk/Makefile
index abe582c..39b970b 100644
--- a/net-mgmt/hawk/Makefile
+++ b/net-mgmt/hawk/Makefile
@@ -26,7 +26,6 @@ WANT_PHP_MOD= yes
USE_RC_SUBR= hawk
SUB_LIST= PERL=${PERL}
-PLIST_SUB+= WWWDIR_REL="${WWWDIR_REL}"
post-patch:
@${SED} -e 's#%%PREFIX%%#${PREFIX}#' \
diff --git a/net-mgmt/hawk/pkg-plist b/net-mgmt/hawk/pkg-plist
index 88558b2..6237ccc 100644
--- a/net-mgmt/hawk/pkg-plist
+++ b/net-mgmt/hawk/pkg-plist
@@ -1,20 +1,20 @@
etc/hawk/daemon.conf.sample
etc/hawk/php.conf.sample
sbin/hawk
-%%WWWDIR_REL%%/images/bluesphere.png
-%%WWWDIR_REL%%/images/favicon.ico
-%%WWWDIR_REL%%/images/greensphere.png
-%%WWWDIR_REL%%/images/hawk.jpg
-%%WWWDIR_REL%%/images/purplesphere.png
-%%WWWDIR_REL%%/images/questionsphere.png
-%%WWWDIR_REL%%/images/redsphere.png
-%%WWWDIR_REL%%/images/yellowsphere.png
-%%WWWDIR_REL%%/hawk.php
-%%WWWDIR_REL%%/hawk.css
+%%WWWDIR%%/images/bluesphere.png
+%%WWWDIR%%/images/favicon.ico
+%%WWWDIR%%/images/greensphere.png
+%%WWWDIR%%/images/hawk.jpg
+%%WWWDIR%%/images/purplesphere.png
+%%WWWDIR%%/images/questionsphere.png
+%%WWWDIR%%/images/redsphere.png
+%%WWWDIR%%/images/yellowsphere.png
+%%WWWDIR%%/hawk.php
+%%WWWDIR%%/hawk.css
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/create_hawk_db.sql
%%PORTDOCS%%%%DOCSDIR%%/create_hawk_user.sql
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrmtry %D/etc/hawk
-@dirrm %%WWWDIR_REL%%/images
-@dirrm %%WWWDIR_REL%%
+@dirrmtry etc/hawk
+@dirrm %%WWWDIR%%/images
+@dirrm %%WWWDIR%%
OpenPOWER on IntegriCloud