aboutsummaryrefslogtreecommitdiff
path: root/www/micro_httpd/Makefile
blob: 6e296559709887ccc84ac7ed1432d50a1ca4a31d (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
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>