aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_layout/Makefile
blob: 388d09d5b1e5aa6e2918940b6ca4beddc8dbf24f (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
# 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=    2.10.6
PORTREVISION=   1
CATEGORIES= www
MASTER_SITES=   ftp://ftp.tangent.org/pub/apache/ \
        http://www.tangent.org/mod_layout/

MAINTAINER= petef@databits.net

BUILD_DEPENDS=  ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
RUN_DEPENDS=    ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13

MAKE_ENV=   APXS=${LOCALBASE}/sbin/apxs

post-patch:
    @${PERL} -pi -e 's!-i -a -n!-i -A -n!; s!APXS=apxs!APXS?=apxs!' \
        ${WRKSRC}/Makefile

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
    ${INSTALL_DATA} ${WRKSRC}/faq.html ${PREFIX}/share/doc/${PORTNAME}
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>