summaryrefslogtreecommitdiffstats
path: root/devel/json-glib/Makefile
blob: 9bd800bc1c74699164c24616df865f92ccf9ccdb (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#   $MCom$

PORTNAME=   json-glib
PORTVERSION=    1.0.0
CATEGORIES= devel
MASTER_SITES=   GNOME

MAINTAINER= gnome@FreeBSD.org
COMMENT=    JSON (RFC 4627) interface for Glib

BUILD_DEPENDS=  ${LOCALBASE}/share/gir-1.0/GLib-2.0.gir:${PORTSDIR}/devel/gobject-introspection
RUN_DEPENDS=    ${LOCALBASE}/share/gir-1.0/GLib-2.0.gir:${PORTSDIR}/devel/gobject-introspection

USES=       gmake libtool:keepla pathfix pkgconfig tar:xz
USE_GNOME=  glib20 gnomeprefix introspection
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libjson-glib-1.0.so.0

.include <bsd.port.mk>