summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2001-06-17 18:36:35 +0000
committersteve <steve@FreeBSD.org>2001-06-17 18:36:35 +0000
commitdb1bdb070986b75c0c0910d7449c049bd3ec169c (patch)
tree35774439288a75f93d1335d6fdb8c4aecda9e5b4
parent0b7e270a3a74f49e480f3f2d8f2258ad4964e982 (diff)
downloadFreeBSD-ports-db1bdb070986b75c0c0910d7449c049bd3ec169c.zip
FreeBSD-ports-db1bdb070986b75c0c0910d7449c049bd3ec169c.tar.gz
Update to version 2.10.6.
PR: 27963 Submitted by: maintainer
-rw-r--r--www/mod_layout/Makefile22
-rw-r--r--www/mod_layout/distinfo2
-rw-r--r--www/mod_layout/pkg-comment2
-rw-r--r--www/mod_layout/pkg-descr3
-rw-r--r--www/mod_layout/pkg-plist8
5 files changed, 16 insertions, 21 deletions
diff --git a/www/mod_layout/Makefile b/www/mod_layout/Makefile
index ab63ac4..60d51da 100644
--- a/www/mod_layout/Makefile
+++ b/www/mod_layout/Makefile
@@ -6,32 +6,24 @@
#
PORTNAME= mod_layout
-PORTVERSION= 2.8.2
+PORTVERSION= 2.10.6
CATEGORIES= www
MASTER_SITES= ftp://ftp.tangent.org/pub/apache/ \
http://www.tangent.org/mod_layout/
-MAINTAINER= mi@aldan.algebra.com
+MAINTAINER= petef@databits.net
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
-do-build:
- cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -c *.c
-
-do-install:
- cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -A -i ${PORTNAME}.so
-
-.if !defined(NOPORTDOCS)
-PLIST_SUB+= DOC=''
+post-patch:
+ @${PERL} -pi -e 's!-i -a -n!-i -A -n!' ${WRKSRC}/Makefile
post-install:
+.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
- @${INSTALL_DATA} ${WRKSRC}/*.html \
- ${PREFIX}/share/doc/${PORTNAME}
-
-.else
-PLIST_SUB+= DOC='@comment '
+ ${INSTALL_DATA} ${WRKSRC}/faq.html ${PREFIX}/share/doc/${PORTNAME}
.endif
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/www/mod_layout/distinfo b/www/mod_layout/distinfo
index 62740e4..1e2389e 100644
--- a/www/mod_layout/distinfo
+++ b/www/mod_layout/distinfo
@@ -1 +1 @@
-MD5 (mod_layout-2.8.2.tar.gz) = f786c566c7107e1da63201162489d774
+MD5 (mod_layout-2.10.6.tar.gz) = 2221e35e31388354132bbd20bec44d35
diff --git a/www/mod_layout/pkg-comment b/www/mod_layout/pkg-comment
index 323c077..8196f76 100644
--- a/www/mod_layout/pkg-comment
+++ b/www/mod_layout/pkg-comment
@@ -1 +1 @@
-An Apache module that provides for prepending/appending HTML pages served
+Apache module that provides for prepending/appending served HTML pages
diff --git a/www/mod_layout/pkg-descr b/www/mod_layout/pkg-descr
index b391f86..f75b3ed 100644
--- a/www/mod_layout/pkg-descr
+++ b/www/mod_layout/pkg-descr
@@ -13,3 +13,6 @@ From the software's FAQ list:
possibilities.
WWW: http://www.tangent.org/mod_layout/
+
+- Pete
+petef@databits.net
diff --git a/www/mod_layout/pkg-plist b/www/mod_layout/pkg-plist
index 6875218..6159e08 100644
--- a/www/mod_layout/pkg-plist
+++ b/www/mod_layout/pkg-plist
@@ -1,5 +1,5 @@
libexec/apache/mod_layout.so
-%%DOC%%share/doc/mod_layout/faq.html
-%%DOC%%@dirrm share/doc/mod_layout
-@exec ${PKG_PREFIX}/sbin/apxs -e -A -n layout mod_layout.so; echo " enable the mod_layout in Apache's config manually"
-@unexec ${PKG_PREFIX}/sbin/apxs -e -A -n layout mod_layout.so || echo " remove the mod_layout from Apache's config manually"
+%%PORTDOCS%%share/doc/mod_layout/faq.html
+@exec %D/sbin/apxs -e -A -n layout mod_layout.so
+%%PORTDOCS%%@dirrm share/doc/mod_layout
+@unexec %D/sbin/apxs -e -A -n layout mod_layout.so || echo " disable mod_layout in Apache's config manually"
OpenPOWER on IntegriCloud