aboutsummaryrefslogtreecommitdiff
path: root/textproc/artha
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2012-12-16 05:42:18 +0000
committerWen Heping <wen@FreeBSD.org>2012-12-16 05:42:18 +0000
commit75075b2b4c3aeb84b2df1a44ec631afb3edafa48 (patch)
treefbdebe9aa0a232b2aab577372fe53d0b2e5363b7 /textproc/artha
parent01dd62b62601e0a9292cb7998874f803262bcbc5 (diff)
downloadports-75075b2b4c3aeb84b2df1a44ec631afb3edafa48.tar.gz
ports-75075b2b4c3aeb84b2df1a44ec631afb3edafa48.zip
- Update to 1.0.3
- Trim Makefile headers - Convert to optionsNG PR: 174123 Submitted by: Zhihao Yuan <lichray@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=308983
Diffstat (limited to 'textproc/artha')
-rw-r--r--textproc/artha/Makefile20
-rw-r--r--textproc/artha/distinfo4
2 files changed, 10 insertions, 14 deletions
diff --git a/textproc/artha/Makefile b/textproc/artha/Makefile
index 837b5c085cce..781f2a72558c 100644
--- a/textproc/artha/Makefile
+++ b/textproc/artha/Makefile
@@ -1,13 +1,8 @@
-# New ports collection makefile for: artha
-# Date created: 2011-03-15
-# Whom: Zhihao Yuan <lichray@gmail.com>
-#
+# Created by: Zhihao Yuan <lichray@gmail.com>
# $FreeBSD$
-#
PORTNAME= artha
-PORTVERSION= 1.0.2
-PORTREVISION= 2
+PORTVERSION= 1.0.3
CATEGORIES= textproc
MASTER_SITES= SF
@@ -16,8 +11,8 @@ COMMENT= A free cross-platform English thesaurus
LICENSE= GPLv2
-LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
- WN.2:${PORTSDIR}/textproc/wordnet
+LIB_DEPENDS= dbus-glib:${PORTSDIR}/devel/dbus-glib \
+ WN:${PORTSDIR}/textproc/wordnet
MAN1= artha.1
@@ -31,12 +26,13 @@ CONFIGURE_ARGS= --enable-static=no --x-includes=${LOCALBASE}/include \
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/WordNet
-OPTIONS= NOTIFY "Popup word definition as notification" On
+OPTIONS_DEFINE= NOTIFY
+NOTIFY_DESC= Popup word definition as notification
.include <bsd.port.options.mk>
-.if defined(WITH_NOTIFY)
-LIB_DEPENDS+= notify.4:${PORTSDIR}/devel/libnotify
+.if ${PORT_OPTIONS:MNOTIFY}
+LIB_DEPENDS+= notify:${PORTSDIR}/devel/libnotify
.endif
.include <bsd.port.mk>
diff --git a/textproc/artha/distinfo b/textproc/artha/distinfo
index bcc3a4526955..156b8b261064 100644
--- a/textproc/artha/distinfo
+++ b/textproc/artha/distinfo
@@ -1,2 +1,2 @@
-SHA256 (artha-1.0.2.tar.gz) = ed35903d37cbf364998ea58900fac01a7cfbab9f0ddb9f2c5bc0acb228c7952c
-SIZE (artha-1.0.2.tar.gz) = 408922
+SHA256 (artha-1.0.3.tar.gz) = e383d1e20147a7e278ab1c89e5b5fb5fd7f515f5ef57c0c0aae2449eebf50239
+SIZE (artha-1.0.3.tar.gz) = 441630