1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/devel/librest/Makefile
William Grzybowski 76d49ef599 librest is a library that was designed to make it easier to access RESTful
web services.

It comprises of two parts: the first aims to make it easier to make requests
by providing a wrapper around libsoup, the second aids with XML parsing by
wrapping libxml2.

WWW: https://live.gnome.org/Librest

PR:		ports/178013
Submitted by:	Christoph Moench-Tegeder <cmt@burggraben.net>
Approved by:	culot (mentor)
2013-06-10 22:47:21 +00:00

38 lines
938 B
Makefile

# Created by: Christoph Moench-Tegeder <cmt@burggraben.net>
# $FreeBSD$
PORTNAME= rest
PORTVERSION= 0.7.90
CATEGORIES= devel www
MASTER_SITES= GNOME
MAINTAINER= cmt@burggraben.net
COMMENT= Easy access to RESTful web services
LICENSE= LGPL21
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
LIB_DEPENDS= soup-gnome-2.4:${PORTSDIR}/devel/libsoup-gnome
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
USE_XZ= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_GNOME= gnomehack glib20 intlhack libxml2
CONFIGURE_ARGS= --with-ca-certificates=${LOCALBASE}/share/certs/ca-root-nss.crt
PORTEXAMPLES= *.c
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXAMPLES}
post-install:
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.c ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>