svn commit: r325405 - head/emulators/dosbox

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Aug 26 17:24:00 UTC 2013


Author: amdmi3
Date: Mon Aug 26 17:23:59 2013
New Revision: 325405
URL: http://svnweb.freebsd.org/changeset/ports/325405

Log:
  - Install an icon and use it in a desktop file
  
  PR:		181499
  Submitted by:	myself
  Approved by:	Tom Carrick <knyght at gmail.com> (maintainer)

Modified:
  head/emulators/dosbox/Makefile

Modified: head/emulators/dosbox/Makefile
==============================================================================
--- head/emulators/dosbox/Makefile	Mon Aug 26 17:14:16 2013	(r325404)
+++ head/emulators/dosbox/Makefile	Mon Aug 26 17:23:59 2013	(r325405)
@@ -3,7 +3,7 @@
 
 PORTNAME=	dosbox
 PORTVERSION=	0.74
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	emulators
 MASTER_SITES=	SF
 
@@ -14,7 +14,7 @@ LIB_DEPENDS=	png15:${PORTSDIR}/graphics/
 
 GNU_CONFIGURE=	yes
 USE_SDL=	sdl net sound
-PLIST_FILES=	bin/dosbox
+PLIST_FILES=	bin/dosbox share/pixmaps/dosbox.ico
 PORTDOCS=	NEWS README
 
 MAN1=		dosbox.1
@@ -24,7 +24,7 @@ CPPFLAGS+=		-I${LOCALBASE}/include
 CONFIGURE_ARGS+=	--enable-core-inline
 
 DESKTOP_ENTRIES="DOSBox" "${COMMENT}" \
-		"" "dosbox" \
+		"${PREFIX}/share/pixmaps/dosbox.ico" "dosbox" \
 		"System;Emulator;" "true"
 
 OPTIONS_RADIO=	DEBUGGER
@@ -46,6 +46,7 @@ post-patch:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/dosbox ${PREFIX}/bin/dosbox
+	${INSTALL_DATA} ${WRKSRC}/src/dosbox.ico ${PREFIX}/share/pixmaps/
 	${INSTALL_MAN} ${WRKSRC}/docs/dosbox.1 ${MAN1PREFIX}/man/man1/
 .if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}


More information about the svn-ports-all mailing list