1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/www/micro_httpd/Makefile
Kirill Ponomarev 8da2ba358d - Respect CC & CFLAGS
PR:		ports/65032
Submitted by:	michael johnson <ahze@ahze.net>
2004-04-01 12:31:31 +00:00

32 lines
795 B
Makefile

# 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
COMMENT= An extremely small web server
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
MAN8= micro_httpd.8
PLIST_FILES= sbin/micro_httpd
post-patch:
@${REINPLACE_CMD} -e "s:/usr/local/sbin:${PREFIX}/sbin:g; \
s:/usr/local/man/man8:${MAN8PREFIX}/man/man8:g; \
s:gcc:${CC}:g; s:-O:${CFLAGS}:g" \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s/^.TH micro_httpd 1/.TH micro_httpd 8/g" \
${WRKSRC}/micro_httpd.8
.include <bsd.port.mk>