aboutsummaryrefslogtreecommitdiffstats
path: root/news/nzbget/Makefile
blob: 0091acfd37100e0eeef95477b9f85fc40829fc28 (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
# New ports collection makefile for:    nzbget
# Date created:             13 April 2004
# Whom:                 Lewis Thompson <purple@lewiz.net>
#
# $FreeBSD$
#

PORTNAME=   nzbget
PORTVERSION=    0.3.1
PORTREVISION=   1
CATEGORIES= news
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    A binary newsreader supporting NZB files

LIB_DEPENDS=    xml2.5:${PORTSDIR}/textproc/libxml2 \
        uu.3:${PORTSDIR}/converters/uulib

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-parcheck
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
        CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}" \
        LOCALBASE="${LOCALBASE}"
USE_GMAKE=  yes

PLIST_FILES=    bin/nzbget etc/nzbget.conf.example

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 600000
BROKEN=     Does not compile on 5.x
.endif

post-install:
    @${INSTALL_DATA} ${WRKSRC}/nzbget.conf.example ${PREFIX}/etc

.include <bsd.port.post.mk>