blob: aeb58ad379e54023a0e59553725763b1ea06a42f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Created by: Christoph Moench-Tegeder <cmt@burggraben.net>
# $FreeBSD$
PORTNAME= rest
PORTVERSION= 0.8.0
CATEGORIES= devel www
MASTER_SITES= GNOME
MAINTAINER= cmt@burggraben.net
COMMENT= Easy access to RESTful web services
LICENSE= LGPL21
BUILD_DEPENDS= ca_root_nss>0:security/ca_root_nss
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= gmake 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 intlhack libxml2 introspection:build
PORTEXAMPLES= *.c
OPTIONS_DEFINE= GNOME EXAMPLES
OPTIONS_DEFAULT= GNOME
GNOME_LIB_DEPENDS= libsoup-gnome-2.4.so:devel/libsoup-gnome
GNOME_CONFIGURE_OFF= --without-gnome
GNOME_LIB_DEPENDS_OFF= libsoup-2.4.so:devel/libsoup
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.c ${STAGEDIR}${EXAMPLESDIR}
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librest-0.7.so.0
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librest-extras-0.7.so.0
regression-test:
(cd ${WRKSRC}/tests && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} check)
.include <bsd.port.mk>
|