aboutsummaryrefslogtreecommitdiff
path: root/graphics/cairomm/Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:09:47 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:09:47 +0000
commitde494a80910bba9be314cb2d32f0c7e07de7b33f (patch)
tree3645a10ed72391740d754f21302e9a7bd1e2f8ed /graphics/cairomm/Makefile
parentac9d42d09cab6b10f5e477912a5983632bb16014 (diff)
downloadports-de494a80910bba9be314cb2d32f0c7e07de7b33f.tar.gz
ports-de494a80910bba9be314cb2d32f0c7e07de7b33f.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
Notes
Notes: svn path=/head/; revision=360491
Diffstat (limited to 'graphics/cairomm/Makefile')
-rw-r--r--graphics/cairomm/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/graphics/cairomm/Makefile b/graphics/cairomm/Makefile
index c2242e4ba2ba..d07ece4e0476 100644
--- a/graphics/cairomm/Makefile
+++ b/graphics/cairomm/Makefile
@@ -22,10 +22,13 @@ CONFIGURE_ENV= AUTOMAKE="${TRUE}" AUTOCONF="${TRUE}" DOXYGEN="${TRUE}"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-.if defined(NOPORTDOCS)
-CONFIGURE_ARGS+= --disable-documentation
+OPTIONS_DEFINE= DOCS
-.else
+DOCS_CONFIGURE_ARGS_OFF= --disable-documentation
+
+.include <bsd.port.options.mk>
+
+.if empty(PORT_OPTIONS:MDOCS)
post-configure:
@${TOUCH} -f ${WRKSRC}/docs/reference/html/index.html
.endif