Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2012 09:21:36 +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: r302851 - head/games/sets
Message-ID:  <201208210921.q7L9Lap7004386@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jgh
Date: Tue Aug 21 09:21:36 2012
New Revision: 302851
URL: http://svn.freebsd.org/changeset/ports/302851

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

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

Modified: head/games/sets/Makefile
==============================================================================
--- head/games/sets/Makefile	Tue Aug 21 09:15:20 2012	(r302850)
+++ head/games/sets/Makefile	Tue Aug 21 09:21:36 2012	(r302851)
@@ -20,21 +20,21 @@ USE_GMAKE=	yes
 ALL_TARGET=	${PORTNAME}
 USE_SDL=	sdl image
 
-PLIST_FILES=	bin/sets
+PLIST_FILES=	bin/${PORTNAME}
 
 PORTDOCS=	README
 
+.include <bsd.port.options.mk>
+
 do-install:
 # Executable
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
 
 post-install:
 # Documentation
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
-.  for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.  endfor
+	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>



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