svn commit: r309747 - head/astro/roadmap

Baptiste Daroussin bapt at FreeBSD.org
Mon Dec 31 14:16:06 UTC 2012


Author: bapt
Date: Mon Dec 31 14:16:05 2012
New Revision: 309747
URL: http://svnweb.freebsd.org/changeset/ports/309747

Log:
  Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
  Trim headers

Modified:
  head/astro/roadmap/Makefile

Modified: head/astro/roadmap/Makefile
==============================================================================
--- head/astro/roadmap/Makefile	Mon Dec 31 14:14:55 2012	(r309746)
+++ head/astro/roadmap/Makefile	Mon Dec 31 14:16:05 2012	(r309747)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	RoadMap
-# Date created:				4 November 2002
-# Whom:					Nick Esborn <nick at netdot.net>
-#
+# Created by: Nick Esborn <nick at netdot.net>
 # $FreeBSD$
-#
 
 PORTNAME=	roadmap
 PORTVERSION=	1.2.1
@@ -44,6 +40,8 @@ DOCS=		Bugs ChangeLog Coding Configurati
 		Installation Map-Building Map-Designing Map-Format \
 		OpenStreetMap Platforms Quickstart Status ToDo Usage
 
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|-O ||g ; \
 		 s|/usr/include|${LOCALBASE}/include|g ; \
@@ -68,7 +66,7 @@ do-install:
 .for _DATA in ${DATA}
 	${INSTALL_DATA} ${INSTALL_WRKSRC}/${_DATA} ${DATADIR}/${_DATA}
 .endfor
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
 .for _DOC in ${DOCS}


More information about the svn-ports-all mailing list