aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2009-04-28 14:08:31 +0800
committerale <ale@FreeBSD.org>2009-04-28 14:08:31 +0800
commit9ce43104fb6a581264234a4d64cf4af5a83c3ebc (patch)
tree4a0c8d888683abe8f27bd2f4be3d550594c6ea49
parentfc374ecee996b9da27ed2e9e9ded21be798f8481 (diff)
downloadfreebsd-ports-gnome-9ce43104fb6a581264234a4d64cf4af5a83c3ebc.tar.gz
freebsd-ports-gnome-9ce43104fb6a581264234a4d64cf4af5a83c3ebc.tar.zst
freebsd-ports-gnome-9ce43104fb6a581264234a4d64cf4af5a83c3ebc.zip
- USE_APACHE=yes is deprecated
- Use PORTDOCS - Convert to AP_FAST_BUILD/AP_GENPLIST PR: ports/133686 Submitted by: pgollucci
-rw-r--r--www/mod_tsunami/Makefile21
-rw-r--r--www/mod_tsunami/pkg-plist11
2 files changed, 9 insertions, 23 deletions
diff --git a/www/mod_tsunami/Makefile b/www/mod_tsunami/Makefile
index 493f98fc092e..8c8312f25692 100644
--- a/www/mod_tsunami/Makefile
+++ b/www/mod_tsunami/Makefile
@@ -13,23 +13,20 @@ MASTER_SITES= http://bertrand.demiddelaer.org/mod_tsunami/
MAINTAINER= ale@FreeBSD.org
COMMENT= Apache module which dynamically limits a site's slot usage
-USE_APACHE= yes
-DOCS= AUTHORS Changelog
+USE_APACHE= 1.3
+AP_FAST_BUILD= yes
+AP_GENPLIST= yes
-do-build:
- @cd ${WRKSRC} && ${APXS} -c mod_tsunami.c
+PORTDOCS= AUTHORS Changelog docs
-do-install:
- ${APXS} -i -A -n tsunami ${WRKSRC}/mod_tsunami.so
+post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for f in ${DOCS}
- @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}/
+.for f in ${PORTDOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
- @${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
+ @${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}/
.endif
-
-post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/www/mod_tsunami/pkg-plist b/www/mod_tsunami/pkg-plist
deleted file mode 100644
index 427505e618ce..000000000000
--- a/www/mod_tsunami/pkg-plist
+++ /dev/null
@@ -1,11 +0,0 @@
-libexec/apache/mod_tsunami.so
-@exec %D/sbin/apxs -e -A -n tsunami %D/%F
-@unexec %D/sbin/apxs -e -A -n tsunami %D/%F
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/Changelog
-%%PORTDOCS%%%%DOCSDIR%%/index.html
-%%PORTDOCS%%%%DOCSDIR%%/mod_tsunami_files/index.gif
-%%PORTDOCS%%%%DOCSDIR%%/mod_tsunami_files/home.gif
-%%PORTDOCS%%%%DOCSDIR%%/mod_tsunami_files/sub.gif
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/mod_tsunami_files
-%%PORTDOCS%%@dirrm %%DOCSDIR%%