aboutsummaryrefslogtreecommitdiffstats
path: root/news/s-news/Makefile
blob: 0b0ad5e4d7230759c054c9f3a8d5c7dcaf128acb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# 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= --prefix=${PREFIX} \
        --with-confdir=${PREFIX}/etc/s-news \
        --with-spooldir=/var/spool/s-news
CONFIGURE_ENV=  LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+=  -I${LOCALBASE}/include

USE_GMAKE=  yes
HAS_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

NO_STAGE=   yes
.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif

.include <bsd.port.mk>