aboutsummaryrefslogtreecommitdiffstats
path: root/news/noffle
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-10-08 07:00:51 +0800
committerbapt <bapt@FreeBSD.org>2014-10-08 07:00:51 +0800
commitfdee533d24f64a2b10ed247204d9bf33be9f1a8c (patch)
tree30ac86c08b02291ced89e9f66443c5f82b0d7918 /news/noffle
parent6ffa97d9804c6f499f0e3b4edf51f02fd072b152 (diff)
downloadfreebsd-ports-gnome-fdee533d24f64a2b10ed247204d9bf33be9f1a8c.tar.gz
freebsd-ports-gnome-fdee533d24f64a2b10ed247204d9bf33be9f1a8c.tar.zst
freebsd-ports-gnome-fdee533d24f64a2b10ed247204d9bf33be9f1a8c.zip
Simplify plist
Diffstat (limited to 'news/noffle')
-rw-r--r--news/noffle/Makefile8
-rw-r--r--news/noffle/pkg-plist15
2 files changed, 13 insertions, 10 deletions
diff --git a/news/noffle/Makefile b/news/noffle/Makefile
index 19e1f3c4f839..723448c6afc9 100644
--- a/news/noffle/Makefile
+++ b/news/noffle/Makefile
@@ -3,7 +3,7 @@
PORTNAME= noffle
PORTVERSION= 1.1.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= news
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28devel%29/${PORTVERSION}
@@ -44,6 +44,12 @@ do-install:
${STAGEDIR}${PREFIX}/etc/noffle.conf.sample
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${SPOOL_DIR}/data \
+ ${STAGEDIR}${SPOOL_DIR}/lock \
+ ${STAGEDIR}${SPOOL_DIR}/outgoing \
+ ${STAGEDIR}${SPOOL_DIR}/overview \
+ ${STAGEDIR}${SPOOL_DIR}/requested
+
post-install:
${SED} -e "s:/usr/local:${PREFIX}:g" ${PKGMESSAGE}
diff --git a/news/noffle/pkg-plist b/news/noffle/pkg-plist
index 689bf4bb547c..88baea3a1932 100644
--- a/news/noffle/pkg-plist
+++ b/news/noffle/pkg-plist
@@ -9,12 +9,9 @@ man/man5/noffle.conf.5.gz
%%PORTDOCS%%%%DOCSDIR%%/noffle.lsm
%%PORTDOCS%%%%DOCSDIR%%/testing.txt
etc/noffle.conf.sample
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@cwd /
-@exec mkdir -p %%SPOOL_DIR%%
-@exec mkdir -p %%SPOOL_DIR%%/data
-@exec mkdir -p %%SPOOL_DIR%%/lock
-@exec mkdir -p %%SPOOL_DIR%%/outgoing
-@exec mkdir -p %%SPOOL_DIR%%/overview
-@exec mkdir -p %%SPOOL_DIR%%/requested
-@unexec rm -rf %%SPOOL_DIR%%
+@dir %%SPOOL_DIR%%/data
+@dir %%SPOOL_DIR%%/lock
+@dir %%SPOOL_DIR%%/outgoing
+@dir %%SPOOL_DIR%%/overview
+@dir %%SPOOL_DIR%%/requested
+@dir %%SPOOL_DIR%%