aboutsummaryrefslogtreecommitdiffstats
path: root/www/micro_httpd/Makefile
blob: 20f78fef59b19c3046f18a82ffe8aa7a30c9654b (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
# New ports collection makefile for:    micro_httpd
# Date created:             13 Jul 2001
# Whom:                 Kim Scarborough <user@unknown.nu>
#
# $FreeBSD$
#

PORTNAME=   micro_httpd
PORTVERSION=    2000.12.15
CATEGORIES= www
MASTER_SITES=   http://www.acme.com/software/micro_httpd/ \
        http://www.unknown.nu/ports/
DISTNAME=   ${PORTNAME}_15dec00

MAINTAINER= user@unknown.nu

WRKSRC=     ${WRKDIR}/${PORTNAME}
MAN8=       micro_httpd.8

post-patch:
    @${PERL} -pi -e "s:/usr/local/sbin:${PREFIX}/sbin:g; \
        s:/usr/local/man/man8:${MAN8PREFIX}/man/man8:g; \
        s:^(CC|CFLAGS) =.+::g;" \
        ${WRKSRC}/Makefile
    @${PERL} -pi -e "s/^.TH micro_httpd 1/.TH micro_httpd 8/g" \
        ${WRKSRC}/micro_httpd.8

.include <bsd.port.mk>