aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_layout22/Makefile
blob: 1c8a4dc8b997debd6f1cf6d2ae5424e5dffc8ed5 (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
# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org>
# $FreeBSD$

PORTNAME=   mod_layout
PORTVERSION=    5.1
PORTREVISION=   5
CATEGORIES= www
MASTER_SITES=   http://download.tangent.org/
PKGNAMEPREFIX=  ${APACHE_PKGNAMEPREFIX}

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

CONFLICTS=  mod_layout-3.* mod_layout-4.*

PORTSCOUT=  limit:^5

USE_APACHE= 22
LATEST_LINK=    mod_layout22

MAKE_ARGS+= builddir=${WRKSRC}

post-patch:
    ${REINPLACE_CMD} -e 's|@APXS_STAGE@|-S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR}|' \
        ${WRKSRC}/Makefile

pre-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README

.include <bsd.port.mk>