diff options
Diffstat (limited to 'graphics/cairomm/Makefile')
-rw-r--r-- | graphics/cairomm/Makefile | 9 |
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 |