svn commit: r318998 - head/emulators/dosbox
Pawel Pekala
pawel at FreeBSD.org
Fri May 24 17:48:47 UTC 2013
Author: pawel
Date: Fri May 24 17:48:46 2013
New Revision: 318998
URL: http://svnweb.freebsd.org/changeset/ports/318998
Log:
- 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 at gmx.de> [1]
Approved by: maintainer
Modified:
head/emulators/dosbox/Makefile (contents, props changed)
Modified: head/emulators/dosbox/Makefile
==============================================================================
--- head/emulators/dosbox/Makefile Fri May 24 17:41:51 2013 (r318997)
+++ head/emulators/dosbox/Makefile Fri May 24 17:48:46 2013 (r318998)
@@ -1,18 +1,14 @@
-# New ports collection makefile for: dosbox
-# Date created: 28 July 2002
-# Whom: Tom Carrick <knyghtmare at knyghtmare.com>
-#
+# Created by: Tom Carrick <knyghtmare at knyghtmare.com>
# $FreeBSD$
-#
PORTNAME= dosbox
PORTVERSION= 0.74
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= emulators
MASTER_SITES= SF
MAINTAINER= knyght at 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}
More information about the svn-ports-all
mailing list