Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Aug 2012 16:57:41 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jgh@FreeBSD.org
Subject:   ports/170744: [MAINTAINER] games/syobon: Makefile changed, OptionsNG
Message-ID:  <20120818145745.904B0106564A@hub.freebsd.org>
Resent-Message-ID: <201208181500.q7IF0MDj058057@freefall.freebsd.org>

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

>Number:         170744
>Category:       ports
>Synopsis:       [MAINTAINER] games/syobon: 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 15:00:22 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:

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:

--- syobon-1.0.1_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/syobon/Makefile ./Makefile
--- /usr/ports/games/syobon/Makefile	2012-05-15 11:58:14.000000000 +0200
+++ ./Makefile	2012-08-18 16:50:22.000000000 +0200
@@ -7,6 +7,7 @@
 
 PORTNAME=	syobon
 PORTVERSION=	1.0.1
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	http://download.zapek.com/software/${PORTNAME}/
 DISTNAME=	${PORTNAME}_${PORTVERSION}
@@ -25,18 +26,25 @@
 
 PLIST_FILES=	bin/${PORTNAME}
 
-PORTDOCS=	README.txt
 PORTDATA=	*
+PORTDOCS=	README.txt
 
 MAKE_ENV=	GAMEDATA="${DATADIR}"
 
+.include <bsd.port.options.mk>
+
 do-install:
+# Executable
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+# Data
 .if !defined(NOPORTDATA)
 	${MKDIR} ${DATADIR}
 	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "BGM SE res" ${DATADIR})
 .endif
-.if !defined(NOPORTDOCS)
+
+# Documentation
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
 .endif
--- syobon-1.0.1_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?20120818145745.904B0106564A>