2004-08-02 15:00:30 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.36 2004/08/02 19:00:30 sturm Exp $
|
2001-05-05 22:56:33 -04:00
|
|
|
|
2002-09-23 20:24:19 -04:00
|
|
|
COMMENT= "USENET software package designed for small sites"
|
1997-12-19 21:03:08 -05:00
|
|
|
|
2004-08-02 15:00:30 -04:00
|
|
|
VERSION= 1.10.3
|
2002-09-23 20:24:19 -04:00
|
|
|
DISTNAME= leafnode-${VERSION}.rel
|
2003-11-08 16:55:50 -05:00
|
|
|
PKGNAME= leafnode-${VERSION}
|
2002-09-23 20:24:19 -04:00
|
|
|
CATEGORIES= news
|
1997-12-19 21:03:08 -05:00
|
|
|
|
2004-06-29 15:03:03 -04:00
|
|
|
HOMEPAGE= http://leafnode.sourceforge.net/
|
2000-08-29 01:20:46 -04:00
|
|
|
|
2003-05-21 02:51:43 -04:00
|
|
|
MAINTAINER= Bruno Rohee <rohee@openbsd.org>
|
2002-09-23 20:24:19 -04:00
|
|
|
|
2003-02-22 17:32:12 -05:00
|
|
|
# MIT/BSD like
|
2000-03-22 22:43:40 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
1997-12-19 21:03:08 -05:00
|
|
|
|
2002-09-23 20:24:19 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=leafnode/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
LIB_DEPENDS= pcre::devel/pcre
|
|
|
|
|
2000-06-17 15:03:46 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2002-09-23 20:24:19 -04:00
|
|
|
CONFIGURE_ARGS+= --localstatedir=/var
|
|
|
|
CONFIGURE_ARGS+= --with-lockfile=/var/spool/news/fetchnews.lck
|
|
|
|
CONFIGURE_ARGS+= --with-ipv6
|
2004-05-07 16:46:59 -04:00
|
|
|
CONFIGURE_ARGS+= --with-user=_news
|
1999-01-30 20:38:06 -05:00
|
|
|
|
2003-01-21 11:58:11 -05:00
|
|
|
DOCS= README README-FQDN INSTALL FAQ.txt
|
|
|
|
|
2000-06-10 15:00:14 -04:00
|
|
|
post-install:
|
2003-01-21 11:58:11 -05:00
|
|
|
$(INSTALL_DATA_DIR) ${PREFIX}/share/doc/leafnode
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/leafnode
|
|
|
|
cd ${WRKSRC} && $(INSTALL_DATA) ${DOCS} \
|
2002-09-23 20:24:19 -04:00
|
|
|
${PREFIX}/share/doc/leafnode
|
2003-01-21 11:58:11 -05:00
|
|
|
${INSTALL_DATA} ${WRKINST}/${SYSCONFDIR}/leafnode/* \
|
|
|
|
${PREFIX}/share/examples/leafnode/
|
1999-03-21 20:39:49 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|