2007-09-15 17:41:50 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.47 2007/09/15 21:41:50 merdely Exp $
|
2001-05-05 22:56:33 -04:00
|
|
|
|
2007-09-15 17:41:50 -04:00
|
|
|
COMMENT= USENET software package designed for small sites
|
1997-12-19 21:03:08 -05:00
|
|
|
|
2005-11-24 15:06:32 -05:00
|
|
|
VERSION= 1.11.4
|
|
|
|
DISTNAME= leafnode-${VERSION}
|
2007-04-06 18:21:30 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2005-11-24 15:06:32 -05:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
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-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
|
2004-12-02 14:19:58 -05:00
|
|
|
WANTLIB= c
|
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
|
|
|
|
2004-10-07 01:15:25 -04:00
|
|
|
DOCS= README README-FQDN INSTALL FAQ.txt NEWS OLDNEWS
|
2003-01-21 11:58:11 -05:00
|
|
|
|
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>
|