- update gconf-editor to 2.18.0

- install schema's where every other port installs them
- add some @(un)exec's to PLIST

ok martynas@
This commit is contained in:
jasper 2007-05-13 18:04:40 +00:00
parent 285eb7638f
commit aa225b9688
4 changed files with 85 additions and 50 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.20 2007/05/07 09:13:47 bernd Exp $
# $OpenBSD: Makefile,v 1.21 2007/05/13 18:04:40 jasper Exp $
COMMENT= "editor for the GConf configuration system"
DISTNAME= gconf-editor-2.10.0
PKGNAME= ${DISTNAME}p5
DISTNAME= gconf-editor-2.18.0
CATEGORIES= devel x11/gnome
HOMEPAGE= http://www.gnome.org/
@ -13,22 +12,26 @@ PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ORBit-2 X11 Xau Xdmcp Xrender atk-1.0 c expat m SM \
fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 \
glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 \
gtk-x11-2.0 pango-1.0 pangoft2-1.0 \
popt pthread esd art_lgpl_2 \
gnomecanvas-2 ICE ORBitCosNaming-2 audiofile gnomevfs-2 jpeg z \
gnome-2 xml2 crypto bonobo-activation bonobo-2 ssl bonoboui-2 \
gnome-keyring pangocairo-1.0 cairo glitz png
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcursor Xdmcp \
Xext Xfixes Xi Xinerama Xrandr Xrender art_lgpl_2 atk-1.0 \
audiofile bonobo-2 bonobo-activation bonoboui-2 c cairo \
crypto esd expat fontconfig freetype \
gdk-x11-2.0 gdk_pixbuf-2.0 glib-2.0 glitz gmodule-2.0 \
gnome-2 gnome-keyring gnomecanvas-2 gnomevfs-2 gobject-2.0 \
gthread-2.0 gtk-x11-2.0 jpeg m pango-1.0 pangocairo-1.0 \
pangoft2-1.0 png popt pthread ssl util xml2 z
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gconf-editor/2.10/}
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gconf-editor/2.18/}
EXTRACT_SUFX= .tar.bz2
BUILD_DEPENDS= :p5-XML-Parser-*:textproc/p5-XML-Parser \
:scrollkeeper-*:textproc/scrollkeeper
RUN_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper
:scrollkeeper-*:textproc/scrollkeeper \
:gnome-doc-utils->=0.3.2:x11/gnome/doc-utils
RUN_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper \
:desktop-file-utils-*:devel/desktop-file-utils
LIB_DEPENDS= gconf-2::devel/gconf2 \
dbus-1::x11/dbus \
dbus-glib-1::x11/dbus-glib \
gnomeui-2::x11/gnome/libgnomeui
MODULES= devel/gettext
@ -37,15 +40,12 @@ USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-gtk-doc
CONFIGURE_ARGS= --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gconf-editor \
--disable-schemas-install
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
@ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gconf-editor/ ; \
cp -Rp ${WRKINST}/${SYSCONFDIR}/* ${PREFIX}/share/examples/gconf-editor/
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (gconf-editor-2.10.0.tar.bz2) = ZRoY9+ta+RdhUhqk8EzMBw==
RMD160 (gconf-editor-2.10.0.tar.bz2) = IeTofvpPpy4MawWwtGYvy8zOXh0=
SHA1 (gconf-editor-2.10.0.tar.bz2) = cQlhsxjDQQyncs8uFp8FvU4nXlY=
SHA256 (gconf-editor-2.10.0.tar.bz2) = dOR+/li7knxIYGEOGvidkg9NJ135BfZNrAH+54TTQGw=
SIZE (gconf-editor-2.10.0.tar.bz2) = 543405
MD5 (gconf-editor-2.18.0.tar.bz2) = y676H/ilSKPTgcZ67UJvtw==
RMD160 (gconf-editor-2.18.0.tar.bz2) = zBb4PXcbd5emsxCm1QTjb/4RZUE=
SHA1 (gconf-editor-2.18.0.tar.bz2) = GLlptaui5C8NaOJTilUptUSogR4=
SHA256 (gconf-editor-2.18.0.tar.bz2) = /9PY70Y36tbr10acHkKD48EEQ1GiQ+gebyQhlOB/oFc=
SIZE (gconf-editor-2.18.0.tar.bz2) = 694449

View File

@ -1,11 +0,0 @@
$OpenBSD: patch-docs_C_Makefile_in,v 1.2 2005/05/25 23:25:25 marcm Exp $
--- docs/C/Makefile.in.orig Mon Mar 7 00:40:01 2005
+++ docs/C/Makefile.in Tue May 10 22:39:56 2005
@@ -475,7 +475,6 @@ install-data-hook-omf:
for file in $(omffile); do \
$(INSTALL_DATA) $$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \
done
- -scrollkeeper-update -p $(DESTDIR)$(scrollkeeper_localstate_dir) -o $(DESTDIR)$(omf_dest_dir)
uninstall-local-omf:
-for file in $(srcdir)/*.omf; do \

View File

@ -1,29 +1,28 @@
@comment $OpenBSD: PLIST,v 1.8 2006/01/20 08:47:54 steven Exp $
@comment $OpenBSD: PLIST,v 1.9 2007/05/13 18:04:40 jasper Exp $
bin/gconf-editor
@man man/man1/gconf-editor.1
share/applications/
share/applications/gconf-editor.desktop
share/examples/gconf-editor/
share/examples/gconf-editor/gconf/
@sample ${SYSCONFDIR}/gconf/
share/examples/gconf-editor/gconf/schemas/
@sample ${SYSCONFDIR}/gconf/schemas/
share/examples/gconf-editor/gconf/schemas/gconf-editor.schemas
@sample ${SYSCONFDIR}/gconf/schemas/gconf-editor.schemas
share/gnome/
share/gnome/help/
share/gnome/help/gconf-editor/
share/gnome/help/gconf-editor/C/
share/gnome/help/gconf-editor/C/figures/
share/gnome/help/gconf-editor/C/figures/entry-blank.png
share/gnome/help/gconf-editor/C/figures/entry-bool.png
share/gnome/help/gconf-editor/C/figures/entry-list.png
share/gnome/help/gconf-editor/C/figures/entry-number.png
share/gnome/help/gconf-editor/C/figures/entry-schema.png
share/gnome/help/gconf-editor/C/figures/entry-string.png
share/gnome/help/gconf-editor/C/figures/gconf_editor_anno_window.png
share/gnome/help/gconf-editor/C/gconf-editor.xml
share/gnome/help/gconf-editor/C/legal.xml
share/gnome/help/gconf-editor/fr/
share/gnome/help/gconf-editor/fr/figures/
share/gnome/help/gconf-editor/fr/figures/gconf_editor_anno_window.png
share/gnome/help/gconf-editor/fr/gconf-editor.xml
share/gnome/help/gconf-editor/it/
share/gnome/help/gconf-editor/it/figures/
share/gnome/help/gconf-editor/it/figures/gconf_editor_anno_window.png
share/gnome/help/gconf-editor/it/gconf-editor.xml
share/gnome/help/gconf-editor/sv/
share/gnome/help/gconf-editor/sv/figures/
share/gnome/help/gconf-editor/sv/figures/gconf_editor_anno_window.png
share/gnome/help/gconf-editor/sv/gconf-editor.xml
share/icons/
share/icons/hicolor/
share/icons/hicolor/48x48/
@ -35,10 +34,19 @@ share/locale/ar/LC_MESSAGES/
share/locale/ar/LC_MESSAGES/gconf-editor.mo
share/locale/az/LC_MESSAGES/gconf-editor.mo
share/locale/be/LC_MESSAGES/gconf-editor.mo
share/locale/be@latin/
share/locale/be@latin/LC_MESSAGES/
share/locale/be@latin/LC_MESSAGES/gconf-editor.mo
share/locale/bg/LC_MESSAGES/gconf-editor.mo
share/locale/bn/
share/locale/bn/LC_MESSAGES/
share/locale/bn/LC_MESSAGES/gconf-editor.mo
share/locale/bn_IN/
share/locale/bn_IN/LC_MESSAGES/
share/locale/bn_IN/LC_MESSAGES/gconf-editor.mo
share/locale/br/
share/locale/br/LC_MESSAGES/
share/locale/br/LC_MESSAGES/gconf-editor.mo
share/locale/bs/
share/locale/bs/LC_MESSAGES/
share/locale/bs/LC_MESSAGES/gconf-editor.mo
@ -49,6 +57,9 @@ share/locale/cy/LC_MESSAGES/
share/locale/cy/LC_MESSAGES/gconf-editor.mo
share/locale/da/LC_MESSAGES/gconf-editor.mo
share/locale/de/LC_MESSAGES/gconf-editor.mo
share/locale/dz/
share/locale/dz/LC_MESSAGES/
share/locale/dz/LC_MESSAGES/gconf-editor.mo
share/locale/el/LC_MESSAGES/gconf-editor.mo
share/locale/en_CA/
share/locale/en_CA/LC_MESSAGES/
@ -80,8 +91,14 @@ share/locale/hu/LC_MESSAGES/gconf-editor.mo
share/locale/id/LC_MESSAGES/gconf-editor.mo
share/locale/it/LC_MESSAGES/gconf-editor.mo
share/locale/ja/LC_MESSAGES/gconf-editor.mo
share/locale/ka/
share/locale/ka/LC_MESSAGES/
share/locale/ka/LC_MESSAGES/gconf-editor.mo
share/locale/kn/LC_MESSAGES/gconf-editor.mo
share/locale/ko/LC_MESSAGES/gconf-editor.mo
share/locale/ku/
share/locale/ku/LC_MESSAGES/
share/locale/ku/LC_MESSAGES/gconf-editor.mo
share/locale/li/
share/locale/li/LC_MESSAGES/
share/locale/li/LC_MESSAGES/gconf-editor.mo
@ -89,6 +106,9 @@ share/locale/lt/
share/locale/lt/LC_MESSAGES/
share/locale/lt/LC_MESSAGES/gconf-editor.mo
share/locale/lv/LC_MESSAGES/gconf-editor.mo
share/locale/mg/
share/locale/mg/LC_MESSAGES/
share/locale/mg/LC_MESSAGES/gconf-editor.mo
share/locale/mk/
share/locale/mk/LC_MESSAGES/
share/locale/mk/LC_MESSAGES/gconf-editor.mo
@ -109,7 +129,6 @@ share/locale/ne/
share/locale/ne/LC_MESSAGES/
share/locale/ne/LC_MESSAGES/gconf-editor.mo
share/locale/nl/LC_MESSAGES/gconf-editor.mo
share/locale/no/LC_MESSAGES/gconf-editor.mo
share/locale/or/
share/locale/or/LC_MESSAGES/
share/locale/or/LC_MESSAGES/gconf-editor.mo
@ -121,6 +140,9 @@ share/locale/pt/LC_MESSAGES/gconf-editor.mo
share/locale/pt_BR/LC_MESSAGES/gconf-editor.mo
share/locale/ro/LC_MESSAGES/gconf-editor.mo
share/locale/ru/LC_MESSAGES/gconf-editor.mo
share/locale/rw/
share/locale/rw/LC_MESSAGES/
share/locale/rw/LC_MESSAGES/gconf-editor.mo
share/locale/sk/LC_MESSAGES/gconf-editor.mo
share/locale/sl/LC_MESSAGES/gconf-editor.mo
share/locale/sq/
@ -132,16 +154,31 @@ share/locale/sv/LC_MESSAGES/gconf-editor.mo
share/locale/ta/
share/locale/ta/LC_MESSAGES/
share/locale/ta/LC_MESSAGES/gconf-editor.mo
share/locale/te/
share/locale/te/LC_MESSAGES/
share/locale/te/LC_MESSAGES/gconf-editor.mo
share/locale/th/
share/locale/th/LC_MESSAGES/
share/locale/th/LC_MESSAGES/gconf-editor.mo
share/locale/tr/LC_MESSAGES/gconf-editor.mo
share/locale/ug/
share/locale/ug/LC_MESSAGES/
share/locale/ug/LC_MESSAGES/gconf-editor.mo
share/locale/uk/LC_MESSAGES/gconf-editor.mo
share/locale/vi/LC_MESSAGES/gconf-editor.mo
share/locale/xh/
share/locale/xh/LC_MESSAGES/
share/locale/xh/LC_MESSAGES/gconf-editor.mo
share/locale/zh_CN/LC_MESSAGES/gconf-editor.mo
share/locale/zh_HK/
share/locale/zh_HK/LC_MESSAGES/
share/locale/zh_HK/LC_MESSAGES/gconf-editor.mo
share/locale/zh_TW/LC_MESSAGES/gconf-editor.mo
share/omf/gconf-editor/
share/omf/gconf-editor/gconf-editor-C.omf
share/omf/gconf-editor/gconf-editor-fr.omf
share/omf/gconf-editor/gconf-editor-it.omf
share/omf/gconf-editor/gconf-editor-sv.omf
share/pixmaps/
share/pixmaps/gconf-editor/
share/pixmaps/gconf-editor/entry-blank.png
@ -152,5 +189,14 @@ share/pixmaps/gconf-editor/entry-schema.png
share/pixmaps/gconf-editor/entry-string.png
share/pixmaps/gconf-editor/folder-closed.png
share/pixmaps/gconf-editor/folder-open.png
@unexec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-uninstall-rule %D/share/schemas/gconf-editor/*.schemas > /dev/null
share/schemas/
share/schemas/gconf-editor/
share/schemas/gconf-editor/gconf-editor.schemas
@exec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-install-rule %D/share/schemas/gconf-editor/*.schemas > /dev/null
@exec %D/bin/scrollkeeper-update -q
@unexec %D/bin/scrollkeeper-update -q
@exec %D/bin/update-desktop-database
@unexec %D/bin/update-desktop-database
@exec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor
@unexec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor