Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2012 06:08:49 +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: r303114 - head/graphics/founts
Message-ID:  <201208250608.q7P68ncs087737@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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}



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