flickr via flickr API's to get a users (configured in httpd.conf) public photo sets, photos in sets and recent photos uploaded in flickr etc... Currently only 4 api calls have been implmeneted (all are GET calls). These API's return data in XML format. The XML can then be parsed by the calling code (e.g. front end Javascript/php) to display thumbnails of the images say in a scrollbar. (Code for front end is not distributed as yet) This module can be used by web developers who want to show their photos/albums uploaded in flickr on their website and/or access to metadata of their photos for their own needs/purposes. WWW: http://www.vshank.com/code/mod_flickr PR: ports/138299 Submitted by: vshankar
34 lines
599 B
Makefile
34 lines
599 B
Makefile
# New ports collection makefile for: mod_flickr
|
|
# Date created: 2009-08-24
|
|
# Whom: vshankar
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mod_flickr
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.vshank.com/modcode/
|
|
|
|
MAINTAINER= venkyshankar@yahoo.com
|
|
COMMENT= Apache module for Flickr API access
|
|
|
|
LIB_DEPENDS= curl.5:${PORTSDIR}/ftp/curl
|
|
|
|
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= 2.0+
|
|
AP_FAST_BUILD= yes
|
|
AP_GENPLIST= yes
|
|
|
|
.include <bsd.port.mk>
|