svn commit: r302851 - head/games/sets

Jason Helfman jgh at FreeBSD.org
Tue Aug 21 09:21:36 UTC 2012


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 at 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>



More information about the svn-ports-all mailing list