From 771539cd45da4c92780dcf69cecf103b6b1c9ff9 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Mon, 26 Aug 2013 17:23:59 +0000 Subject: - Install an icon and use it in a desktop file PR: 181499 Submitted by: myself Approved by: Tom Carrick (maintainer) --- emulators/dosbox/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'emulators/dosbox') diff --git a/emulators/dosbox/Makefile b/emulators/dosbox/Makefile index feb3db9178a8..c2050ad1a481 100644 --- a/emulators/dosbox/Makefile +++ b/emulators/dosbox/Makefile @@ -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/png 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} -- cgit v1.2.3