aboutsummaryrefslogtreecommitdiff
path: root/www/mod_layout
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-12-19 12:45:30 +0000
committerWill Andrews <will@FreeBSD.org>2000-12-19 12:45:30 +0000
commitd134e723440ecb6a8590418df256eb17f9e10f31 (patch)
tree9c2d64b5ab15e34a0cfa28fc11381a065e5487b4 /www/mod_layout
parent80ef25d4275600acad2bef4d6c382e791d28aa8e (diff)
downloadports-d134e723440ecb6a8590418df256eb17f9e10f31.tar.gz
ports-d134e723440ecb6a8590418df256eb17f9e10f31.zip
Add mod_layout 2.8.2, an Apache module that creates a "single look and
feel" throughout a website. PR: 23617 Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
Notes
Notes: svn path=/head/; revision=36116
Diffstat (limited to 'www/mod_layout')
-rw-r--r--www/mod_layout/Makefile37
-rw-r--r--www/mod_layout/distinfo1
-rw-r--r--www/mod_layout/pkg-comment1
-rw-r--r--www/mod_layout/pkg-descr15
-rw-r--r--www/mod_layout/pkg-plist5
5 files changed, 59 insertions, 0 deletions
diff --git a/www/mod_layout/Makefile b/www/mod_layout/Makefile
new file mode 100644
index 000000000000..ab63ac4fc353
--- /dev/null
+++ b/www/mod_layout/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: mod_gzip Apache module
+# Date created: Dec 18 2000
+# Whom: Mikhail Teterin <mi@aldan.algebra.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mod_layout
+PORTVERSION= 2.8.2
+CATEGORIES= www
+MASTER_SITES= ftp://ftp.tangent.org/pub/apache/ \
+ http://www.tangent.org/mod_layout/
+
+MAINTAINER= mi@aldan.algebra.com
+
+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-install:
+ @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/*.html \
+ ${PREFIX}/share/doc/${PORTNAME}
+
+.else
+PLIST_SUB+= DOC='@comment '
+.endif
+
+.include <bsd.port.mk>
diff --git a/www/mod_layout/distinfo b/www/mod_layout/distinfo
new file mode 100644
index 000000000000..62740e4d3419
--- /dev/null
+++ b/www/mod_layout/distinfo
@@ -0,0 +1 @@
+MD5 (mod_layout-2.8.2.tar.gz) = f786c566c7107e1da63201162489d774
diff --git a/www/mod_layout/pkg-comment b/www/mod_layout/pkg-comment
new file mode 100644
index 000000000000..323c0773730f
--- /dev/null
+++ b/www/mod_layout/pkg-comment
@@ -0,0 +1 @@
+An Apache module that provides for prepending/appending HTML pages served
diff --git a/www/mod_layout/pkg-descr b/www/mod_layout/pkg-descr
new file mode 100644
index 000000000000..b391f8627283
--- /dev/null
+++ b/www/mod_layout/pkg-descr
@@ -0,0 +1,15 @@
+From the software's FAQ list:
+ So what is Mod Layout?
+
+ Mod layout wraps a page, by saying this I mean that it can place
+ information at both the beginning and the end of a document. This
+ allows you do create a single look and feel throughout a website
+ without using server side includes to "automagically" add content
+ in either of these two locations. You can use it to add standard
+ disclaimers to all of the pages on a server or to place banner
+ adds on the top of all pages (I know, banner adds, ick...). I've
+ even seen people use the header and footer to place the entire
+ contents of a given server inside of tables. There are many
+ possibilities.
+
+WWW: http://www.tangent.org/mod_layout/
diff --git a/www/mod_layout/pkg-plist b/www/mod_layout/pkg-plist
new file mode 100644
index 000000000000..6875218c8670
--- /dev/null
+++ b/www/mod_layout/pkg-plist
@@ -0,0 +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"