diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-08-02 10:34:42 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-08-02 10:34:42 +0800 |
commit | 96eb249debe4930c196f92cacfdc7e918f76e94a (patch) | |
tree | 513390299ab04e0e7167bede5dbbee2664bd8002 /x11-themes | |
parent | 5ef0e6904ea609cfad9fa2f85fd8290ead5841d0 (diff) | |
download | marcuscom-ports-96eb249debe4930c196f92cacfdc7e918f76e94a.tar marcuscom-ports-96eb249debe4930c196f92cacfdc7e918f76e94a.tar.gz marcuscom-ports-96eb249debe4930c196f92cacfdc7e918f76e94a.tar.bz2 marcuscom-ports-96eb249debe4930c196f92cacfdc7e918f76e94a.tar.lz marcuscom-ports-96eb249debe4930c196f92cacfdc7e918f76e94a.tar.xz marcuscom-ports-96eb249debe4930c196f92cacfdc7e918f76e94a.tar.zst marcuscom-ports-96eb249debe4930c196f92cacfdc7e918f76e94a.zip |
X11BASE -> LOCALBASE, share/gnome/pixmaps/splash lives in LOCALBASE. Bump the
PORTREVISION.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6929 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-themes')
6 files changed, 93 insertions, 0 deletions
diff --git a/x11-themes/gnome-splashscreen-manager/Makefile b/x11-themes/gnome-splashscreen-manager/Makefile new file mode 100644 index 000000000..d18e4fc23 --- /dev/null +++ b/x11-themes/gnome-splashscreen-manager/Makefile @@ -0,0 +1,51 @@ +# New ports collection makefile for: gnome-splashscreen-manager +# Date created: 2005-04-15 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gnome-splashscreen-manager +PORTVERSION= 0.2 +PORTREVISION= 2 +CATEGORIES= x11-themes +MASTER_SITES= http://www.miketech.net/gnome-art/download/ +DISTNAME= gnome-art-${PORTVERSION} + +MAINTAINER= ahze@FreeBSD.org +COMMENT= Gnome splash screen manager + +BUILD_DEPENDS= gnome-session:${PORTSDIR}/x11/gnome-session \ + ruby-glade-create-template:${PORTSDIR}/devel/ruby-libglade2 \ + ${RUBY_SITEARCHLIBDIR}/gnome2.so:${PORTSDIR}/x11/ruby-gnome2 \ + ${RUBY_SITEARCHLIBDIR}/gconf2.so:${PORTSDIR}/devel/ruby-gconf2 +RUN_DEPENDS= ${BUILD_DEPENDS} + +WRKSRC= ${WRKDIR}/gnome-art/${PORTNAME} +USE_RUBY= yes +USE_RUBY_SETUP= yes +GSPLASH= ${LOCALBASE}/share/gnome/pixmaps/splash +SPLASH_ICON= ${DATADIR}/glade/gnome-graphics.png + +post-patch: + @${SED} -e 's|%%COMMENT%%|${COMMENT}|; \ + s|%%SPLASH_ICON%%|${SPLASH_ICON}|' \ + < ${FILESDIR}/gnome-splashscreen-manager.desktop.in \ + > ${WRKDIR}/gnome-splashscreen-manager.desktop + cd ${WRKSRC}/lib/gnome-splashscreen-manager/ && \ + for file in `${FIND} ${GSPLASH} -type f` ; do \ + ${SED} -e 's|%%SPLASHSCREENS%%|\\n<splash_screen>\\n\\t<name>%%F%%</name>\\n\\t<filename>%%F%%</filename>\\n\\t<description>...</description>\\n\\t<author>?</author>\\n\\t<license>unknown</license>\\n</splash_screen>\\n%%SPLASHSCREENS%%|' \ + < gnome_splashscreen_manager.rb > gnome_splashscreen_manager.rb.bak ; \ + ${SED} -e "s|%%F%%|$${file}|g" < gnome_splashscreen_manager.rb.bak > gnome_splashscreen_manager.rb ; \ + done + @${REINPLACE_CMD} -e 's|%%SPLASHSCREENS%%||' \ + ${WRKSRC}/lib/gnome-splashscreen-manager/gnome_splashscreen_manager.rb + @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ + ${WRKSRC}/lib/gnome-splashscreen-manager/ui/main_window.rb + @${FIND} ${WRKSRC} -name '*.bak' -delete + +post-install: + ${MKDIR} ${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKDIR}/gnome-splashscreen-manager.desktop ${PREFIX}/share/applications + +.include <bsd.port.mk> diff --git a/x11-themes/gnome-splashscreen-manager/distinfo b/x11-themes/gnome-splashscreen-manager/distinfo new file mode 100644 index 000000000..84734a9e3 --- /dev/null +++ b/x11-themes/gnome-splashscreen-manager/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome-art-0.2.tar.gz) = 4dd59ba8a84efe8dcb5637ba051394e7 +SHA256 (gnome-art-0.2.tar.gz) = 87024a515b4968639d852fc8673edb048e250ce783c3f8f49adc00dc86a1c92d +SIZE (gnome-art-0.2.tar.gz) = 66415 diff --git a/x11-themes/gnome-splashscreen-manager/files/gnome-splashscreen-manager.desktop.in b/x11-themes/gnome-splashscreen-manager/files/gnome-splashscreen-manager.desktop.in new file mode 100644 index 000000000..255db928c --- /dev/null +++ b/x11-themes/gnome-splashscreen-manager/files/gnome-splashscreen-manager.desktop.in @@ -0,0 +1,11 @@ +# $FreeBSD +[Desktop Entry] +Encoding=UTF-8 +Name=Gnome Splash Screen Manager +Comment=%%COMMENT%% +Icon=%%SPLASH_ICON%% +Exec=gnome-splashscreen-manager +Terminal=false +Type=Application +Categories=GNOME;Application;Settings;AdvancedSettings; +OnlyShowIn=GNOME; diff --git a/x11-themes/gnome-splashscreen-manager/files/patch-lib_gnome-splashscreen-manager_gnome_splashscreen_manager.rb b/x11-themes/gnome-splashscreen-manager/files/patch-lib_gnome-splashscreen-manager_gnome_splashscreen_manager.rb new file mode 100644 index 000000000..d3ea180a1 --- /dev/null +++ b/x11-themes/gnome-splashscreen-manager/files/patch-lib_gnome-splashscreen-manager_gnome_splashscreen_manager.rb @@ -0,0 +1,11 @@ +--- lib/gnome-splashscreen-manager/gnome_splashscreen_manager.rb.orig Sun Apr 17 02:02:05 2005 ++++ lib/gnome-splashscreen-manager/gnome_splashscreen_manager.rb Sun Apr 17 02:06:02 2005 +@@ -41,7 +41,7 @@ + puts "Create SplashScreen-File" + splash_screens_file = File.new(file, File::CREAT|File::TRUNC|File::RDWR, 0644) + +- new_splash_screens_file = "<?xml version=\"1.0\"?>\n<splash_screens>\n</splash_screens>\n" ++ new_splash_screens_file = "<?xml version=\"1.0\"?>\n<splash_screens>\n%%SPLASHSCREENS%%\n<splash_screens>\n</splash_screens>\n" + + splash_screens_file.write(new_splash_screens_file) + diff --git a/x11-themes/gnome-splashscreen-manager/pkg-descr b/x11-themes/gnome-splashscreen-manager/pkg-descr new file mode 100644 index 000000000..ac7572703 --- /dev/null +++ b/x11-themes/gnome-splashscreen-manager/pkg-descr @@ -0,0 +1,3 @@ +Gnome splash screen manager + +WWW: http://www.miketech.net/gnome-art/ diff --git a/x11-themes/gnome-splashscreen-manager/pkg-plist b/x11-themes/gnome-splashscreen-manager/pkg-plist new file mode 100644 index 000000000..929a2d570 --- /dev/null +++ b/x11-themes/gnome-splashscreen-manager/pkg-plist @@ -0,0 +1,14 @@ +bin/gnome-splashscreen-manager +%%DATADIR%%/glade/gnome-graphics.png +%%DATADIR%%/glade/gnome_splashscreen_manager.glade +%%RUBY_SITELIBDIR%%/gnome_splashscreen_manager.rb +%%RUBY_SITELIBDIR%%/gnome-splashscreen-manager/gnome_splashscreen_manager.rb +%%RUBY_SITELIBDIR%%/gnome-splashscreen-manager/config.rb +%%RUBY_SITELIBDIR%%/gnome-splashscreen-manager/splash_screens.rb +%%RUBY_SITELIBDIR%%/gnome-splashscreen-manager/ui/main_window.rb +share/applications/gnome-splashscreen-manager.desktop +@dirrm %%RUBY_SITELIBDIR%%/gnome-splashscreen-manager/ui +@dirrm %%RUBY_SITELIBDIR%%/gnome-splashscreen-manager +@dirrm %%DATADIR%%/glade +@dirrm %%DATADIR%% +@dirrmtry share/applications |