diff options
author | pawel <pawel@FreeBSD.org> | 2013-05-25 01:48:46 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2013-05-25 01:48:46 +0800 |
commit | bb4106bd03729652b75f0c64f52350ebd1f8e60d (patch) | |
tree | 4663c47ae6e1cfd389561428ec5c52072ff093db /emulators | |
parent | c7d9910ba34dde3ff0248d85b0032bde9caf3358 (diff) | |
download | freebsd-ports-gnome-bb4106bd03729652b75f0c64f52350ebd1f8e60d.tar.gz freebsd-ports-gnome-bb4106bd03729652b75f0c64f52350ebd1f8e60d.tar.zst freebsd-ports-gnome-bb4106bd03729652b75f0c64f52350ebd1f8e60d.zip |
- Add desktop entry file [1]
- Remove leading article from COMMENT
- Convert to OptionsNG
- Trim Makefile header
PR: ports/178727 [1]
Submitted by: Hardy Schumacher <hardy.schumacher@gmx.de> [1]
Approved by: maintainer
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/dosbox/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/emulators/dosbox/Makefile b/emulators/dosbox/Makefile index 1554213e83c1..d76d9a7e5519 100644 --- a/emulators/dosbox/Makefile +++ b/emulators/dosbox/Makefile @@ -1,18 +1,14 @@ -# New ports collection makefile for: dosbox -# Date created: 28 July 2002 -# Whom: Tom Carrick <knyghtmare@knyghtmare.com> -# +# Created by: Tom Carrick <knyghtmare@knyghtmare.com> # $FreeBSD$ -# PORTNAME= dosbox PORTVERSION= 0.74 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= emulators MASTER_SITES= SF MAINTAINER= knyght@gmail.com -COMMENT= An emulator of a PC with DOS +COMMENT= Emulator of a PC with DOS LIB_DEPENDS= png15:${PORTSDIR}/graphics/png @@ -27,6 +23,12 @@ PKGMESSAGE= ${WRKDIR}/pkg-message CPPFLAGS+= -I${LOCALBASE}/include CONFIGURE_ARGS+= --enable-core-inline +DESKTOP_ENTRIES="DOSBox" "${COMMENT}" \ + "" "dosbox" \ + "System;Emulator;" "true" + +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e 's#\/usr\/share\/doc\/dosbox#${DOCSDIR}#g' \ ${WRKSRC}/docs/dosbox.1 @@ -34,7 +36,7 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/dosbox ${PREFIX}/bin/dosbox ${INSTALL_MAN} ${WRKSRC}/docs/dosbox.1 ${MAN1PREFIX}/man/man1/ -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} |