blob: 6bf5f00bc7aca5438ac5039b9aa4760f976dd0e2 (
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
|
# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
# $MCom$
PORTNAME= libchamplain
PORTVERSION= 0.12.4
CATEGORIES= graphics
MASTER_SITES= GNOME
MAINTAINER= gnome@FreeBSD.org
COMMENT= C library aimed to provide a Gtk+ widget to display rasterized maps and markers
LIB_DEPENDS= libclutter-gtk-1.0.so:${PORTSDIR}/graphics/clutter-gtk3 \
libsoup-gnome-2.4.so:${PORTSDIR}/devel/libsoup-gnome
USE_XZ= yes
USES= gmake pathfix pkgconfig
USE_GNOME= gtk30 ltverhack gnomehier introspection:build
USE_GL= gl
USE_SQLITE= 3
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-gtk-doc-html=no
PLIST_SUB= VERSION=0.12
post-patch:
@${REINPLACE_CMD} -e 's|DOC_MODULE = libchamplain|DOC_MODULE = libchamplain-gtk3|g' \
${WRKSRC}/docs/reference/Makefile.in \
${WRKSRC}/docs/reference-gtk/Makefile.in
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so.*
.include <bsd.port.mk>
|