summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2000-09-24 12:43:39 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2000-09-24 12:43:39 +0000
commited91215abe1d7c51ddb16caadee2be6a8cb0f00b (patch)
tree403788ffd94472d919476f8192a51c30a58723c8
parentUpgrade to 2.3.0. (diff)
Fix portlint warnings.
Notes
Notes: svn path=/head/; revision=33067
-rw-r--r--news/inn-current/Makefile17
-rw-r--r--news/inn/Makefile17
2 files changed, 16 insertions, 18 deletions
diff --git a/news/inn-current/Makefile b/news/inn-current/Makefile
index 30294eefb6fa..4e6dee785ad4 100644
--- a/news/inn-current/Makefile
+++ b/news/inn-current/Makefile
@@ -58,28 +58,27 @@ MAN8= actsync.8 actsyncd.8 archive.8 batcher.8 buffchan.8 cnfsheadconf.8 \
ovdb_upgrade.8 overchan.8 pgpverify.8 prunehistory.8 pullnews.8 \
scanlogs.8 send-uucp.8 sm.8 tally.control.8 writelog.8
-EXTRA= ${WRKSRC}/HISTORY ${WRKSRC}/INSTALL ${WRKSRC}/LICENSE
+EXTRA= ${WRKSRC}/HISTORY ${WRKSRC}/INSTALL ${WRKSRC}/LICENSE
pre-install:
${MKDIR} ${INN_NEWSSPOOL}
post-install:
@(if [ ! -f ${PREFIX}/news/db/history ] ; then \
- echo 'Creating empty history database...' ; \
+ ${ECHO} 'Creating empty history database...' ; \
cd ${PREFIX}/news/db ; \
- touch history ; \
- chmod 644 history ; \
- chown news:news history ; \
+ ${TOUCH} history ; \
+ ${CHMOD} 644 history ; \
+ ${CHOWN} news:news history ; \
../bin/makedbz -i ; \
for s in dir hash index ; do \
- install -o news -g news -m 644 history.n.$${s} history.$${s} ; \
+ ${INSTALL} -o news -m 644 history.n.$${s} history.$${s} ; \
done ; \
fi)
@${SED} <${FILESDIR}/innd.sh >${PREFIX}/etc/rc.d/innd.sh \
- s+!!PREFIX!!+${PREFIX}+g && chmod +x ${PREFIX}/etc/rc.d/innd.sh
- @${MKDIR} -p ${PREFIX}/share/doc/inn
+ s+!!PREFIX!!+${PREFIX}+g && ${CHMOD} +x ${PREFIX}/etc/rc.d/innd.sh
+ @${MKDIR} ${PREFIX}/share/doc/inn
@${INSTALL_DATA} ${EXTRA} ${PREFIX}/share/doc/inn
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>
-
diff --git a/news/inn/Makefile b/news/inn/Makefile
index 30294eefb6fa..4e6dee785ad4 100644
--- a/news/inn/Makefile
+++ b/news/inn/Makefile
@@ -58,28 +58,27 @@ MAN8= actsync.8 actsyncd.8 archive.8 batcher.8 buffchan.8 cnfsheadconf.8 \
ovdb_upgrade.8 overchan.8 pgpverify.8 prunehistory.8 pullnews.8 \
scanlogs.8 send-uucp.8 sm.8 tally.control.8 writelog.8
-EXTRA= ${WRKSRC}/HISTORY ${WRKSRC}/INSTALL ${WRKSRC}/LICENSE
+EXTRA= ${WRKSRC}/HISTORY ${WRKSRC}/INSTALL ${WRKSRC}/LICENSE
pre-install:
${MKDIR} ${INN_NEWSSPOOL}
post-install:
@(if [ ! -f ${PREFIX}/news/db/history ] ; then \
- echo 'Creating empty history database...' ; \
+ ${ECHO} 'Creating empty history database...' ; \
cd ${PREFIX}/news/db ; \
- touch history ; \
- chmod 644 history ; \
- chown news:news history ; \
+ ${TOUCH} history ; \
+ ${CHMOD} 644 history ; \
+ ${CHOWN} news:news history ; \
../bin/makedbz -i ; \
for s in dir hash index ; do \
- install -o news -g news -m 644 history.n.$${s} history.$${s} ; \
+ ${INSTALL} -o news -m 644 history.n.$${s} history.$${s} ; \
done ; \
fi)
@${SED} <${FILESDIR}/innd.sh >${PREFIX}/etc/rc.d/innd.sh \
- s+!!PREFIX!!+${PREFIX}+g && chmod +x ${PREFIX}/etc/rc.d/innd.sh
- @${MKDIR} -p ${PREFIX}/share/doc/inn
+ s+!!PREFIX!!+${PREFIX}+g && ${CHMOD} +x ${PREFIX}/etc/rc.d/innd.sh
+ @${MKDIR} ${PREFIX}/share/doc/inn
@${INSTALL_DATA} ${EXTRA} ${PREFIX}/share/doc/inn
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>
-