aboutsummaryrefslogtreecommitdiff
path: root/www/mod_sqlinclude
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-05-08 15:34:44 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-05-08 15:34:44 +0000
commit8e2bcddbcef7cb9dae88bd8901ac148918b47c92 (patch)
tree4f1f34f45664d5639f1512d195bd1a4fcc8b4617 /www/mod_sqlinclude
parent445417ab100ef60254836f5067ee3b7f0bd2ea1e (diff)
- USE_APACHE=yes is deprecated
- only for www/apache13 - Fix NO* - Convert to AP_FAST_BUILD/AP_GENPLIST - Bump PORTREVISION - Use SF macro PR: ports/133639 Approved by: maintainter timeout (30 days) Submitted by: me
Notes
Notes: svn path=/head/; revision=233422
Diffstat (limited to 'www/mod_sqlinclude')
-rw-r--r--www/mod_sqlinclude/Makefile26
-rw-r--r--www/mod_sqlinclude/pkg-plist7
2 files changed, 12 insertions, 21 deletions
diff --git a/www/mod_sqlinclude/Makefile b/www/mod_sqlinclude/Makefile
index d64ae2347171..196aff945fe1 100644
--- a/www/mod_sqlinclude/Makefile
+++ b/www/mod_sqlinclude/Makefile
@@ -6,32 +6,30 @@
PORTNAME= mod_sqlinclude
PORTVERSION= 1.4
+PORTREVISION= 1
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITES= SF
MASTER_SITE_SUBDIR= ${PORTNAME:S/_/-/}
EXTRACT_SUFX= .tgz
MAINTAINER= anders@FreeBSD.org
COMMENT= An Apache module implementing config inclusion from MySQL databases
+USE_APACHE= 1.3
USE_MYSQL= yes
-DOCS= CHANGES.txt README.txt test.sql
-.if defined(WITH_APACHE2) || exists(${LOCALBASE}/include/apache2/apr.h)
-IGNORE= Sorry, mod_sqlinclude only works with Apache 1.x
-.else
-USE_APACHE= yes
-.endif
+AP_FAST_BUILD= yes
+AP_GENPLIST= yes
+
+AP_INC= ${LOCALBASE}/include
+AP_LIB= ${LOCALBASE}/lib/mysql -lmysqlclient
-do-build:
- (cd ${WRKSRC} && ${APXS} -c -I${LOCALBASE}/include \
- -L${LOCALBASE}/lib/mysql -lmysqlclient mod_sqlinclude.c)
+PORTDOCS= CHANGES.txt README.txt test.sql
-do-install:
- (cd ${WRKSRC} && ${APXS} -i -A -n 'sqlinclude' mod_sqlinclude.so)
+post-install:
.if !defined(NOPORTDOCS)
- @${INSTALL} -d -m 0755 ${DOCSDIR}
-.for f in ${DOCS}
+ ${MKDIR} ${DOCSDIR}
+.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif
diff --git a/www/mod_sqlinclude/pkg-plist b/www/mod_sqlinclude/pkg-plist
deleted file mode 100644
index 953b6df5b3bc..000000000000
--- a/www/mod_sqlinclude/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-libexec/apache/mod_sqlinclude.so
-@exec %D/sbin/apxs -e -A -n sqlinclude %f
-@unexec %D/sbin/apxs -e -A -n sqlinclude %f
-%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
-%%PORTDOCS%%%%DOCSDIR%%/README.txt
-%%PORTDOCS%%%%DOCSDIR%%/test.sql
-%%PORTDOCS%%@dirrm %%DOCSDIR%%