aboutsummaryrefslogtreecommitdiff
path: root/textproc/artha/Makefile
blob: 8766dc20707c4ace8a5edd34690b54b8a75fe48a (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
# Created by: Zhihao Yuan <lichray@gmail.com>

PORTNAME=	artha
PORTVERSION=	1.0.3
PORTREVISION=	2
CATEGORIES=	textproc
MASTER_SITES=	SF

MAINTAINER=	lichray@gmail.com
COMMENT=	Free cross-platform English thesaurus

LICENSE=	GPLv2

LIB_DEPENDS=	libdbus-glib-1.so:devel/dbus-glib \
		libWN.so:textproc/wordnet

GNU_CONFIGURE=	yes
USE_GNOME=	gtk20 intltool
USES=		gmake gnome libtool pkgconfig

CONFIGURE_ARGS=	--enable-static=no --x-includes=${LOCALBASE}/include \
		--x-libraries=${LOCALBASE}/lib
CFLAGS+=	-fcommon
LDFLAGS+=	-L${LOCALBASE}/lib
CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/WordNet
LIBS+=		`pkg-config --libs gio-2.0`

OPTIONS_DEFINE=	NOTIFY
NOTIFY_DESC=	Popup word definition as notification

NOTIFY_LIB_DEPENDS=	libnotify.so:devel/libnotify

.include <bsd.port.mk>