summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2012-02-25 19:33:24 +0000
committerThierry Thomas <thierry@FreeBSD.org>2012-02-25 19:33:24 +0000
commita89e5afdce9cd0d26f798f6dad16952afc87e2ed (patch)
treeece75ec21c235ba80f51f1a076de692a3f2c3551 /news
parent. Update to 3.2. This also fixes building with openjdk6. (diff)
Fix rc script.
Since I'm there, clean plist. PR: ports/164750 Submitted by: Joe Horn <joehorn (at) gmail.com> Approved by: maintainer time-out
Notes
Notes: svn path=/head/; revision=292236
Diffstat (limited to 'news')
-rw-r--r--news/inn/Makefile2
-rw-r--r--news/inn/Makefile.layout2
-rw-r--r--news/inn/pkg-plist4
3 files changed, 4 insertions, 4 deletions
diff --git a/news/inn/Makefile b/news/inn/Makefile
index 2d5f0f62105a..9e7ad675f1db 100644
--- a/news/inn/Makefile
+++ b/news/inn/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= inn
PORTVERSION?= 2.4.6
-PORTREVISION?= 2
+PORTREVISION?= 3
CATEGORIES= news ipv6
# Master distribution broken
#MASTER_SITES?= ${MASTER_SITE_ISC}
diff --git a/news/inn/Makefile.layout b/news/inn/Makefile.layout
index 93c7fa65bec5..1ad1f77469fb 100644
--- a/news/inn/Makefile.layout
+++ b/news/inn/Makefile.layout
@@ -54,7 +54,7 @@ INN_NEWSSPOOL?= ${PREFIX}/news/spool
.for sub in NEWSBASE ETCDIR RUNDIR LOGDIR DBDIR TMPDIR NEWSSPOOL
PLIST_SUB+= ${sub}="${INN_${sub}:C,^${PREFIX},%D,}"
-SUB_LIST+= ${sub}="${INN_${sub}:C,^${PREFIX},\\$\\${PREFIX},}"
+SUB_LIST+= ${sub}="${INN_${sub}:C,^${PREFIX},${PREFIX},}"
.endfor
PLIST_SUB+= CWDNEWSBASE="@cwd ${INN_NEWSBASE}"
diff --git a/news/inn/pkg-plist b/news/inn/pkg-plist
index b161b2608b02..95f56fbb9984 100644
--- a/news/inn/pkg-plist
+++ b/news/inn/pkg-plist
@@ -210,7 +210,7 @@ lib/libstorage.a
%%EXAMPLESDIR%%/sasl.conf
%%EXAMPLESDIR%%/storage.conf
%%EXAMPLESDIR%%/subscriptions
-@exec mkdir %%ETCDIR%%
+@exec mkdir -p %%ETCDIR%%
@exec for f in %%ETCFILES%%; do [ -f %%ETCDIR%%/${f} ] || cp -fp %D/%%EXAMPLESDIR%%/${f} %%ETCDIR%%/${f}; done
@comment --------------------------------------------------------------
@dirrm %%EXAMPLESDIR%%/db
@@ -231,7 +231,7 @@ lib/libstorage.a
@unexec rm -R %%NEWSBASE%%/include
@unexec rmdir %%ETCDIR%% 2>/dev/null || true
@unexec rm -Rf %%NEWSBASE%%/doc
-@unexec rmdir %%DBDIR%%
+@unexec rmdir %%DBDIR%% 2>/dev/null || true
@unexec rm -Rf %%NEWSBASE%%/bin/rnews.libexec
@unexec rm -Rf %%NEWSBASE%%/bin/filter
@unexec rm -Rf %%NEWSBASE%%/bin/control