mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
30 lines
674 B
Makefile
30 lines
674 B
Makefile
# Created by: Kim Scarborough <user@unknown.nu>
|
|
|
|
PORTNAME= micro_httpd
|
|
PORTVERSION= 2014.08.14
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.acme.com/software/micro_httpd/
|
|
DISTNAME= ${PORTNAME}_14Aug2014
|
|
|
|
MAINTAINER= user@unknown.nu
|
|
COMMENT= Extremely small web server
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
USES= cpe
|
|
CPE_VENDOR= acme
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
PLIST_FILES= sbin/micro_httpd man/man8/micro_httpd.8.gz
|
|
|
|
ALL_TARGET= ${PORTNAME}
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} 's|-O|${CFLAGS}|' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/micro_httpd ${STAGEDIR}${PREFIX}/sbin
|
|
${INSTALL_MAN} ${WRKSRC}/micro_httpd.8 ${STAGEDIR}${MAN1PREFIX}/man/man8
|
|
|
|
.include <bsd.port.mk>
|