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 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