aboutsummaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-05-02 17:13:42 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-05-02 17:13:42 +0000
commitcf09b75cb164d2583bd103282ec6f8310d046eb0 (patch)
tree96f8771f6f6a00971791103e98709b3537999e1b /accessibility
parentc7c82f36e53a3ffa12628c3a583eef1bbc16c060 (diff)
downloadports-cf09b75cb164d2583bd103282ec6f8310d046eb0.tar.gz
ports-cf09b75cb164d2583bd103282ec6f8310d046eb0.zip
* Update to 3.2.10
* Add conditional GNOME and speech support Approved by: maintainer
Notes
Notes: svn path=/head/; revision=108168
Diffstat (limited to 'accessibility')
-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 f4b5c871b62e..dcdb9f950185 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 ad3eb3513d62..58e9f0aa1799 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 a1bf4a7e3f30..c277c36b8636 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