From fdee533d24f64a2b10ed247204d9bf33be9f1a8c Mon Sep 17 00:00:00 2001 From: bapt Date: Tue, 7 Oct 2014 23:00:51 +0000 Subject: Simplify plist --- news/noffle/Makefile | 8 +++++++- news/noffle/pkg-plist | 15 ++++++--------- 2 files changed, 13 insertions(+), 10 deletions(-) (limited to 'news/noffle') 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%% -- cgit