Thu Mar 19 12:14:37 2009 UTC ()
needs libSM


(drochner)
diff -r1.91 -r1.92 pkgsrc/editors/gedit/Makefile

cvs diff -r1.91 -r1.92 pkgsrc/editors/gedit/Makefile (switch to unified diff)

--- pkgsrc/editors/gedit/Makefile 2009/03/15 20:13:11 1.91
+++ pkgsrc/editors/gedit/Makefile 2009/03/19 12:14:37 1.92
@@ -1,46 +1,47 @@ @@ -1,46 +1,47 @@
1# $NetBSD: Makefile,v 1.91 2009/03/15 20:13:11 jmcneill Exp $ 1# $NetBSD: Makefile,v 1.92 2009/03/19 12:14:37 drochner Exp $
2# 2#
3 3
4DISTNAME= gedit-2.26.0 4DISTNAME= gedit-2.26.0
5CATEGORIES= editors gnome 5CATEGORIES= editors gnome
6MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gedit/2.26/} 6MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gedit/2.26/}
7EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://www.gnome.org/projects/gedit/ 10HOMEPAGE= http://www.gnome.org/projects/gedit/
11COMMENT= Lightweight GNOME2 text editor 11COMMENT= Lightweight GNOME2 text editor
12 12
13PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
14 14
15USE_DIRS+= gnome2-1.5 15USE_DIRS+= gnome2-1.5
16USE_PKGLOCALEDIR= YES 16USE_PKGLOCALEDIR= YES
17USE_TOOLS+= gmake intltool msgfmt perl pkg-config 17USE_TOOLS+= gmake intltool msgfmt perl pkg-config
18USE_LIBTOOL= YES 18USE_LIBTOOL= YES
19GNU_CONFIGURE= YES 19GNU_CONFIGURE= YES
20 20
21PKGCONFIG_OVERRIDE+= data/gedit.pc.in 21PKGCONFIG_OVERRIDE+= data/gedit.pc.in
22 22
23GCONF_SCHEMAS= gedit.schemas gedit-file-browser.schemas 23GCONF_SCHEMAS= gedit.schemas gedit-file-browser.schemas
24 24
25# The gettext version in pkgsrc cannot handle the .po files, so 25# The gettext version in pkgsrc cannot handle the .po files, so
26# we strip out usage of the newer features (context and fuzzy matches) 26# we strip out usage of the newer features (context and fuzzy matches)
27post-patch: 27post-patch:
28 for f in ${WRKSRC}/po/*.po ${WRKSRC}/help/*/*.po ; do \ 28 for f in ${WRKSRC}/po/*.po ${WRKSRC}/help/*/*.po ; do \
29 mv $$f $$f.original ; \ 29 mv $$f $$f.original ; \
30 ${AWK} -f ${FILESDIR}/msgfmtstrip $$f.original > $$f ; \ 30 ${AWK} -f ${FILESDIR}/msgfmtstrip $$f.original > $$f ; \
31 done 31 done
32 32
33.include "options.mk" 33.include "options.mk"
34 34
35.include "../../devel/GConf/schemas.mk" 35.include "../../devel/GConf/schemas.mk"
36.include "../../devel/gettext-lib/buildlink3.mk" 36.include "../../devel/gettext-lib/buildlink3.mk"
37BUILDLINK_API_DEPENDS.glib2+= glib2>=2.16.0 37BUILDLINK_API_DEPENDS.glib2+= glib2>=2.16.0
38.include "../../devel/glib2/buildlink3.mk" 38.include "../../devel/glib2/buildlink3.mk"
39.include "../../sysutils/desktop-file-utils/desktopdb.mk" 39.include "../../sysutils/desktop-file-utils/desktopdb.mk"
40.include "../../textproc/gnome-doc-utils/buildlink3.mk" 40.include "../../textproc/gnome-doc-utils/buildlink3.mk"
41.include "../../mk/omf-scrollkeeper.mk" 41.include "../../mk/omf-scrollkeeper.mk"
42BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.13.0 42BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.13.0
43.include "../../x11/gtk2/buildlink3.mk" 43.include "../../x11/gtk2/buildlink3.mk"
44BUILDLINK_API_DEPENDS.gtksourceview2+= gtksourceview2>=2.2.0 44BUILDLINK_API_DEPENDS.gtksourceview2+= gtksourceview2>=2.2.0
45.include "../../x11/gtksourceview2/buildlink3.mk" 45.include "../../x11/gtksourceview2/buildlink3.mk"
 46.include "../../x11/libSM/buildlink3.mk"
46.include "../../mk/bsd.pkg.mk" 47.include "../../mk/bsd.pkg.mk"