summaryrefslogtreecommitdiff
path: root/x11/gtksourceview2
diff options
context:
space:
mode:
authoradam <adam>2011-05-12 11:05:32 +0000
committeradam <adam>2011-05-12 11:05:32 +0000
commit3758fb4113677683b7a5eb6db06c9b83cbe4c0d5 (patch)
treed3ff800a8695101296c7fe9097fc30c8bf9beff2 /x11/gtksourceview2
parent8c4c58c938e5dffa65ceb19e33989cd706123375 (diff)
downloadpkgsrc-3758fb4113677683b7a5eb6db06c9b83cbe4c0d5.tar.gz
Fix buildling on Mac OS X
Diffstat (limited to 'x11/gtksourceview2')
-rw-r--r--x11/gtksourceview2/Makefile24
1 files changed, 13 insertions, 11 deletions
diff --git a/x11/gtksourceview2/Makefile b/x11/gtksourceview2/Makefile
index 76dd3c3dd3d..69fd6d853a1 100644
--- a/x11/gtksourceview2/Makefile
+++ b/x11/gtksourceview2/Makefile
@@ -1,30 +1,32 @@
-# $NetBSD: Makefile,v 1.25 2011/04/22 13:41:58 obache Exp $
-#
+# $NetBSD: Makefile,v 1.26 2011/05/12 11:05:32 adam Exp $
-DISTNAME= gtksourceview-${DISTVER}
-PKGNAME= gtksourceview2-${DISTVER}
-PKGREVISION= 3
+DISTNAME= gtksourceview-2.10.5
+PKGNAME= ${DISTNAME:S/-/2-/}
+PKGREVISION= 4
CATEGORIES= x11
-MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtksourceview/2.10/}
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtksourceview/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://gtksourceview.sourceforge.net/
COMMENT= Text widget that extends GTK2's GtkTextView widget
-#LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
+LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
-GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake intltool msgfmt perl pkg-config
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --disable-build-tests
PKGCONFIG_OVERRIDE= gtksourceview-2.0.pc.in
-CONFIGURE_ARGS+= --disable-build-tests
-
-DISTVER= 2.10.5
+SUBST_CLASSES+= ige-mac
+SUBST_STAGE.ige-mac= pre-configure
+SUBST_MESSAGE.ige-mac= Do not require ige-mac-integration.
+SUBST_FILES.ige-mac= configure
+SUBST_SED.ige-mac= -e 's,os_osx=yes,os_osx=no,'
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"