From 896e5bca1a6ceca0783bf8c8d423f5e75aba0cdd Mon Sep 17 00:00:00 2001 From: miwi Date: Sat, 16 Dec 2006 09:45:54 +0000 Subject: - Install icons Submitted by: farrokhi --- sysutils/isomaster/Makefile | 7 +++++++ sysutils/isomaster/files/isomaster.desktop | 13 +++++++++++++ sysutils/isomaster/pkg-plist | 4 ++++ 3 files changed, 24 insertions(+) create mode 100644 sysutils/isomaster/files/isomaster.desktop (limited to 'sysutils') diff --git a/sysutils/isomaster/Makefile b/sysutils/isomaster/Makefile index d50643dd8fbd..b4157f71b300 100644 --- a/sysutils/isomaster/Makefile +++ b/sysutils/isomaster/Makefile @@ -7,6 +7,7 @@ PORTNAME= isomaster PORTVERSION= 0.6 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://littlesvr.ca/isomaster/releases/ @@ -26,6 +27,12 @@ CFLAGS+= ${PTHREAD_CFLAGS} ${PTHREAD_LIBS:S/"//g} \ -D_FILE_OFFSET_BITS=64 \ `pkg-config --cflags gtk+-2.0` +post-install: + ${MKDIR} ${PREFIX}/share/applications + ${INSTALL_DATA} ${FILESDIR}/isomaster.desktop ${PREFIX}/share/applications + ${MKDIR} ${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${WRKSRC}/icons/isomaster.png ${PREFIX}/share/pixmaps/isomaster.png + .include .if ${OSVERSION} < 500000 diff --git a/sysutils/isomaster/files/isomaster.desktop b/sysutils/isomaster/files/isomaster.desktop new file mode 100644 index 000000000000..e425c3996713 --- /dev/null +++ b/sysutils/isomaster/files/isomaster.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Name=ISO Master +Type=Application +Exec=isomaster +Icon=isomaster.png +GenericName=CD image editor +Comment=CD image editor +Terminal=false +MimeType=application/x-iso; +X-KDE-StartupNotify=true +Categories=Application;AudioVideo;DiscBurning; diff --git a/sysutils/isomaster/pkg-plist b/sysutils/isomaster/pkg-plist index d28e02e6ae0b..022d252fb5be 100644 --- a/sysutils/isomaster/pkg-plist +++ b/sysutils/isomaster/pkg-plist @@ -1,7 +1,11 @@ bin/isomaster +share/applications/isomaster.desktop %%DATADIR%%/icons/add2-kearone.png %%DATADIR%%/icons/extract-kearone.png %%DATADIR%%/icons/folder-new-tango.png %%DATADIR%%/icons/isomaster.png +share/pixmaps/isomaster.png +@dirrmtry share/pixmaps @dirrm %%DATADIR%%/icons @dirrm %%DATADIR%% +@dirrmtry share/applications -- cgit