aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/artha/Makefile
blob: 837b5c085cce8bcc5605bffe3f402d2d66cc7197 (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
# New ports collection makefile for:    artha
# Date created:     2011-03-15
# Whom:         Zhihao Yuan <lichray@gmail.com>
#
# $FreeBSD$
#

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

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

LICENSE=    GPLv2

LIB_DEPENDS=    dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
        WN.2:${PORTSDIR}/textproc/wordnet

MAN1=       artha.1

USE_AUTOTOOLS=  libtool
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GNOME=  gtk20 intltool pkgconfig

CONFIGURE_ARGS= --enable-static=no --x-includes=${LOCALBASE}/include \
        --x-libraries=${LOCALBASE}/lib
LDFLAGS+=   -L${LOCALBASE}/lib
CPPFLAGS+=  -I${LOCALBASE}/include -I${LOCALBASE}/include/WordNet

OPTIONS=    NOTIFY "Popup word definition as notification" On

.include <bsd.port.options.mk>

.if defined(WITH_NOTIFY)
LIB_DEPENDS+=   notify.4:${PORTSDIR}/devel/libnotify
.endif

.include <bsd.port.mk>