Date: Mon, 31 Dec 2012 14:16:06 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309747 - head/astro/roadmap Message-ID: <201212311416.qBVEG68G047884@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@netdot.net> -# +# Created by: Nick Esborn <nick@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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212311416.qBVEG68G047884>