View | Details | Raw Unified | Return to bug 29254
Collapse All | Expand All

(-)Makefile (-7 / +8 lines)
Lines 6-32 Link Here
6
#
6
#
7
7
8
PORTNAME=	mod_layout
8
PORTNAME=	mod_layout
9
PORTVERSION=	2.10.6
9
PORTVERSION=	3.0
10
PORTREVISION=	1
11
CATEGORIES=	www
10
CATEGORIES=	www
12
MASTER_SITES=	ftp://ftp.tangent.org/pub/apache/ \
11
MASTER_SITES=	ftp://ftp.tangent.org/pub/apache/ \
13
		http://www.tangent.org/mod_layout/
12
		http://software.tangent.org/download/
14
13
15
MAINTAINER=	petef@databits.net
14
MAINTAINER=	petef@databits.net
16
15
17
BUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
16
BUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
18
RUN_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
17
RUN_DEPENDS=	${BUILD_DEPENDS}
19
18
20
MAKE_ENV=	APXS=${LOCALBASE}/sbin/apxs
19
MAKE_ENV=	APXS=${LOCALBASE}/sbin/apxs
21
20
22
post-patch:
21
post-patch:
23
	@${PERL} -pi -e 's!-i -a -n!-i -A -n!; s!APXS=apxs!APXS?=apxs!' \
22
	@${PERL} -pi -e 's!APXS=apxs!APXS?=apxs!' \
24
		${WRKSRC}/Makefile
23
		${WRKSRC}/Makefile
25
24
26
post-install:
25
post-install:
27
.if !defined(NOPORTDOCS)
26
.if !defined(NOPORTDOCS)
28
	@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
27
	@${MKDIR} ${DOCSDIR}
29
	${INSTALL_DATA} ${WRKSRC}/faq.html ${PREFIX}/share/doc/${PORTNAME}
28
	${INSTALL_DATA} ${WRKSRC}/faq.html ${DOCSDIR}
29
	@${MKDIR} ${DOCSDIR}/directives
30
	${INSTALL_DATA} ${WRKSRC}/directives/* ${DOCSDIR}/directives
30
.endif
31
.endif
31
	@${CAT} ${PKGMESSAGE}
32
	@${CAT} ${PKGMESSAGE}
32
33
(-)distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (mod_layout-2.10.6.tar.gz) = 2221e35e31388354132bbd20bec44d35
1
MD5 (mod_layout-3.0.tar.gz) = 4a3ff812549636d2411f8f31abd78426
(-)pkg-comment (-1 / +1 lines)
Line 1 Link Here
1
Apache module that provides for prepending/appending served HTML pages
1
Apache module to wrap served pages with a header and/or footer
(-)pkg-descr (-14 / +8 lines)
Lines 1-18 Link Here
1
From the software's FAQ list:
1
mod_layout is a utility to wrap served webpages.  This means it can add a
2
	So what is Mod Layout?
2
footer ot header to a document.  This allows you to create a standard look
3
and feel throughout a website without using SSI.  Some example uses are
4
adding standard disclaimers to the bottom of all pages, banner ads to the
5
top of all pages, or even a menu at the beginning of a page.  There are
6
many other per-document settings you can modify with mod_layout; see the
7
file 'faq.html' for more information.
3
8
4
	Mod layout wraps a page, by saying this I mean that it can place
9
WWW: http://software.tangent.org/projects.pl?view=mod_layout
5
	information at both the beginning and the end of a document. This
6
	allows you do create a single look and feel throughout a website
7
	without using server side includes to "automagically" add content
8
	in either of these two locations. You can use it to add standard
9
	disclaimers to all of the pages on a server or to place banner
10
	adds on the top of all pages (I know, banner adds, ick...). I've
11
	even seen people use the header and footer to place the entire
12
	contents of a given server inside of tables. There are many
13
	possibilities.
14
15
WWW: http://www.tangent.org/mod_layout/
16
10
17
- Pete
11
- Pete
18
petef@databits.net
12
petef@databits.net
(-)pkg-message (-8 / +3 lines)
Lines 1-12 Link Here
1
2
-----------------------------------------------------------------
1
-----------------------------------------------------------------
3
You have installed mod_layout, a module that can automatically
2
You have installed mod_layout, a module that can automatically
4
prepend/append HTML pages served.  To enable this module, edit
3
add a footer or header to pages served.
5
${PREFIX}/etc/apache/httpd.conf and look for the line:
6
7
#LoadModule layout_module      libexec/apache/mod_layout.so
8
4
9
Remove the hash mark from the beginning of the line and run
5
Please see ${PREFIX}/share/doc/mod_layout/faq.html
10
${PREFIX}/sbin/apachectl restart to enable this module.  Please
6
for details on using this module.
11
see ${PREFIX}/share/doc/mod_layout for more details.
12
-----------------------------------------------------------------
7
-----------------------------------------------------------------
(-)pkg-plist (-2 / +36 lines)
Lines 1-5 Link Here
1
libexec/apache/mod_layout.so
1
libexec/apache/mod_layout.so
2
@exec %D/sbin/apxs -e -a -n layout %D/%f
3
@unexec echo "===>  If you do not plan on reinstalling mod_layout, you must manually remove"; echo "===>  references to it in httpd.conf."
2
%%PORTDOCS%%share/doc/mod_layout/faq.html
4
%%PORTDOCS%%share/doc/mod_layout/faq.html
3
@exec %D/sbin/apxs -e -A -n layout mod_layout.so
5
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutCache.html
6
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutCacheNeeded.html
7
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutComment.html
8
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutDefaultHandlers.html
9
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutDisplayOriginal.html
10
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutFooter.html
11
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutFooterFile.html
12
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutFooterOff.html
13
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutFooterTXT.html
14
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutHTTPHeader.html
15
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutHTTPHeaderOff.html
16
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutHTTPOverrideHandler.html
17
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutHTTPOverrideURI.html
18
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutHandler.html
19
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutHandlerGlob.html
20
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutHeader.html
21
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutHeaderFile.html
22
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutHeaderOff.html
23
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutHeaderTXT.html
24
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutIgnoreFooterURI.html
25
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutIgnoreHeaderURI.html
26
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutIgnoreTag.html
27
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutIgnoreTagFooter.html
28
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutIgnoreTagHeader.html
29
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutIgnoreURI.html
30
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutMerge.html
31
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutMergeBeginTag.html
32
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutMergeEndTag.html
33
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutMergeErrorIgnore.html
34
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutPostAsync.html
35
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutProxy.html
36
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutReplaceTags.html
37
%%PORTDOCS%%share/doc/mod_layout/directives/LayoutTimeFormat.html
38
%%PORTDOCS%%@dirrm share/doc/mod_layout/directives
4
%%PORTDOCS%%@dirrm share/doc/mod_layout
39
%%PORTDOCS%%@dirrm share/doc/mod_layout
5
@unexec %D/sbin/apxs -e -A -n layout mod_layout.so || echo "	disable mod_layout in Apache's config manually"

Return to bug 29254