aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-05-23 02:04:46 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-05-23 02:04:46 +0000
commit110a55d43b8ba0f151b01298095e235a5d2757f2 (patch)
tree9ca87be412d4b0cbae9795dd9420bd312336feb8 /misc
parente7a9972481afabde0202a08e7ac27e1f1793ba9b (diff)
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/metromap/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/misc/metromap/Makefile b/misc/metromap/Makefile
index 6a772db7e2fd..89d6d6b4fea7 100644
--- a/misc/metromap/Makefile
+++ b/misc/metromap/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: metromap
-# Date created: 2005-07-01
-# Whom: Vsevolod Stakhov <vsevolod@highsecure.ru>
-#
+# Created by: Vsevolod Stakhov <vsevolod@highsecure.ru>
# $FreeBSD$
-#
PORTNAME= metromap
PORTVERSION= 0.1.4
@@ -26,13 +22,15 @@ USES= gettext
PORTDOCS= AUTHORS NEWS README README.data TODO
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's,/usr,${PREFIX},' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's,make,${GMAKE},' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's,/usr/bin/python,${SETENV} python,' ${WRKSRC}/metromap.py
@${RM} -f ${WRKSRC}/modules/ReadMap.py.orig
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
post-install:
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}