aboutsummaryrefslogtreecommitdiff
path: root/www/libepc/Makefile
blob: fae6fea6d825e46e75b2ceb4813a80f0cec5a3fc (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$

PORTNAME=	libepc
PORTVERSION=	0.4.6
CATEGORIES=	www
MASTER_SITES=	GNOME

MAINTAINER=	kwm@FreeBSD.org
COMMENT=	The Easy Publish and Consume library

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libuuid.so:misc/e2fsprogs-libuuid \
		libfribidi.so:converters/fribidi \
		libsoup-2.4.so:devel/libsoup \
		libgnutls.so:security/gnutls \
		libavahi-common.so:net/avahi-app \
		libavahi-ui-gtk3.so:net/avahi-gtk3

USES=		compiler gettext gmake gnome libtool pathfix pkgconfig \
		tar:xz
USE_GNOME=	gnomeprefix cairo gdkpixbuf2 gtk30 intltool
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip

.include <bsd.port.pre.mk>

.if ${CHOSEN_COMPILER_TYPE} == gcc
post-patch:
	${REINPLACE_CMD} -e '/#pragma GCC diagnostic/d' \
		${WRKSRC}/examples/simple-publisher.c
.endif

.include <bsd.port.post.mk>