freebsd-ports/textproc/artha/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

42 lines
918 B
Makefile

# 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= 1
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>