aboutsummaryrefslogtreecommitdiff
path: root/www/mod_flickr/Makefile
blob: 492499185716e6dcd14ef4198dc4b16d0f21a961 (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
# New ports collection makefile for:	mod_flickr
# Date created:				2009-08-24
# Whom:						vshankar
#
# $FreeBSD$
#

PORTNAME=	mod_flickr
PORTVERSION=	1.0
PORTREVISION=	2
CATEGORIES=	www
MASTER_SITES=	http://www.vshank.com/modcode/

MAINTAINER=	venkyshankar@yahoo.com
COMMENT=	Apache module for Flickr API access

LIB_DEPENDS=	curl.6:${PORTSDIR}/ftp/curl

MAKE_JOBS_SAFE=	yes

XTRA_FLAGS=	-lcurl

AP_INC=		${LOCALBASE}/include
AP_LIB=		${LOCALBASE}/lib

.if defined(WITH_DEBUG)
XTRA_FLAGS+=	-DDEBUG
.endif

AP_EXTRAS=	${XTRA_FLAGS}
USE_LDCONFIG=	yes

USE_APACHE=	22+
AP_FAST_BUILD=	yes
AP_GENPLIST=	yes

post-patch:
	@${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/mod_flickr.c

.include <bsd.port.mk>