openbsd-ports/news/leafnode/Makefile
marcm f50b102e1e Update to 1.9.26. This fixes numerous bugs (security and otherwise)
since version 1.9.19 as mentioned by the developer on ports@.

Also brought the port itself up to date and added myself as maintainer.

ok pvalchev@ naddy@
2002-09-24 00:24:19 +00:00

42 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.21 2002/09/24 00:24:19 marcm Exp $
COMMENT= "USENET software package designed for small sites"
VERSION= 1.9.26
DISTNAME= leafnode-${VERSION}.rel
PKGNAME= leafnode-${VERSION}
CATEGORIES= news
HOMEPAGE= http://www.leafnode.org/
MAINTAINER= Marc Matteo <marcm@openbsd.org>
# GPL/LGPL/Other
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=leafnode/}
EXTRACT_SUFX= .tar.bz2
LIB_DEPENDS= pcre::devel/pcre
SYSCONFDIR= /etc/leafnode
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --localstatedir=/var
CONFIGURE_ARGS+= --with-lockfile=/var/spool/news/fetchnews.lck
CONFIGURE_ARGS+= --with-ipv6
post-install:
@$(INSTALL_DATA_DIR) ${PREFIX}/share/doc/leafnode && \
cd ${WRKSRC} && \
$(INSTALL_DATA) README README-FQDN TROUBLESHOOTING INSTALL FAQ \
${PREFIX}/share/doc/leafnode
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/leafnode && \
mv ${WRKINST}/${SYSCONFDIR}/config.example \
${PREFIX}/share/examples/leafnode/config && \
cp -Rp ${WRKINST}/${SYSCONFDIR}/* ${PREFIX}/share/examples/leafnode/
.include <bsd.port.mk>