aboutsummaryrefslogtreecommitdiffstats
path: root/news/leafnode
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2003-11-01 22:16:33 +0800
committersergei <sergei@FreeBSD.org>2003-11-01 22:16:33 +0800
commit07f38d92985b116d0203ad05fb16decef4c4b21e (patch)
treea04a70121635aa0644b2e1a1562d75560d5e8bb6 /news/leafnode
parentbc3ab7a4c80d1f312a7d726093de28ea722dee7b (diff)
downloadfreebsd-ports-gnome-07f38d92985b116d0203ad05fb16decef4c4b21e.tar.gz
freebsd-ports-gnome-07f38d92985b116d0203ad05fb16decef4c4b21e.tar.zst
freebsd-ports-gnome-07f38d92985b116d0203ad05fb16decef4c4b21e.zip
Maintainer update [1]:
- Update to 1.9.45, lots of bugfixes, too many to list here, see http://mandree.home.pages.de/leafnode/NEWS - Install German manual pages into standard location so that man(1) can find them. (MANLANG and all that, along the lines used in security/nmap) - Fix up NOPORTDOCS mode so it actually works - Fix pkg-message to not contain the same text twice While I'm here [2]: - simplify/shorten post-install target a bit by using few new variables and unrolling loops - rename ${PREFIX}/share/doc/leafnode/doc_german to just .../german. I think extra "doc_" there is unnecessary - s/ECHO/ECHO_MSG/ - whitespace changes to shorten line lengths in Makefile PR: 58799 [1] Submitted by: maintainer [1], sergei [2] Approved by: maintainer [2]
Diffstat (limited to 'news/leafnode')
-rw-r--r--news/leafnode/Makefile60
-rw-r--r--news/leafnode/distinfo2
-rw-r--r--news/leafnode/files/pkg-message.in5
-rw-r--r--news/leafnode/pkg-plist57
4 files changed, 59 insertions, 65 deletions
diff --git a/news/leafnode/Makefile b/news/leafnode/Makefile
index afdf6de199ae..05499f88b3dd 100644
--- a/news/leafnode/Makefile
+++ b/news/leafnode/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= leafnode
-PORTVERSION= 1.9.43
+PORTVERSION= 1.9.45
CATEGORIES= news ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:sourceforge/} \
http://www.dt.e-technik.uni-dortmund.de/~ma/${PORTNAME}/ \
@@ -35,40 +35,44 @@ CONFIGURE_ARGS= --prefix=${PREFIX} --sysconfdir=${PREFIX}/etc/leafnode \
--with-spooldir=${LEAFNODE_SPOOLDIR} --with-ipv6
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ARGS=
+PKGMESSAGE= ${WRKSRC}/pkg-message
+
MAN1= leafnode-version.1 newsq.1
MAN8= applyfilter.8 checkgroups.8 fetchnews.8 leafnode.8 texpire.8
-PKGMESSAGE= ${WRKSRC}/pkg-message
+MANLANG= "" de.ISO8859-1
+MAN1DIR_DE= ${MAN1PREFIX}/man/de.ISO8859-1/man1
+MAN8DIR_DE= ${MAN8PREFIX}/man/de.ISO8859-1/man8
+
+DOCS= ADD-ONS ChangeLog COPYING CREDITS FAQ.txt FAQ.pdf FAQ.html \
+ INSTALL NEWS README ChangeLog.old README-FQDN README-FQDN.html \
+ README-daemontools README.FIRST TODO leafnode.cron.daily \
+ leafnode-SA-2002-01 leafnode-SA-2003-01 KNOWNBUGS
+DOCS_DE= INSTALL_de LIESMICH-daemontools README README_de
pre-configure:
- @${ECHO}
- @${ECHO} "------------------------------------------------------------------------"
- @${ECHO} "This port will use ${LEAFNODE_SPOOLDIR} as spool directory."
- @${ECHO} "Use LEAFNODE_SPOOLDIR=d to specify d as spool directory."
- @${ECHO} "------------------------------------------------------------------------"
- @${ECHO}
+ @${ECHO_MSG}
+ @${ECHO_MSG} "------------------------------------------------------------------------"
+ @${ECHO_MSG} "This port will use ${LEAFNODE_SPOOLDIR} as spool directory."
+ @${ECHO_MSG} "Use LEAFNODE_SPOOLDIR=d to specify d as spool directory."
+ @${ECHO_MSG} "------------------------------------------------------------------------"
+ @${ECHO_MSG}
post-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/quickmkdir ${PREFIX}/sbin/
- ${INSTALL_SCRIPT} ${WRKSRC}/setup-daemontools.sh ${PREFIX}/sbin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/quickmkdir ${PREFIX}/sbin/
+ ${INSTALL_SCRIPT} ${WRKSRC}/setup-daemontools.sh ${PREFIX}/sbin/
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- for i in ChangeLog COPYING CREDITS FAQ.txt FAQ.pdf FAQ.html \
- INSTALL NEWS README ChangeLog.old \
- README-FQDN README-FQDN.html README-daemontools \
- README.FIRST TODO leafnode.cron.daily \
- leafnode-SA-2002-01 leafnode-SA-2003-01 \
- KNOWNBUGS ; do \
- ${INSTALL_MAN} ${WRKSRC}/$$i ${DOCSDIR} ; \
- done
- ${MKDIR} ${DOCSDIR}/doc_german
- for i in INSTALL_de LIESMICH-daemontools README \
- README_de newsq.1 ${MAN8} ; do \
- ${INSTALL_MAN} ${WRKSRC}/doc_german/$$i \
- ${DOCSDIR}/doc_german ; done
+ ${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+ ${MKDIR} ${DOCSDIR}/german
+ cd ${WRKSRC}/doc_german && ${INSTALL_DATA} ${DOCS_DE} ${DOCSDIR}/german
.endif
- @${SED} 's:%%DOCSDIR%%:${DOCSDIR}:g' ${FILESDIR}/pkg-message.in >${PKGMESSAGE}
- ${CAT} ${PKGMESSAGE}
- PKG_PREFIX=${PREFIX} SPOOLDIR=${LEAFNODE_SPOOLDIR} \
- ${SH} pkg-install ${PORTNAME} POST-INSTALL
+ ${MKDIR} ${MAN1DIR_DE} ${MAN8DIR_DE}
+ cd ${WRKSRC}/doc_german && \
+ ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/de.ISO8859-1/man1 && \
+ ${INSTALL_MAN} ${MAN8} ${MAN8PREFIX}/man/de.ISO8859-1/man8
+ @${SED} 's:%%DOCSDIR%%:${DOCSDIR}:g' ${FILESDIR}/pkg-message.in >${PKGMESSAGE}
+ PKG_PREFIX=${PREFIX} SPOOLDIR=${LEAFNODE_SPOOLDIR} \
+ ${SH} pkg-install ${PORTNAME} POST-INSTALL
+ ${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/news/leafnode/distinfo b/news/leafnode/distinfo
index 41ede43f6110..626382c0a2e0 100644
--- a/news/leafnode/distinfo
+++ b/news/leafnode/distinfo
@@ -1 +1 @@
-MD5 (leafnode-1.9.43.rel.tar.bz2) = 4e1182cfeba69dfd182d21f51edad77e
+MD5 (leafnode-1.9.45.rel.tar.bz2) = 0ceb752534cfcb0273ecb5b311f66a76
diff --git a/news/leafnode/files/pkg-message.in b/news/leafnode/files/pkg-message.in
index d56a00dd0295..75fbe886ee35 100644
--- a/news/leafnode/files/pkg-message.in
+++ b/news/leafnode/files/pkg-message.in
@@ -3,8 +3,3 @@ To finalize the leafnode install, proceed as follows:
1. read %%DOCSDIR%%/INSTALL, starting at item #5.
2. read %%DOCSDIR%%/NEWS, mind the incompatible changes!
3. read %%DOCSDIR%%/README, mind the incompatible changes!
-To finalize the leafnode install, proceed as follows:
-
-1. read %%DOCSDIR%%/INSTALL, starting at item #5.
-2. read %%DOCSDIR%%/NEWS, mind the incompatible changes!
-3. read %%DOCSDIR%%/README, mind the incompatible changes!
diff --git a/news/leafnode/pkg-plist b/news/leafnode/pkg-plist
index 273b8ebe6e27..3bec6607cc82 100644
--- a/news/leafnode/pkg-plist
+++ b/news/leafnode/pkg-plist
@@ -15,37 +15,32 @@ sbin/checkgroups
sbin/applyfilter
sbin/setup-daemontools.sh
sbin/quickmkdir
-%%DOCSDIR%%/ChangeLog
-%%DOCSDIR%%/ChangeLog.old
-%%DOCSDIR%%/COPYING
-%%DOCSDIR%%/CREDITS
-%%DOCSDIR%%/FAQ.txt
-%%DOCSDIR%%/FAQ.html
-%%DOCSDIR%%/FAQ.pdf
-%%DOCSDIR%%/INSTALL
-%%DOCSDIR%%/KNOWNBUGS
-%%DOCSDIR%%/NEWS
-%%DOCSDIR%%/README
-%%DOCSDIR%%/README-FQDN
-%%DOCSDIR%%/README-FQDN.html
-%%DOCSDIR%%/README-daemontools
-%%DOCSDIR%%/README.FIRST
-%%DOCSDIR%%/TODO
-%%DOCSDIR%%/leafnode-SA-2002-01
-%%DOCSDIR%%/leafnode-SA-2003-01
-%%DOCSDIR%%/leafnode.cron.daily
-%%DOCSDIR%%/doc_german/INSTALL_de
-%%DOCSDIR%%/doc_german/LIESMICH-daemontools
-%%DOCSDIR%%/doc_german/README
-%%DOCSDIR%%/doc_german/README_de
-%%DOCSDIR%%/doc_german/newsq.1
-%%DOCSDIR%%/doc_german/applyfilter.8
-%%DOCSDIR%%/doc_german/checkgroups.8
-%%DOCSDIR%%/doc_german/fetchnews.8
-%%DOCSDIR%%/doc_german/leafnode.8
-%%DOCSDIR%%/doc_german/texpire.8
-@dirrm %%DOCSDIR%%/doc_german
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%%%DOCSDIR%%/ADD-ONS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.old
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/CREDITS
+%%PORTDOCS%%%%DOCSDIR%%/FAQ.txt
+%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
+%%PORTDOCS%%%%DOCSDIR%%/FAQ.pdf
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/KNOWNBUGS
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README-FQDN
+%%PORTDOCS%%%%DOCSDIR%%/README-FQDN.html
+%%PORTDOCS%%%%DOCSDIR%%/README-daemontools
+%%PORTDOCS%%%%DOCSDIR%%/README.FIRST
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/leafnode-SA-2002-01
+%%PORTDOCS%%%%DOCSDIR%%/leafnode-SA-2003-01
+%%PORTDOCS%%%%DOCSDIR%%/leafnode.cron.daily
+%%PORTDOCS%%%%DOCSDIR%%/german/INSTALL_de
+%%PORTDOCS%%%%DOCSDIR%%/german/LIESMICH-daemontools
+%%PORTDOCS%%%%DOCSDIR%%/german/README
+%%PORTDOCS%%%%DOCSDIR%%/german/README_de
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/german
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@comment only remove these when empty:
@comment we don't want to kill the news spool across updates
@unexec rm -f %%SPOOLDIR%%/leaf.node/lock.file