1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/news/s-news/Makefile
Dmitry Marakasov cd88cecf53 - Fix permissions, fix install by non-root
- Remove obsolete MAN*
2015-10-12 17:53:47 +00:00

35 lines
761 B
Makefile

# Created by: Andrey Slusar <anray@FreeBSD.org>
# $FreeBSD$
PORTNAME= s-news
PORTVERSION= 0.1.11
PORTREVISION= 4
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:${PORTSDIR}/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>