aboutsummaryrefslogtreecommitdiff
path: root/www/mod_auth_pgsql2
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2005-12-04 21:08:46 +0000
committerClement Laforet <clement@FreeBSD.org>2005-12-04 21:08:46 +0000
commit98b8fc4cb0d3ce0b158d3f4affc95144438d4e30 (patch)
treea1e0700f01f939797ffbfbcbbaf69813b814622b /www/mod_auth_pgsql2
parentae29b401c4bba99003068fdedc9b1d280e8b3a87 (diff)
downloadports-98b8fc4cb0d3ce0b158d3f4affc95144438d4e30.tar.gz
ports-98b8fc4cb0d3ce0b158d3f4affc95144438d4e30.zip
Notes
Diffstat (limited to 'www/mod_auth_pgsql2')
-rw-r--r--www/mod_auth_pgsql2/Makefile18
-rw-r--r--www/mod_auth_pgsql2/distinfo1
-rw-r--r--www/mod_auth_pgsql2/pkg-plist6
3 files changed, 8 insertions, 17 deletions
diff --git a/www/mod_auth_pgsql2/Makefile b/www/mod_auth_pgsql2/Makefile
index 1b9c10fd40fe..a691a270cc22 100644
--- a/www/mod_auth_pgsql2/Makefile
+++ b/www/mod_auth_pgsql2/Makefile
@@ -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
-
-do-build:
- @(cd ${WRKSRC} && ${APXS} -I ${PG_INC} -L ${PG_LIBS} -c ${PORTNAME}.c)
+AP_INC?= ${LOCALBASE}/include
+AP_LIBS?= ${LOCALBASE}/lib -lpq
+AP_FAST_BUILD= YES
+AP_GENPLIST= YES
+PORTDOCS= mod_auth_pgsql.html
-do-install:
- @(cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.la)
+post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/mod_auth_pgsql.html ${DOCSDIR}
diff --git a/www/mod_auth_pgsql2/distinfo b/www/mod_auth_pgsql2/distinfo
index d2dadd9303e5..e174e3af5e29 100644
--- a/www/mod_auth_pgsql2/distinfo
+++ b/www/mod_auth_pgsql2/distinfo
@@ -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
diff --git a/www/mod_auth_pgsql2/pkg-plist b/www/mod_auth_pgsql2/pkg-plist
deleted file mode 100644
index 69e62af0c476..000000000000
--- a/www/mod_auth_pgsql2/pkg-plist
+++ /dev/null
@@ -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."