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
|
2002-08-07 05:07:44 +02:00
|
|
|
MASTER_SITES= http://software.tangent.org/download/
|
2000-12-19 13:45:30 +01:00
|
|
|
|
2002-07-06 08:47:45 +02:00
|
|
|
MAINTAINER= sheepkiller@cultdeadsheep.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
|
|
|
USE_REINPLACE= yes
|
|
|
|
|
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>
|