NEWS entries (the last entry doesn't affect OpenBSD): ### BUGFIXES - The configfile parser now strips whitespace between a configuration parameter's value and a trailing comment. Found by Cecil Westerhof. - The roff manual page sources now render proper hyphens (-), minus characters (\-) and en-dashes (\[en]) depending on their context. This is so that copying-and-pasting from the manual page works properly. - The code that checks if the peer is local now properly deals with IPv4 mapped IPv6 addresses.
36 lines
912 B
Makefile
36 lines
912 B
Makefile
# $OpenBSD: Makefile,v 1.60 2015/10/02 11:55:05 jca Exp $
|
|
|
|
COMMENT= USENET software package designed for small sites
|
|
|
|
DISTNAME= leafnode-1.11.11
|
|
CATEGORIES= news
|
|
|
|
HOMEPAGE= http://leafnode.sourceforge.net/
|
|
|
|
# MIT/BSD like
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB= c pcre
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=leafnode/}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
LIB_DEPENDS= devel/pcre
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= --with-lockfile=/var/spool/news/fetchnews.lck
|
|
CONFIGURE_ARGS+= --with-user=_news
|
|
|
|
DOCS= README README-FQDN INSTALL FAQ.txt NEWS OLDNEWS
|
|
|
|
post-install:
|
|
$(INSTALL_DATA_DIR) ${PREFIX}/share/doc/leafnode
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/leafnode
|
|
cd ${WRKSRC} && $(INSTALL_DATA) ${DOCS} \
|
|
${PREFIX}/share/doc/leafnode
|
|
${INSTALL_DATA} ${WRKINST}/${SYSCONFDIR}/leafnode/* \
|
|
${PREFIX}/share/examples/leafnode/
|
|
|
|
.include <bsd.port.mk>
|
|
CONFIGURE_ARGS+= --sysconfdir=${SYSCONFDIR}/leafnode
|