aboutsummaryrefslogtreecommitdiff
path: root/www/mod_auth_pgsql2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_auth_pgsql2/Makefile')
-rw-r--r--www/mod_auth_pgsql2/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/www/mod_auth_pgsql2/Makefile b/www/mod_auth_pgsql2/Makefile
index f4cd76c29f61..e7080c966e56 100644
--- a/www/mod_auth_pgsql2/Makefile
+++ b/www/mod_auth_pgsql2/Makefile
@@ -6,27 +6,22 @@ PORTVERSION= 2.0.3
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://www.giuseppetanzilli.it/mod_auth_pgsql2/dist/
+PKGNAMESUFFIX= 2
MAINTAINER= apache@FreeBSD.org
COMMENT= Allows users to use PostgreSQL databases for user authentication
-
USE_PGSQL= yes
USE_APACHE= 22
-LATEST_LINK= mod_auth_pgsql2
-
AP_INC?= ${LOCALBASE}/include
AP_LIB?= ${LOCALBASE}/lib -lpq
AP_FAST_BUILD= yes
AP_GENPLIST= yes
PORTDOCS= mod_auth_pgsql.html
-NO_STAGE= yes
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/mod_auth_pgsql.html ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>