aboutsummaryrefslogtreecommitdiff
path: root/security/scanhill
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2012-07-02 22:09:39 +0000
committerRenato Botelho <garga@FreeBSD.org>2012-07-02 22:09:39 +0000
commitcbba1c46895e3ec19781a36b7a45c6e2c7a26880 (patch)
tree0b6a4416bcdd7d6611e1a6fe62e42a1d897cd269 /security/scanhill
parent9b070f7d335502c03d4528e298f7cba800c1390f (diff)
downloadports-cbba1c46895e3ec19781a36b7a45c6e2c7a26880.tar.gz
ports-cbba1c46895e3ec19781a36b7a45c6e2c7a26880.zip
Notes
Diffstat (limited to 'security/scanhill')
-rw-r--r--security/scanhill/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/scanhill/Makefile b/security/scanhill/Makefile
index 1abbe9977bba..2a38a431e5ee 100644
--- a/security/scanhill/Makefile
+++ b/security/scanhill/Makefile
@@ -23,11 +23,11 @@ MAKE_JOBS_SAFE= yes
PORTDOCS= README.txt INSTALL.txt mysql.sql
-OPTIONS= MYSQL "Enable MySQL support" off
+OPTIONS_DEFINE= MYSQL
.include <bsd.port.pre.mk>
-.if defined(WITH_MYSQL)
+.if ${PORT_OPTIONS:MMYSQL}
CONFIGURE_ARGS+= --enable-mysql
USE_MYSQL= yes
.endif
@@ -38,7 +38,7 @@ do-install:
.if !exists(${PREFIX}/etc/scanhill.conf)
${INSTALL_DATA} ${WRKSRC}/scanhill.conf ${PREFIX}/etc/
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
. for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}