aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_layout/Makefile
blob: f2cb640e51cbb51182f8d6b0f1d2e38f4f885a00 (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
# 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.0.3
CATEGORIES= www
MASTER_SITES=   ftp://ftp.tangent.org/pub/apache/ \
        http://software.tangent.org/download/

MAINTAINER= petef@FreeBSD.org

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

post-patch:
    @${PERL} -pi -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>