diff options
author | brooks <brooks@FreeBSD.org> | 2011-06-01 05:28:07 +0800 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2011-06-01 05:28:07 +0800 |
commit | 22ec559415c2499ca07d8af14d2925b7d11bd577 (patch) | |
tree | 0904309e2b94396869cd0789cfdb4db0b339d511 /sysutils | |
parent | 109bd4f97628f9a343023629d11598e80bda1c19 (diff) | |
download | freebsd-ports-gnome-22ec559415c2499ca07d8af14d2925b7d11bd577.tar.gz freebsd-ports-gnome-22ec559415c2499ca07d8af14d2925b7d11bd577.tar.zst freebsd-ports-gnome-22ec559415c2499ca07d8af14d2925b7d11bd577.zip |
Fix an utterly botched attempt to convert @unexec rmdir to @dirrmtry.
Reported by: erwin, pav
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/ganglia-webfrontend/Makefile | 4 | ||||
-rw-r--r-- | sysutils/ganglia-webfrontend/pkg-plist | 2 |
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 |