aboutsummaryrefslogtreecommitdiff
path: root/math/givaro
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-06-05 14:11:19 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-06-05 14:11:19 +0000
commitf0a27c9d1e21708adb37dacd3ab2eedc42f8de41 (patch)
treeec1089fe1fadf7b9d5cd9edb4c02870285b16ea9 /math/givaro
parent3d895fa85950b077cf12aa31f0c7de85288e1df1 (diff)
downloadports-f0a27c9d1e21708adb37dacd3ab2eedc42f8de41.tar.gz
ports-f0a27c9d1e21708adb37dacd3ab2eedc42f8de41.zip
Convert to new options framework
Notes
Notes: svn path=/head/; revision=319993
Diffstat (limited to 'math/givaro')
-rw-r--r--math/givaro/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/math/givaro/Makefile b/math/givaro/Makefile
index 678396b47eaa..5cd15234b673 100644
--- a/math/givaro/Makefile
+++ b/math/givaro/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: givaro
-# Date created: 5 Oct 2011
-# Whom: b.f. <bf@FreeBSD.org>
-#
+# Created by: b.f. <bf@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= givaro
PORTVERSION= 3.5.0
@@ -28,7 +24,7 @@ USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
-.if defined(WITH_DOCS) && !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS) && !defined(NOPORTDOCS}
BUILD_DEPENDS += doxygen:${PORTSDIR}/devel/doxygen
CONFIGURE_ARGS+= --enable-doc --with-docdir="${DOCSDIR}"
.elifndef(NOPORTDOCS)
@@ -46,11 +42,11 @@ post-patch:
-e '/^WARN_CFLAGS="-Wall"/d' \
-e '/if test "x$$WARN" = "xyes"/s/$$/ WARN_CFLAGS="-Wall" ;/' \
${WRKSRC}/configure
-.if defined(WITH_DOCS) && !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS) && !defined(NOPORTDOCS}
@${REINPLACE_CMD} -e 's/sed -i/& ""/' ${WRKSRC}/docs/Makefile.in
.endif
-.if defined(WITH_DOCS) && !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS) && !defined(NOPORTDOCS}
post-install:
@${TOUCH} ${DOCSDIR}/givaro-dev-html/.keep-me