aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-02 03:55:35 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-02 03:55:35 +0800
commit1c3cdaea0d10595a1783305092c6c53dc5c8d0bb (patch)
tree45880255f470cd6814e9423f9aa688bcdcba0d0e /www
parent178311f6b620c1062776082f353590cbd70b15e9 (diff)
downloadfreebsd-ports-gnome-1c3cdaea0d10595a1783305092c6c53dc5c8d0bb.tar.gz
freebsd-ports-gnome-1c3cdaea0d10595a1783305092c6c53dc5c8d0bb.tar.zst
freebsd-ports-gnome-1c3cdaea0d10595a1783305092c6c53dc5c8d0bb.zip
- Add NO_ARCH
- Remove /www from deinstallation, fixing stage-qa
Diffstat (limited to 'www')
-rw-r--r--www/twiki/bsd.twiki.mk1
-rw-r--r--www/twiki/files/pkg-deinstall.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/www/twiki/bsd.twiki.mk b/www/twiki/bsd.twiki.mk
index aa4d931ea1d6..5ef629745b14 100644
--- a/www/twiki/bsd.twiki.mk
+++ b/www/twiki/bsd.twiki.mk
@@ -20,6 +20,7 @@ MASTER_SITES?= http://www.sourcehosting.net/freebsd/distfiles/ \
CATEGORIES?= www
SVNURL?= http://svn.twiki.org/svn/twiki/trunk/${PNAME}
NO_BUILD= yes
+NO_ARCH= yes
TWDIR?= ${PREFIX}/share/twiki/${PNAME}
WWWDIR?= ${PREFIX}/www/twiki
PLIST_SUB+= TWDIR="share/twiki/${PNAME}"
diff --git a/www/twiki/files/pkg-deinstall.in b/www/twiki/files/pkg-deinstall.in
index df09816fc166..7422d743c9a2 100644
--- a/www/twiki/files/pkg-deinstall.in
+++ b/www/twiki/files/pkg-deinstall.in
@@ -24,6 +24,7 @@ case $2 in
rmdir ${WWWDIR}/$dir/ 2>/dev/null || true
done
rmdir ${WWWDIR}/ 2>/dev/null || true
+ rmdir %%PREFIX%%/www 2>/dev/null || true
;;
POST-DEINSTALL)
;;