aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_layout/Makefile
blob: 82d35ab0c28ff82055e9593d0cc56ff99d329966 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# 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=    3.4
CATEGORIES= www
MASTER_SITES=   http://download.tangent.org/
PKGNAMEPREFIX=  ${APACHE_PKGNAMEPREFIX}

MAINTAINER= apache@FreeBSD.org
COMMENT=    Apache module to wrap served pages with a header and/or footer

DEPRECATED= apache13 is deprecated, migrate to 2.2.x+ now
EXPIRATION_DATE=    one week after FreeBSD 9.0-RELEASE-p0

MAKE_JOBS_SAFE=  yes

USE_APACHE= 13

CONFLICTS=  mod_layout-4.* mod_layout-5.* apache-contrib-1.*

PORTSCOUT=  limit:^3

CFLAGS+=    -fPIC

post-patch:
    @${REINPLACE_CMD} -e 's!apxs!${LOCALBASE}/sbin/apxs!g' ${WRKSRC}/Makefile

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR} ${DOCSDIR}/directives
    ${INSTALL_DATA} ${WRKSRC}/faq.html ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/directives/* ${DOCSDIR}/directives
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>