2000-12-19 13:45:30 +01:00
|
|
|
# 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
|
2003-09-27 16:20:32 +02:00
|
|
|
PORTVERSION= 3.2.1
|
2000-12-19 13:45:30 +01:00
|
|
|
CATEGORIES= www
|
2005-05-22 15:45:59 +02:00
|
|
|
MASTER_SITES= http://download.tangent.org/
|
2000-12-19 13:45:30 +01:00
|
|
|
|
2004-08-18 18:21:55 +02:00
|
|
|
MAINTAINER= apache@FreeBSD.org
|
2003-02-21 15:08:24 +01:00
|
|
|
COMMENT= Apache module to wrap served pages with a header and/or footer
|
2000-12-19 13:45:30 +01:00
|
|
|
|
2003-11-07 10:12:58 +01:00
|
|
|
USE_APACHE= yes
|
2002-08-07 05:07:44 +02:00
|
|
|
|
2003-12-18 17:22:57 +01:00
|
|
|
CONFLICTS= mod_layout-4.* apache-contrib-1.*
|
|
|
|
|
2003-12-18 15:13:46 +01:00
|
|
|
CFLAGS+= -fPIC
|
|
|
|
|
2001-06-17 20:36:35 +02:00
|
|
|
post-patch:
|
2003-09-27 16:20:32 +02:00
|
|
|
@${REINPLACE_CMD} -e 's!apxs!${LOCALBASE}/sbin/apxs!g; \
|
2003-12-18 15:13:46 +01:00
|
|
|
s!-DDEBUG!$$(CFLAGS)!g' ${WRKSRC}/Makefile
|
2000-12-19 13:45:30 +01:00
|
|
|
|
|
|
|
post-install:
|
2001-06-17 20:36:35 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-08-03 06:04:48 +02:00
|
|
|
@${MKDIR} ${DOCSDIR} ${DOCSDIR}/directives
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/faq.html ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/directives/* ${DOCSDIR}/directives
|
2000-12-19 13:45:30 +01:00
|
|
|
.endif
|
2001-06-17 20:36:35 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2000-12-19 13:45:30 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|