aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2005-12-05 05:08:46 +0800
committerclement <clement@FreeBSD.org>2005-12-05 05:08:46 +0800
commite95e709c005f735f615a6b474a1d741f9d864cb9 (patch)
treed29705eb5893bc5cf2cfc52ac4570e9226be68bb /www
parent4fe012870c146892bc8b948d68cbdbbfc44f6006 (diff)
downloadfreebsd-ports-gnome-e95e709c005f735f615a6b474a1d741f9d864cb9.tar.gz
freebsd-ports-gnome-e95e709c005f735f615a6b474a1d741f9d864cb9.tar.zst
freebsd-ports-gnome-e95e709c005f735f615a6b474a1d741f9d864cb9.zip
- Convert to new USE_APACHE
- Use AP_FAST_BUILD and AP_GENPLIST - Add SHA256H
Diffstat (limited to 'www')
-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."