diff options
author | mezz <mezz@FreeBSD.org> | 2004-11-16 15:34:58 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2004-11-16 15:34:58 +0800 |
commit | a42580ec464479b8433e31354601571cebfd6dff (patch) | |
tree | e08430570481a23daca234dde8d6cf586422a371 /editors | |
parent | b21f9e8d22893ff0a091dc062b98689ebcc1db94 (diff) | |
download | freebsd-ports-gnome-a42580ec464479b8433e31354601571cebfd6dff.tar.gz freebsd-ports-gnome-a42580ec464479b8433e31354601571cebfd6dff.tar.zst freebsd-ports-gnome-a42580ec464479b8433e31354601571cebfd6dff.zip |
Add a new INSTALLS_OMF to take care of .omf, ScrollKeeper file. It will
automatically scan pkg-plist file and add apropriate @exec/@unexec directives
for each .omf file found to track OMF registration database. Details can be
found in bsd.gnome.mk and http://www.freebsd.org/gnome/docs/porting.html .
Current, gedit2 is the only port that use INSTALLS_OMF for now. I will chasing
all the other ports that are maintaining by gnome@FreeBSD.org when I am done
with two todo list. The other ports, you are on your own and portlint will
bug you when portlint is update.
While I am here, switch from make loops to sh loops in GCONF_SCHEMAS part.
Document writer by: bland
Reviewed by: my team, FreeBSD GNOME team
Diffstat (limited to 'editors')
-rw-r--r-- | editors/gedit2/Makefile | 1 | ||||
-rw-r--r-- | editors/gedit2/pkg-plist | 26 |
2 files changed, 1 insertions, 26 deletions
diff --git a/editors/gedit2/Makefile b/editors/gedit2/Makefile index c83962a35d43..80bc87f23c58 100644 --- a/editors/gedit2/Makefile +++ b/editors/gedit2/Makefile @@ -21,6 +21,7 @@ LIB_DEPENDS= pspell.16:${PORTSDIR}/textproc/aspell USE_BZIP2= yes USE_X_PREFIX= yes +INSTALLS_OMF= yes INSTALLS_SHLIB= yes USE_GMAKE= yes USE_LIBTOOL_VER=15 diff --git a/editors/gedit2/pkg-plist b/editors/gedit2/pkg-plist index 4d33342cb12e..ca0397040eed 100644 --- a/editors/gedit2/pkg-plist +++ b/editors/gedit2/pkg-plist @@ -127,31 +127,18 @@ share/gnome/help/gedit/zh_TW/legal.xml share/gnome/idl/GNOME_Gedit.idl share/gnome/mime-info/gedit.keys share/gnome/omf/gedit/gedit-C.omf -@exec scrollkeeper-install -q %D/share/gnome/omf/gedit/gedit-C.omf 2>/dev/null || /usr/bin/true share/gnome/omf/gedit/gedit-de.omf -@exec scrollkeeper-install -q %D/share/gnome/omf/gedit/gedit-de.omf 2>/dev/null || /usr/bin/true share/gnome/omf/gedit/gedit-es.omf -@exec scrollkeeper-install -q %D/share/gnome/omf/gedit/gedit-es.omf 2>/dev/null || /usr/bin/true share/gnome/omf/gedit/gedit-eu.omf -@exec scrollkeeper-install -q %D/share/gnome/omf/gedit/gedit-eu.omf 2>/dev/null || /usr/bin/true share/gnome/omf/gedit/gedit-fr.omf -@exec scrollkeeper-install -q %D/share/gnome/omf/gedit/gedit-fr.omf 2>/dev/null || /usr/bin/true share/gnome/omf/gedit/gedit-it.omf -@exec scrollkeeper-install -q %D/share/gnome/omf/gedit/gedit-it.omf 2>/dev/null || /usr/bin/true share/gnome/omf/gedit/gedit-ja.omf -@exec scrollkeeper-install -q %D/share/gnome/omf/gedit/gedit-ja.omf 2>/dev/null || /usr/bin/true share/gnome/omf/gedit/gedit-ko.omf -@exec scrollkeeper-install -q %D/share/gnome/omf/gedit/gedit-ko.omf 2>/dev/null || /usr/bin/true share/gnome/omf/gedit/gedit-ro.omf -@exec scrollkeeper-install -q %D/share/gnome/omf/gedit/gedit-ro.omf 2>/dev/null || /usr/bin/true share/gnome/omf/gedit/gedit-sv.omf -@exec scrollkeeper-install -q %D/share/gnome/omf/gedit/gedit-sv.omf 2>/dev/null || /usr/bin/true share/gnome/omf/gedit/gedit-zh_CN.omf -@exec scrollkeeper-install -q %D/share/gnome/omf/gedit/gedit-zh_CN.omf 2>/dev/null || /usr/bin/true share/gnome/omf/gedit/gedit-zh_HK.omf -@exec scrollkeeper-install -q %D/share/gnome/omf/gedit/gedit-zh_HK.omf 2>/dev/null || /usr/bin/true share/gnome/omf/gedit/gedit-zh_TW.omf -@exec scrollkeeper-install -q %D/share/gnome/omf/gedit/gedit-zh_TW.omf 2>/dev/null || /usr/bin/true share/gnome/pixmaps/gedit-icon.png share/gnome/pixmaps/gedit-logo.png share/gnome/pixmaps/gedit-plugin-manager.png @@ -262,17 +249,4 @@ share/locale/zh_TW/LC_MESSAGES/gedit-%%POVERSION%%.mo @dirrm include/gedit-%%VERSION%%/gedit/recent-files @dirrm include/gedit-%%VERSION%%/gedit @dirrm include/gedit-%%VERSION%% -@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gedit/gedit-C.omf 2>/dev/null || /usr/bin/true -@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gedit/gedit-de.omf 2>/dev/null || /usr/bin/true -@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gedit/gedit-es.omf 2>/dev/null || /usr/bin/true -@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gedit/gedit-eu.omf 2>/dev/null || /usr/bin/true -@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gedit/gedit-fr.omf 2>/dev/null || /usr/bin/true -@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gedit/gedit-it.omf 2>/dev/null || /usr/bin/true -@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gedit/gedit-ja.omf 2>/dev/null || /usr/bin/true -@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gedit/gedit-ko.omf 2>/dev/null || /usr/bin/true -@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gedit/gedit-ro.omf 2>/dev/null || /usr/bin/true -@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gedit/gedit-sv.omf 2>/dev/null || /usr/bin/true -@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gedit/gedit-zh_CN.omf 2>/dev/null || /usr/bin/true -@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gedit/gedit-zh_HK.omf 2>/dev/null || /usr/bin/true -@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gedit/gedit-zh_TW.omf 2>/dev/null || /usr/bin/true @unexec update-desktop-database > /dev/null || /usr/bin/true |