aboutsummaryrefslogtreecommitdiff
path: root/archivers/squeeze
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2012-05-30 16:49:12 +0000
committerMartin Wilke <miwi@FreeBSD.org>2012-05-30 16:49:12 +0000
commit4b68fc723bc6478544954fa1a7554ca5c269f611 (patch)
tree752bd2703b89f85a96b337b223e14ab4bb621705 /archivers/squeeze
parent66521294b08078847ba4c56a6423c20cf34d68f8 (diff)
downloadports-4b68fc723bc6478544954fa1a7554ca5c269f611.tar.gz
ports-4b68fc723bc6478544954fa1a7554ca5c269f611.zip
Notes
Diffstat (limited to 'archivers/squeeze')
-rw-r--r--archivers/squeeze/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/archivers/squeeze/Makefile b/archivers/squeeze/Makefile
index 5e7daff7cd18..4da694c1b1b7 100644
--- a/archivers/squeeze/Makefile
+++ b/archivers/squeeze/Makefile
@@ -32,11 +32,11 @@ USE_LDCONFIG= yes
USE_GETTEXT= yes
MAKE_JOB_SAFE= yes
-OPTIONS= GTKDOC "Enable GTK html documentation" off
+OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
-.if defined(WITH_GTKDOC)
+.if ${PORT_OPTIONS:MDOCS}
PLIST_SUB= GTKDOC=""
.else
PLIST_SUB= GTKDOC="@comment "
@@ -44,7 +44,7 @@ PLIST_SUB= GTKDOC="@comment "
post-patch:
# Needed to remove gtk-doc installation
-.if !defined(WITH_GTKDOC)
+.if emty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} -e "s|docs||g" ${WRKSRC}/Makefile.in
.endif