1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/news/s-news/Makefile
Adam Weinberger 2a58169b19 Add stage support to news, and improve correctness.
I am not touching the husky ports with a 10 foot pole.

atp:
	stage, improve pkg-message
crashmail:
	stage
diablo:
	too wacky to stage, but convert WITH_* to OPTIONS, unmute
	commands that shouldn't be muted, use :MDOCS
fidogate-ds:
	stage, OPTIONS, treat examples as EXAMPLES, not DOCS, handle
	/var/* in the plist properly
golded+:
	stage, OPTIONS, protect examples behind %%PORTEXAMPLES%%
nntpbtr:
	this was an unbelievably PITA
	stage, add missing prototypes, add missing return types,
	rename patch files to what they actually patch
nntpcache:
	stage support, required lots of Makefile.in patching,
	call submakes correctly, handle config files properly
nzbperl:
	stage, use OPTIONS, remove obsolete pkg-message
papercut:
	stage, handle config file properly
py-pynzb:
	stage, use OPTIONS helper to avoid bsd.port.options.mk inclusion
s-news:
	stage
slrnconf:
	stage
slrnface:
	stage, install required files to datadir, not examplesdir,
	generate proper pkg-message
sn:
	stage
2014-03-29 17:28:56 +00:00

39 lines
864 B
Makefile

# Created by: Andrey Slusar <anray@FreeBSD.org>
# $FreeBSD$
PORTNAME= s-news
PORTVERSION= 0.1.11
PORTREVISION= 3
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= gdbm:${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
GNU_CONFIGURE= yes
MAN1= inews.1
MAN8= expire.8 listactive.8 makehistory.8 newgroup.8 nntpd.8 overview.8 \
qnews.8 rmgroup.8 rnews.8
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>