freebsd-ports/news/s-news/Makefile
Alexey Dokuchaev 936a36e30d Update `databases/gdbm' to version 1.18.1, an important bugfix release
which restores compatibility with old databases (version 1.8) and some
later versions which were built without mmap(2) support.  Due to shlib
version change, bump port revisions of the consumer ports.

PR:		233059
Exp-run by:	antoine
Approved by:	maintainer (johans, numerous timeouts)
2018-11-11 15:38:50 +00:00

34 lines
749 B
Makefile

# Created by: Andrey Slusar <anray@FreeBSD.org>
# $FreeBSD$
PORTNAME= s-news
PORTVERSION= 0.1.11
PORTREVISION= 5
CATEGORIES= news
MASTER_SITES= http://www.lost.org.uk/
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple news server for hosts with one or two users
LIB_DEPENDS= libgdbm.so:databases/gdbm
CONFLICTS= leafnode-[1-9]* nntp-[0-9]*
CONFIGURE_ARGS+= \
--with-confdir=${PREFIX}/etc/s-news \
--with-spooldir=/var/spool/s-news
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
USES= gmake fakeroot
GNU_CONFIGURE= yes
PORTDOCS= README README.conf README.suck TODO
OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>