Simplify plist
This commit is contained in:
parent
377193af8e
commit
eac0e6eea8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370406
@ -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}
|
||||
|
@ -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%%
|
||||
|
Loading…
Reference in New Issue
Block a user