svn commit: r409275 - head/www/mod_auth_mysql2
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Feb 21 10:17:45 UTC 2016
Author: amdmi3
Date: Sun Feb 21 10:17:44 2016
New Revision: 409275
URL: https://svnweb.freebsd.org/changeset/ports/409275
Log:
- Switch to USES=tar
- Switch to options helpers
Modified:
head/www/mod_auth_mysql2/Makefile
Modified: head/www/mod_auth_mysql2/Makefile
==============================================================================
--- head/www/mod_auth_mysql2/Makefile Sun Feb 21 09:51:24 2016 (r409274)
+++ head/www/mod_auth_mysql2/Makefile Sun Feb 21 10:17:44 2016 (r409275)
@@ -8,7 +8,6 @@ CATEGORIES= www
MASTER_SITES= http://www.heuer.org/mod_auth_mysql/old/
PKGNAMESUFFIX= 2
DISTNAME= ${PORTNAME}_${PORTVERSION}
-EXTRACT_SUFX= .tgz
DIST_SUBDIR= apache2
MAINTAINER= ports at FreeBSD.org
@@ -16,6 +15,7 @@ COMMENT= MySQL-based authentication modu
LICENSE= APACHE20
+USES= tar:tgz
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_MYSQL= yes
USE_APACHE= 22+
@@ -24,14 +24,14 @@ AP_GENPLIST= yes
AP_INC+= ${LOCALBASE}/include/mysql
AP_LIB+= ${LOCALBASE}/lib/mysql -lmysqlclient
-.if defined(WITH_OPENSSL)
-USE_OPENSSL= yes
-AP_EXTRAS+= -DMYSQL_USE_SSL
-.endif
-
PORTDOCS= INSTALL example_data.html htpasswd.sql
-post-install:
+OPTIONS_DEFINE= DOCS OPENSSL
+
+OPENSSL_USE= OPENSSL=yes
+OPENSSL_VARS= AP_EXTRAS+=-DMYSQL_USE_SSL
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
More information about the svn-ports-head
mailing list