diff options
author | garga <garga@FreeBSD.org> | 2012-07-03 06:09:39 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2012-07-03 06:09:39 +0800 |
commit | a0b1029d569aedaebb8815190c1067a402ba0715 (patch) | |
tree | 2e58592a26826bfe4991a078742dc2c572066f00 /security/scanhill | |
parent | bf90cc4eae14a39f69a5d7873bf0a7d0dc9930d9 (diff) | |
download | freebsd-ports-gnome-a0b1029d569aedaebb8815190c1067a402ba0715.tar.gz freebsd-ports-gnome-a0b1029d569aedaebb8815190c1067a402ba0715.tar.zst freebsd-ports-gnome-a0b1029d569aedaebb8815190c1067a402ba0715.zip |
Move to OPTIONSng
Diffstat (limited to 'security/scanhill')
-rw-r--r-- | security/scanhill/Makefile | 6 |
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} |