2012-12-27 17:37:23 +01:00
|
|
|
# Created by: Vanilla I. Shu <vanilla@FreeBSD.org>
|
2007-08-06 15:37:37 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2011-04-13 03:23:30 +02:00
|
|
|
PORTNAME= flickcurl
|
2013-09-04 06:53:07 +02:00
|
|
|
PORTVERSION= 1.25
|
2011-04-13 03:23:30 +02:00
|
|
|
CATEGORIES= www
|
2007-08-06 15:37:37 +02:00
|
|
|
MASTER_SITES= http://download.dajobe.org/flickcurl/
|
|
|
|
|
2013-09-04 06:53:07 +02:00
|
|
|
MAINTAINER= danilogondolfo@gmail.com
|
2011-04-13 03:23:30 +02:00
|
|
|
COMMENT= C library for the Flickr API
|
2007-08-06 15:37:37 +02:00
|
|
|
|
2013-04-29 16:24:58 +02:00
|
|
|
LICENSE= AL2 GPLv2 LGPL21
|
|
|
|
LICENSE_COMB= dual
|
|
|
|
|
2013-09-04 06:53:07 +02:00
|
|
|
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
|
2007-08-06 15:37:37 +02:00
|
|
|
|
2013-04-29 16:24:58 +02:00
|
|
|
OPTIONS_DEFINE= RAPTOR DOCS
|
2013-09-04 06:53:07 +02:00
|
|
|
OPTIONS_RADIO= WEBSERVICE
|
|
|
|
OPTIONS_RADIO_WEBSERVICE= OFFLINE CAPTURE
|
2013-04-29 16:24:58 +02:00
|
|
|
OPTIONS_DEFAULT=RAPTOR
|
|
|
|
RAPTOR_DESC= Use Raptor to serialize to triples
|
2013-09-04 06:53:07 +02:00
|
|
|
OFFLINE_DESC= Offline use of captured XML web service responses
|
|
|
|
CAPTURE_DESC= Capturing web service responses
|
2013-04-29 16:24:58 +02:00
|
|
|
|
|
|
|
USES= pathfix pkgconfig
|
|
|
|
USE_GNOME= ltverhack libxml2
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2013-04-29 16:24:58 +02:00
|
|
|
CONFIGURE_ARGS= --with-html-dir=${WRKDIR}/tmproot
|
2007-08-06 15:37:37 +02:00
|
|
|
USE_LDCONFIG= yes
|
2013-04-29 16:24:58 +02:00
|
|
|
|
|
|
|
MAN1= flickcurl.1 flickcurl-config.1 flickrdf.1
|
|
|
|
|
2013-09-04 06:53:07 +02:00
|
|
|
OFFLINE_CONFIGURE_ON= --enable-offline
|
2013-09-06 09:23:52 +02:00
|
|
|
OFFLINE_CONFIGURE_OFF= offline=no
|
2013-09-04 06:53:07 +02:00
|
|
|
CAPTURE_CONFIGURE_ON= --enable-capture
|
2013-09-06 09:23:52 +02:00
|
|
|
CAPTURE_CONFIGURE_OFF= capture=no
|
2013-09-04 06:53:07 +02:00
|
|
|
RAPTOR_LIB_DEPENDS= libraptor2.so:${PORTSDIR}/textproc/raptor2
|
|
|
|
RAPTOR_CONFIGURE_ON= --with-raptor=2
|
|
|
|
RAPTOR_CONFIGURE_OFF= --with-raptor=no
|
2013-04-29 16:24:58 +02:00
|
|
|
|
2013-09-21 01:36:50 +02:00
|
|
|
NO_STAGE= yes
|
2013-09-04 06:53:07 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2007-08-06 15:37:37 +02:00
|
|
|
|
2013-04-29 16:24:58 +02:00
|
|
|
post-install:
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@(cd ${WRKDIR}/tmproot/flickcurl && ${COPYTREE_SHARE} . ${DOCSDIR})
|
|
|
|
.endif
|
2008-01-05 04:08:24 +01:00
|
|
|
|
2007-08-06 15:37:37 +02:00
|
|
|
.include <bsd.port.mk>
|