mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Convert to new USE_APACHE
- Use AP_FAST_BUILD and AP_GENPLIST - Add SHA256H
This commit is contained in:
parent
ae29b401c4
commit
98b8fc4cb0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150411
@ -13,22 +13,18 @@ MASTER_SITES= http://www.giuseppetanzilli.it/mod_auth_pgsql2/dist/
|
||||
MAINTAINER= apache@FreeBSD.org
|
||||
COMMENT= Allows users to use PostgreSQL databases for user authentication
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache20
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
USE_PGSQL= yes
|
||||
USE_APACHE= 20
|
||||
|
||||
LATEST_LINK= mod_auth_pgsql2
|
||||
|
||||
APXS?= ${LOCALBASE}/sbin/apxs
|
||||
PG_INC?= ${LOCALBASE}/include
|
||||
PG_LIBS?= ${LOCALBASE}/lib -lpq
|
||||
AP_INC?= ${LOCALBASE}/include
|
||||
AP_LIBS?= ${LOCALBASE}/lib -lpq
|
||||
AP_FAST_BUILD= YES
|
||||
AP_GENPLIST= YES
|
||||
PORTDOCS= mod_auth_pgsql.html
|
||||
|
||||
do-build:
|
||||
@(cd ${WRKSRC} && ${APXS} -I ${PG_INC} -L ${PG_LIBS} -c ${PORTNAME}.c)
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.la)
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/mod_auth_pgsql.html ${DOCSDIR}
|
||||
|
@ -1,2 +1,3 @@
|
||||
MD5 (mod_auth_pgsql-2.0.2b1.tar.gz) = 8216fde4597c288537ff4fec508a4b41
|
||||
SHA256 (mod_auth_pgsql-2.0.2b1.tar.gz) = 38e275666018287d54f279708a5c26571ff3890e0aedcf42f375efe7387e6981
|
||||
SIZE (mod_auth_pgsql-2.0.2b1.tar.gz) = 15930
|
||||
|
@ -1,6 +0,0 @@
|
||||
libexec/apache2/mod_auth_pgsql.so
|
||||
@exec %D/sbin/apxs -e -A -n auth_pgsql %D/%f
|
||||
@unexec %D/sbin/apxs -e -A -n auth_pgsql %D/%f
|
||||
%%PORTDOCS%%%%DOCSDIR%%/mod_auth_pgsql.html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@unexec echo "===> If you do not plan on reinstalling mod_auth_pgsql, you must manually remove"; echo "===> references to it in httpd.conf."
|
Loading…
Reference in New Issue
Block a user