summaryrefslogtreecommitdiffstats
path: root/accessibility/dasher/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/dasher/Makefile')
-rw-r--r--accessibility/dasher/Makefile52
1 files changed, 52 insertions, 0 deletions
diff --git a/accessibility/dasher/Makefile b/accessibility/dasher/Makefile
new file mode 100644
index 000000000..3bf6974bc
--- /dev/null
+++ b/accessibility/dasher/Makefile
@@ -0,0 +1,52 @@
+# Ports collection Makefile for: dasher
+# Date created: 5 July 2003
+# Whom: lewiz <purple@lewiz.net>
+#
+# $FreeBSD: ports/accessibility/dasher/Makefile,v 1.34 2006/11/21 06:41:40 marcus Exp $
+# $MCom: ports/accessibility/dasher/Makefile,v 1.44 2006/09/03 21:33:52 marcus Exp $
+#
+
+PORTNAME= dasher
+PORTVERSION= 4.3.2
+PORTEPOCH= 1
+CATEGORIES= accessibility editors x11 gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= lewiz@compsoc.man.ac.uk
+COMMENT= Information efficient text-entry interface
+
+BUILD_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
+RUN_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
+
+USE_BZIP2= yes
+USE_GETTEXT= yes
+USE_XLIB= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack intlhack gnomehier libgnomeui atspi \
+ libwnck gnomedocutils
+WANT_GNOME= yes
+GNU_CONFIGURE= yes
+INSTALLS_ICONS= yes
+INSTALLS_OMF= yes
+USE_GCC= 3.4+
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS= dasher.schemas
+MAN1= dasher.1
+
+.include <bsd.port.pre.mk>
+
+.if ${HAVE_GNOME:Mgnomespeech}!=""
+USE_GNOME+= gnomespeech
+CONFIGURE_ARGS+=--enable-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.post.mk>