diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-12-31 14:16:05 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-12-31 14:16:05 +0000 |
commit | f55bfaf2cf206f4f9496d666e268cc57e23d38ee (patch) | |
tree | 9ef2ecb7509b274d7182b2e7b751335f1ab56bb7 | |
parent | ea9be90bac2538c364668bd8e7aac10fc05648ac (diff) | |
download | ports-f55bfaf2cf206f4f9496d666e268cc57e23d38ee.tar.gz ports-f55bfaf2cf206f4f9496d666e268cc57e23d38ee.zip |
Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
Trim headers
Notes
Notes:
svn path=/head/; revision=309747
-rw-r--r-- | astro/roadmap/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/astro/roadmap/Makefile b/astro/roadmap/Makefile index fbdccca7e9dd..5657a865eb2a 100644 --- a/astro/roadmap/Makefile +++ b/astro/roadmap/Makefile @@ -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 Configuration Developer-Guide \ 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} |