freebsd-ports/textproc/artha/Makefile
2020-09-02 08:52:51 +00:00

35 lines
805 B
Makefile

# Created by: Zhihao Yuan <lichray@gmail.com>
# $FreeBSD$
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>