Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2012 21:45:11 +0000 (UTC)
From:      Jason Helfman <jgh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303158 - head/games/syobon
Message-ID:  <201208252145.q7PLjBZf001221@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jgh
Date: Sat Aug 25 21:45:11 2012
New Revision: 303158
URL: http://svn.freebsd.org/changeset/ports/303158

Log:
  - port requires data
  - adopt optionsNG for DOCS
  
  PR:	170744
  Submitted by:	maintainer, nemysis@gmx.ch

Modified:
  head/games/syobon/Makefile   (contents, props changed)

Modified: head/games/syobon/Makefile
==============================================================================
--- head/games/syobon/Makefile	Sat Aug 25 21:08:37 2012	(r303157)
+++ head/games/syobon/Makefile	Sat Aug 25 21:45:11 2012	(r303158)
@@ -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}
@@ -30,13 +31,18 @@ PORTDATA=	*
 
 MAKE_ENV=	GAMEDATA="${DATADIR}"
 
+.include <bsd.port.options.mk>
+
 do-install:
+# Executable
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.if !defined(NOPORTDATA)
+
+# Data
 	${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



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