Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Aug 2012 15:18:14 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jgh@FreeBSD.org
Subject:   ports/170740: [MAINTAINER] games/sdl_scavenger: Makefile changed, OptionsNG
Message-ID:  <20120818131817.CB3621065670@hub.freebsd.org>
Resent-Message-ID: <201208181320.q7IDK7en047257@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         170740
>Category:       ports
>Synopsis:       [MAINTAINER] games/sdl_scavenger: Makefile changed, OptionsNG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 18 13:20:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC
>Description:

Makefile changed:

Added

.if !defined (NOPORTDATA)

OptionsNG

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDOCS}

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- sdl_scavenger-145.1.2010.11.5_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/sdl_scavenger/Makefile ./Makefile
--- /usr/ports/games/sdl_scavenger/Makefile	2012-04-27 20:09:10.000000000 +0200
+++ ./Makefile	2012-08-18 15:10:59.000000000 +0200
@@ -7,6 +7,7 @@
 
 PORTNAME=	sdl_scavenger
 PORTVERSION=	145.1.2010.11.5
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	SF/sdlscavenger/
 DISTNAME=	sdlscav-145.1_2010_11_5
@@ -31,6 +32,8 @@
 
 ALL_TARGET=
 
+.include <bsd.port.options.mk>
+
 post-patch:
 		@${REINPLACE_CMD} -e 's|data:/usr/local/games/scavenger|data:${DATADIR}/data|' \
 			${WRKSRC}/names.h
@@ -39,15 +42,17 @@
 # Executable
 	${INSTALL_PROGRAM} ${WRKSRC}/sdlscav ${PREFIX}/bin/sdlscavenger
 
-# Pixmaps
-	${CP} ${WRKSRC}/data/scav.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
-
 # Data
+.if !defined (NOPORTDATA)
 	${MKDIR} ${DATADIR}
 	@(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${DATADIR})
+.endif
+
+# Pixmaps
+	${CP} ${WRKSRC}/data/scav.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
 
-# Documentations
-.if !defined(NOPORTDOCS)
+# Documentation
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 .for f in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
--- sdl_scavenger-145.1.2010.11.5_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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