aboutsummaryrefslogtreecommitdiffstats
path: root/news/newscache/Makefile
blob: 94ca2199005c1ea255153340cc35d13dcaca1058 (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
# New ports collection Makefile for:   newscache
# Date created:                23 February 2002
# Whom:                        Tilman Linneweh <arved@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   newscache
PORTVERSION=    1.1.12
CATEGORIES= news
MASTER_SITES=   http://www.hstraub.at/linux/downloads/src/ \
        http://www.infosys.tuwien.ac.at/NewsCache/download/
DISTNAME=   NewsCache-${PORTVERSION}

MAINTAINER= arved@FreeBSD.org
COMMENT=    NewsCache is a free cache server for USENET News

LIB_DEPENDS=    socket[+][+].1:${PORTSDIR}/net/libsocket++

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500113
BROKEN=         "Does not compile (bad C++ code)"
.endif

USE_AUTOMAKE_VER=   15
USE_GMAKE=  yes
CONFIGURE_ENV=  CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" 
MAKE_ENV=   LIBS="-lsocket++"

MAN5=   newscache.conf.5
MAN8=   newscache.8 newscacheclean.8 updatenews.8

post-patch:
    cd ${WRKSRC}; ./autogen

.include <bsd.port.post.mk>