Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2000 13:43:21 -0500 (EST)
From:      Mikhail Teterin <mi@minime.privatelabs.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/23617: new port: www/mod_layout
Message-ID:  <200012181843.eBIIhL733956@minime.privatelabs.com>
Resent-Message-ID: <200012181850.eBIIo0O15696@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         23617
>Category:       ports
>Synopsis:       new port: www/mod_layout
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 18 10:50:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Mikhail Teterin
>Release:        FreeBSD 4.1.1-STABLE i386
>Organization:
Virtual Estates, Inc.
>Environment:

>Description:

	The version, that comes with the www/apache-contrib is very old.
	This port installs the latest stable version, and, unless NOPORTDOCS
	is set, the software's faq.html

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	Makefile
#	distinfo
#	pkg-comment
#	pkg-descr
#	pkg-plist
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# New ports collection makefile for:	mod_gzip Apache module
X# Date created:		Dec 18 2000
X# Whom:			Mikhail Teterin <mi@aldan.algebra.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mod_layout
XPORTVERSION=	2.8.2
XCATEGORIES=	www
XMASTER_SITES=	ftp://ftp.tangent.org/pub/apache/ \
X		http://www.tangent.org/mod_layout/
X
XMAINTAINER=	mi@aldan.algebra.com
X
XBUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
XRUN_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
X
Xdo-build:
X	cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -c *.c
X
Xdo-install:
X	cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -A -i ${PORTNAME}.so
X
X.if !defined(NOPORTDOCS)
XPLIST_SUB+=	DOC=''
X
Xpost-install:
X	@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
X	@${INSTALL_DATA} ${WRKSRC}/*.html \
X		${PREFIX}/share/doc/${PORTNAME}
X
X.else
XPLIST_SUB+=	DOC='@comment '
X.endif
X
X.include <bsd.port.mk>
END-of-Makefile
echo x - distinfo
sed 's/^X//' >distinfo << 'END-of-distinfo'
XMD5 (mod_layout-2.8.2.tar.gz) = f786c566c7107e1da63201162489d774
END-of-distinfo
echo x - pkg-comment
sed 's/^X//' >pkg-comment << 'END-of-pkg-comment'
XAn Apache module that provides for prepending/appending HTML pages served
END-of-pkg-comment
echo x - pkg-descr
sed 's/^X//' >pkg-descr << 'END-of-pkg-descr'
XFrom the software's FAQ list:
X	So what is Mod Layout?
X
X	Mod layout wraps a page, by saying this I mean that it can place
X	information at both the beginning and the end of a document. This
X	allows you do create a single look and feel throughout a website
X	without using server side includes to "automagically" add content
X	in either of these two locations. You can use it to add standard
X	disclaimers to all of the pages on a server or to place banner
X	adds on the top of all pages (I know, banner adds, ick...). I've
X	even seen people use the header and footer to place the entire
X	contents of a given server inside of tables. There are many
X	possibilities.
X
XWWW: http://www.tangent.org/mod_layout/
END-of-pkg-descr
echo x - pkg-plist
sed 's/^X//' >pkg-plist << 'END-of-pkg-plist'
Xlibexec/apache/mod_layout.so
X%%DOC%%share/doc/mod_layout/faq.html
X%%DOC%%@dirrm share/doc/mod_layout
X@exec ${PKG_PREFIX}/sbin/apxs -e -A -n layout mod_layout.so; echo "	enable the mod_layout in Apache's config manually"
X@unexec ${PKG_PREFIX}/sbin/apxs -e -A -n layout mod_layout.so || echo "	remove the mod_layout from Apache's config manually"
END-of-pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012181843.eBIIhL733956>