# Created by: Christoph Moench-Tegeder # $FreeBSD: head/devel/librest/Makefile 565225 2021-02-14 13:57:06Z amdmi3 $ PORTNAME= rest PORTVERSION= 0.8.1 CATEGORIES= devel www MASTER_SITES= GNOME MAINTAINER= cmt@burggraben.net COMMENT= Easy access to RESTful web services LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ca_root_nss>0:security/ca_root_nss LIB_DEPENDS= libsoup-2.4.so:devel/libsoup RUN_DEPENDS:= ${BUILD_DEPENDS} USES= gmake gnome libtool pathfix pkgconfig tar:xz GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ca-certificates=${LOCALBASE}/share/certs/ca-root-nss.crt USE_LDCONFIG= yes USE_GNOME= glib20 libxml2 introspection:build INSTALL_TARGET= install-strip TEST_TARGET= check PORTEXAMPLES= *.c OPTIONS_DEFINE= EXAMPLES post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librest-0.7.so.0 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librest-extras-0.7.so.0 post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.c ${STAGEDIR}${EXAMPLESDIR} .include