aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-05-03 01:13:42 +0800
committermarcus <marcus@FreeBSD.org>2004-05-03 01:13:42 +0800
commitb3005a1bc4d043d116685fb31ad1c905a1b23727 (patch)
treec878c5cf430888636f517a348cae94bcee9cd002
parent6b48f6d3ea79eaf8ef2fe3eff80ae9b52a30cd29 (diff)
downloadfreebsd-ports-graphics-b3005a1bc4d043d116685fb31ad1c905a1b23727.tar.gz
freebsd-ports-graphics-b3005a1bc4d043d116685fb31ad1c905a1b23727.tar.zst
freebsd-ports-graphics-b3005a1bc4d043d116685fb31ad1c905a1b23727.zip
* Update to 3.2.10
* Add conditional GNOME and speech support Approved by: maintainer
-rw-r--r--accessibility/dasher/Makefile19
-rw-r--r--accessibility/dasher/distinfo4
-rw-r--r--accessibility/dasher/pkg-plist1
3 files changed, 20 insertions, 4 deletions
diff --git a/accessibility/dasher/Makefile b/accessibility/dasher/Makefile
index f4b5c871b62..dcdb9f95018 100644
--- a/accessibility/dasher/Makefile
+++ b/accessibility/dasher/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dasher
-PORTVERSION= 3.2.8
+PORTVERSION= 3.2.10
CATEGORIES= accessibility editors x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/3.2
@@ -22,6 +22,7 @@ USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack intlhack gnomehier gconf2 libglade2
+WANT_GNOME= yes
USE_LIBTOOL_VER=13
USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -29,9 +30,23 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= dasher.1
+.include <bsd.port.pre.mk>
+
+.if ${HAVE_GNOME:Mlibgnomeui}!=""
+USE_GNOME+= libgnomeui
+.else
+CONFIGURE_ARGS+=--without-gnome
+.endif
+
+.if ${HAVE_GNOME:Mgnomespeech}!=""
+USE_GNOME+= gnomespeech
+.else
+CONFIGURE_ARGS+=--without-speech
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|-O2||g'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/accessibility/dasher/distinfo b/accessibility/dasher/distinfo
index ad3eb3513d6..58e9f0aa179 100644
--- a/accessibility/dasher/distinfo
+++ b/accessibility/dasher/distinfo
@@ -1,2 +1,2 @@
-MD5 (gnome2/dasher-3.2.8.tar.bz2) = 8cddd604fc690ad6089ab81143186d3c
-SIZE (gnome2/dasher-3.2.8.tar.bz2) = 2339112
+MD5 (gnome2/dasher-3.2.10.tar.bz2) = 6543491750ab57dd83c2cb44ef690f49
+SIZE (gnome2/dasher-3.2.10.tar.bz2) = 2289669
diff --git a/accessibility/dasher/pkg-plist b/accessibility/dasher/pkg-plist
index a1bf4a7e3f3..c277c36b863 100644
--- a/accessibility/dasher/pkg-plist
+++ b/accessibility/dasher/pkg-plist
@@ -70,6 +70,7 @@ share/locale/mn/LC_MESSAGES/dasher.mo
share/locale/ms/LC_MESSAGES/dasher.mo
share/locale/nl/LC_MESSAGES/dasher.mo
share/locale/no/LC_MESSAGES/dasher.mo
+share/locale/pa/LC_MESSAGES/dasher.mo
share/locale/pl/LC_MESSAGES/dasher.mo
share/locale/pt/LC_MESSAGES/dasher.mo
share/locale/pt_BR/LC_MESSAGES/dasher.mo