diff options
author | Olli Hauer <ohauer@FreeBSD.org> | 2013-12-15 22:11:20 +0000 |
---|---|---|
committer | Olli Hauer <ohauer@FreeBSD.org> | 2013-12-15 22:11:20 +0000 |
commit | 8136ee5a9f5c3f3e66da24d4274044b6e9925608 (patch) | |
tree | 04a297afc1f15cc989bfa9a4b4fac1df43caa203 /www/mod_auth_mysql2 | |
parent | ab634dd8ea38be988cfaa5b7560132a6acc30d26 (diff) |
Notes
Diffstat (limited to 'www/mod_auth_mysql2')
-rw-r--r-- | www/mod_auth_mysql2/Makefile | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/www/mod_auth_mysql2/Makefile b/www/mod_auth_mysql2/Makefile index c088fb89fc3e..7806419611f7 100644 --- a/www/mod_auth_mysql2/Makefile +++ b/www/mod_auth_mysql2/Makefile @@ -6,6 +6,7 @@ PORTVERSION= 1.10 PORTREVISION= 2 CATEGORIES= www MASTER_SITES= http://www.heuer.org/mod_auth_mysql/old/ +PKGNAMESUFFIX= 2 DISTNAME= ${PORTNAME}_${PORTVERSION} EXTRACT_SUFX= .tgz DIST_SUBDIR= apache2 @@ -15,8 +16,6 @@ COMMENT= MySQL-based authentication module with VirtualHost support LICENSE= AL2 -LATEST_LINK= mod_auth_mysql2 - WRKSRC= ${WRKDIR}/${PORTNAME} USE_MYSQL= yes USE_APACHE= 22+ @@ -30,15 +29,10 @@ USE_OPENSSL= yes AP_EXTRAS+= -DMYSQL_USE_SSL .endif -.if !defined(NOPORTDOCS) PORTDOCS= INSTALL example_data.html htpasswd.sql -.endif -NO_STAGE= yes post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |