svn commit: r303114 - head/graphics/founts

Jason Helfman jgh at FreeBSD.org
Sat Aug 25 06:08:49 UTC 2012


Author: jgh
Date: Sat Aug 25 06:08:48 2012
New Revision: 303114
URL: http://svn.freebsd.org/changeset/ports/303114

Log:
  - update to optionsNG for DOCS
  
  PR:	170749
  Submitted by:	nemysis at gmx.ch

Modified:
  head/graphics/founts/Makefile   (contents, props changed)

Modified: head/graphics/founts/Makefile
==============================================================================
--- head/graphics/founts/Makefile	Sat Aug 25 04:25:12 2012	(r303113)
+++ head/graphics/founts/Makefile	Sat Aug 25 06:08:48 2012	(r303114)
@@ -18,10 +18,12 @@ LICENSE=	GPLv2
 
 USE_SDL=	sdl
 
-PLIST_FILES=	bin/founts
+PLIST_FILES=	bin/${PORTNAME}
 
 PORTDOCS=	Changelog README
 
+.include <bsd.port.options.mk>
+
 do-build:
 	cd ${WRKSRC} && ${CC} -o ${PORTNAME} ${CFLAGS} \
 		-lm `${SDL_CONFIG} --cflags --libs` founts.c
@@ -29,8 +31,9 @@ do-build:
 do-install:
 # Executable
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
 # Documentation
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 .  for f in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}



More information about the svn-ports-all mailing list