summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtksourceview3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/gtksourceview3/Makefile')
-rw-r--r--x11-toolkits/gtksourceview3/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/x11-toolkits/gtksourceview3/Makefile b/x11-toolkits/gtksourceview3/Makefile
new file mode 100644
index 000000000..1e6283a2e
--- /dev/null
+++ b/x11-toolkits/gtksourceview3/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: gtksourceview
+# Date created: 07 May 2003
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/x11-toolkits/gtksourceview2/Makefile,v 1.94 2010/06/08 11:04:33 kwm Exp $
+#
+
+PORTNAME= gtksourceview3
+PORTVERSION= 2.90.3
+PORTREVISION?= 0
+CATEGORIES= x11-toolkits gnome
+MASTER_SITES= GNOME
+MASTER_SITE_SUBDIR= sources/${PORTNAME:S/3$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+DISTNAME= ${PORTNAME:S/3$//}-${PORTVERSION}
+DIST_SUBDIR= gnome3
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A text widget that adds syntax highlighting to the GtkTextView widget
+
+USE_BZIP2= yes
+
+.if !defined(REFERENCE_PORT)
+
+USE_GETTEXT= yes
+USE_GMAKE= yes
+USE_AUTOTOOLS= libtool:22
+USE_LDCONFIG= yes
+USE_GNOME= gnomeprefix gnomehack gtk30 libxml2 intlhack \
+ ltverhack referencehack
+CONFIGURE_ARGS= --enable-compile-warnings=no --enable-glade-catalog=no
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|--warn-all||g' \
+ ${WRKSRC}/gtksourceview/Makefile.in
+
+.include <bsd.port.mk>
+
+.endif