summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-12-31 14:16:05 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-12-31 14:16:05 +0000
commitf55bfaf2cf206f4f9496d666e268cc57e23d38ee (patch)
tree9ef2ecb7509b274d7182b2e7b751335f1ab56bb7 /astro
parentUse PORT_OPTIONS for both EXAMPLES and DOCS (diff)
Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
Trim headers
Notes
Notes: svn path=/head/; revision=309747
Diffstat (limited to 'astro')
-rw-r--r--astro/roadmap/Makefile10
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}