29 lines
698 B
Makefile
29 lines
698 B
Makefile
PORTNAME= micro_httpd
|
|
PORTVERSION= 2014.08.14
|
|
PORTREVISION= 1
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.acme.com/software/micro_httpd/
|
|
DISTNAME= ${PORTNAME}_14Aug2014
|
|
|
|
MAINTAINER= user@unknown.nu
|
|
COMMENT= Extremely small web server
|
|
WWW= https://www.acme.com/software/micro_httpd/
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
USES= cpe
|
|
CPE_VENDOR= acme
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
PLIST_FILES= sbin/micro_httpd share/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}${PREFIX}/share/man/man8
|
|
|
|
.include <bsd.port.mk>
|