Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2013 15:57:28 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336179 - head/games/black-box
Message-ID:  <201312111557.rBBFvSMg036579@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Wed Dec 11 15:57:28 2013
New Revision: 336179
URL: http://svnweb.freebsd.org/changeset/ports/336179

Log:
  - Change Makefile header
  - Change master sites
  - Change maintainer email to @FreeBSD.org
  - Add DOCS Option amd remove INSTALL
  - Support STAGEDIR
  - Change desktop entry
  - Break lines around 80 characters
  
  Approved by:	pawel / wg (mentors, implicit)

Modified:
  head/games/black-box/Makefile

Modified: head/games/black-box/Makefile
==============================================================================
--- head/games/black-box/Makefile	Wed Dec 11 15:49:23 2013	(r336178)
+++ head/games/black-box/Makefile	Wed Dec 11 15:57:28 2013	(r336179)
@@ -1,4 +1,4 @@
-# Created by: nemysis@gmx.ch
+# Created by: nemysis <nemysis@gmx.ch>
 # $FreeBSD$
 
 PORTNAME=	black-box
@@ -6,34 +6,32 @@ PORTVERSION=	1.4.8
 PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	http://www.linux-games.com/black-box/ \
-		SF/nemysisfreebsdp/:icons
+		SF/nemysisfreebsdp/${CATEGORIES}/:icons
 DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
 		${PORTNAME}.png:icons
 DIST_SUBDIR=	${PORTNAME}
 EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
 
-MAINTAINER=	nemysis@gmx.ch
+MAINTAINER=	nemysis@FreeBSD.org
 COMMENT=	Shoot in and watch where the shot leaves the box
 
 LICENSE=	GPLv2
 
-GNU_CONFIGURE=	yes
 USE_SDL=	sdl image mixer
+GNU_CONFIGURE=	yes
 
-PORTDOCS=	AUTHORS ChangeLog INSTALL NEWS README
+PORTDOCS=	AUTHORS ChangeLog NEWS README
 
-DESKTOP_ENTRIES="Black-Box" "${COMMENT}" "${PORTNAME}" \
-		"${PORTNAME}" "Game;ArcadeGame;" ${FALSE}
+OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+DESKTOP_ENTRIES="Black-Box" "" "${PORTNAME}" \
+		"${PORTNAME}" "Game;ArcadeGame;" ""
 
 post-install:
-	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
+	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
+		${STAGEDIR}${PREFIX}/share/pixmaps/
 
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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