Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2018 10:01:18 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478542 - head/audio/fasttracker2
Message-ID:  <201808311001.w7VA1IRZ086443@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Aug 31 10:01:18 2018
New Revision: 478542
URL: https://svnweb.freebsd.org/changeset/ports/478542

Log:
  - Install desktop icon
  - Provide a .desktop entry

Modified:
  head/audio/fasttracker2/Makefile

Modified: head/audio/fasttracker2/Makefile
==============================================================================
--- head/audio/fasttracker2/Makefile	Fri Aug 31 09:51:04 2018	(r478541)
+++ head/audio/fasttracker2/Makefile	Fri Aug 31 10:01:18 2018	(r478542)
@@ -3,6 +3,7 @@
 
 PORTNAME=	fasttracker2
 DISTVERSION=	0.1-b91
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	https://16-bits.org/ \
 		LOCAL/ehaupt
@@ -22,8 +23,15 @@ USE_SDL=	sdl2
 
 WRKSRC=		${WRKDIR}/ft2-clone-code
 
-PLIST_FILES=	bin/fasttracker2
+DESKTOP_ENTRIES="FastTracker II" \
+		"${COMMENT}" \
+		"${PREFIX}/share/pixmaps/ft2-clone.ico" \
+		"fasttracker2" \
+		"" \
+		false
 
+PLIST_FILES=	bin/fasttracker2 share/pixmaps/ft2-clone.ico
+
 OPTIONS_DEFINE=	ALSA
 OPTIONS_DEFAULT=ALSA
 
@@ -39,6 +47,9 @@ do-build:
 		-o ${WRKSRC}/${PORTNAME}
 
 do-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/src/gfxdata/icon/ft2-clone.ico \
+		${STAGEDIR}${PREFIX}/share/pixmaps
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808311001.w7VA1IRZ086443>