Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2012 06:25: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: r303117 - head/games/impossible_mission_puzzle
Message-ID:  <201208250625.q7P6PBfU090141@svn.freebsd.org>

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

Log:
  - adopt optionsNG for DOCS
  
  PR:	170727
  Submitted by:	maintainer, nemysis@gmx.ch

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

Modified: head/games/impossible_mission_puzzle/Makefile
==============================================================================
--- head/games/impossible_mission_puzzle/Makefile	Sat Aug 25 06:22:11 2012	(r303116)
+++ head/games/impossible_mission_puzzle/Makefile	Sat Aug 25 06:25:11 2012	(r303117)
@@ -26,6 +26,8 @@ PLIST_FILES=	bin/impossible_mission_puzz
 
 PORTDOCS=	README
 
+.include <bsd.port.options.mk>
+
 do-build:
 	@cd ${WRKSRC} && ${CC} -o ${PORTNAME} ${CFLAGS} \
 	`${SDL_CONFIG} --cflags --libs` puzzle.c
@@ -35,7 +37,7 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
 
 # Documentation
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
 .endif



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