aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-12-16 17:45:54 +0800
committermiwi <miwi@FreeBSD.org>2006-12-16 17:45:54 +0800
commit896e5bca1a6ceca0783bf8c8d423f5e75aba0cdd (patch)
treec0ed61f45bc4a41b26364f3109e8655b110dc270 /sysutils
parentd3490f3f6567e2f49cebd83859ecc65f5852d750 (diff)
downloadfreebsd-ports-gnome-896e5bca1a6ceca0783bf8c8d423f5e75aba0cdd.tar.gz
freebsd-ports-gnome-896e5bca1a6ceca0783bf8c8d423f5e75aba0cdd.tar.zst
freebsd-ports-gnome-896e5bca1a6ceca0783bf8c8d423f5e75aba0cdd.zip
- Install icons
Submitted by: farrokhi
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/isomaster/Makefile7
-rw-r--r--sysutils/isomaster/files/isomaster.desktop13
-rw-r--r--sysutils/isomaster/pkg-plist4
3 files changed, 24 insertions, 0 deletions
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 <bsd.port.pre.mk>
.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