summaryrefslogtreecommitdiff
path: root/www/tinytinyhttpd/Makefile
blob: 5096d3845f35ad500d81c784cf755d2157c216d0 (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
30
31
32
# New ports collection makefile for:	tinytinyhttpd
# Date created:		01 Aug 2009
# Whom:			Shinsuke Matsui <smatsui@karashi.org>
#
# $FreeBSD$
#

PORTNAME=	tinytinyhttpd
PORTVERSION=	0.0.2
CATEGORIES=	www
MASTER_SITES=	http://cloud.github.com/downloads/mattn/tinytinyhttpd/ \
		${MASTER_SITE_LOCAL}

MAINTAINER=	smatsui@karashi.org
COMMENT=	Tiny tiny httpd

PLIST_FILES=	bin/tthttpd
PORTDOCS=	README.mkd example.conf ChangeLog

.include <bsd.port.pre.mk>

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/tthttpd ${PREFIX}/bin

.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${FILESDIR}/example.conf ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.mkd ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
.endif

.include <bsd.port.post.mk>