blob: 193c7578f226bdeb494cd76e659d44b899ae1534 (
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
|
# New ports collection makefile for: nzbget
# Date created: 13 April 2004
# Whom: Lewis Thompson <purple@lewiz.net>
#
# $FreeBSD$
#
PORTNAME= nzbget
PORTVERSION= 0.2.3
CATEGORIES= news
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= nzbget
MAINTAINER= lewiz@compsoc.man.ac.uk
COMMENT= A binary newsreader supporting NZB files
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
uu.3:${PORTSDIR}/converters/uulib
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}" \
LOCALBASE="${LOCALBASE}"
USE_GMAKE= yes
USE_GETOPT_LONG= yes
PLIST_FILES= bin/nzbget etc/nzbget.cfg.example
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Broken with gcc 4.2
.endif
post-patch:
@${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' ${WRKSRC}/configure
post-install:
${INSTALL_DATA} ${WRKSRC}/nzbget.cfg.example ${PREFIX}/etc
.include <bsd.port.post.mk>
|