summaryrefslogtreecommitdiff
path: root/graphics/jasper
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/jasper')
-rw-r--r--graphics/jasper/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/jasper/Makefile b/graphics/jasper/Makefile
index fcfbee3d88d2..222402d3117f 100644
--- a/graphics/jasper/Makefile
+++ b/graphics/jasper/Makefile
@@ -20,7 +20,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-shared --enable-static
USE_LDCONFIG= yes
-OPTIONS_DEFINE= OPENGL UUID DOCS
+OPTIONS_DEFINE= OPENGL UUID DOCS
UUID_DESC= UUID support (required by GDAL)
.include <bsd.port.options.mk>
@@ -39,10 +39,8 @@ PLIST_SUB+= OPENGL="@comment "
EXTRA_PATCHES+= ${FILESDIR}/uuid.patch
.endif
-.if ${PORT_OPTIONS:MDOCS}
-post-install:
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}/
-.endif
.include <bsd.port.mk>