aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/cairomm
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-04 08:09:47 +0800
committeradamw <adamw@FreeBSD.org>2014-07-04 08:09:47 +0800
commit8c1f5c8be901fc3a33720a12ff6eb036b5908767 (patch)
tree3645a10ed72391740d754f21302e9a7bd1e2f8ed /graphics/cairomm
parente198670a20bdb15ca6c0680cc2882da2d1ab6db8 (diff)
downloadfreebsd-ports-gnome-8c1f5c8be901fc3a33720a12ff6eb036b5908767.tar.gz
freebsd-ports-gnome-8c1f5c8be901fc3a33720a12ff6eb036b5908767.tar.zst
freebsd-ports-gnome-8c1f5c8be901fc3a33720a12ff6eb036b5908767.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
Diffstat (limited to 'graphics/cairomm')
-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