aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2012-12-16 13:42:18 +0800
committerwen <wen@FreeBSD.org>2012-12-16 13:42:18 +0800
commita1f2f6bb7348dbf860929a2282473b88c71992bd (patch)
treefbdebe9aa0a232b2aab577372fe53d0b2e5363b7 /textproc
parent15c45498080c3324ecbdb616459f3c945b1bf57c (diff)
downloadfreebsd-ports-gnome-a1f2f6bb7348dbf860929a2282473b88c71992bd.tar.gz
freebsd-ports-gnome-a1f2f6bb7348dbf860929a2282473b88c71992bd.tar.zst
freebsd-ports-gnome-a1f2f6bb7348dbf860929a2282473b88c71992bd.zip
- Update to 1.0.3
- Trim Makefile headers - Convert to optionsNG PR: 174123 Submitted by: Zhihao Yuan <lichray@gmail.com> (maintainer)
Diffstat (limited to 'textproc')
-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