freebsd-ports/www/mod_flickr/Makefile
Sunpoet Po-Chuan Hsieh c401538bea - Fix build with curl 7.24.0: curl/types.h was removed (unused since Apr 2004)
Submitted by:	sunpoet (myself)
Tested by:	exp-run by linimon
Approved by:	linimon (with portmgr hat)
2012-03-08 08:04:10 +00:00

40 lines
706 B
Makefile

# 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= 20+
AP_FAST_BUILD= yes
AP_GENPLIST= yes
post-patch:
@${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/mod_flickr.c
.include <bsd.port.mk>