aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ganglia-webfrontend
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2011-05-31 21:28:07 +0000
committerBrooks Davis <brooks@FreeBSD.org>2011-05-31 21:28:07 +0000
commitdb814b56fbe0c2559955d7f602ea9f6cb2e32b11 (patch)
tree9f4c48b0f864fe34597c5778ae3ee77415003921 /sysutils/ganglia-webfrontend
parentc93b803b400c72de08c337631f1c907f12a9af9c (diff)
downloadports-db814b56fbe0c2559955d7f602ea9f6cb2e32b11.tar.gz
ports-db814b56fbe0c2559955d7f602ea9f6cb2e32b11.zip
Fix an utterly botched attempt to convert @unexec rmdir to @dirrmtry.
Reported by: erwin, pav
Notes
Notes: svn path=/head/; revision=274900
Diffstat (limited to 'sysutils/ganglia-webfrontend')
-rw-r--r--sysutils/ganglia-webfrontend/Makefile4
-rw-r--r--sysutils/ganglia-webfrontend/pkg-plist2
2 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/ganglia-webfrontend/Makefile b/sysutils/ganglia-webfrontend/Makefile
index bd2afc5f6afe..92f4536248f1 100644
--- a/sysutils/ganglia-webfrontend/Makefile
+++ b/sysutils/ganglia-webfrontend/Makefile
@@ -7,7 +7,7 @@
PORTNAME= webfrontend
PORTVERSION= 3.1.7
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils net parallel www
MASTER_SITES= SF/ganglia/ganglia%20monitoring%20core/${PORTVERSION}
PKGNAMEPREFIX= ganglia-
@@ -99,7 +99,7 @@ build-plist:
@${FIND} ${TMP_WEBFRONTDIR}/* -type d | \
${SED} -e 's|${TMP_WEBFRONTDIR}|@dirrm %%WEBFRONTDIR%%|' | \
${SORT} -r >> ${PLIST}
- @${ECHO_CMD} '@dirrmtry ${RMDIR} %D/%%WEBFRONTDIR%%' >> ${PLIST}
+ @${ECHO_CMD} '@dirrmtry %%WEBFRONTDIR%%' >> ${PLIST}
@${ECHO_CMD} '@unexec (test -d %D/%%WEBFRONTDIR%% && (echo "Configuration information saved. If you will *NOT* use this package anymore," && echo "please remove %D/%%WEBFRONTDIR%% and its contents manually.")) || true' >> ${PLIST}
.include <bsd.port.mk>
diff --git a/sysutils/ganglia-webfrontend/pkg-plist b/sysutils/ganglia-webfrontend/pkg-plist
index 6c469c447cb2..1a16581673f0 100644
--- a/sysutils/ganglia-webfrontend/pkg-plist
+++ b/sysutils/ganglia-webfrontend/pkg-plist
@@ -65,5 +65,5 @@
@dirrm %%WEBFRONTDIR%%/templates/default
@dirrm %%WEBFRONTDIR%%/templates
@dirrm %%WEBFRONTDIR%%/graph.d
-@dirrmtry rmdir %D/%%WEBFRONTDIR%%
+@dirrmtry %%WEBFRONTDIR%%
@unexec (test -d %D/%%WEBFRONTDIR%% && (echo "Configuration information saved. If you will *NOT* use this package anymore," && echo "please remove %D/%%WEBFRONTDIR%% and its contents manually.")) || true