aboutsummaryrefslogtreecommitdiffstats
path: root/www/shttpd/Makefile
blob: 332d1eb5f40a74ce6136a624d42a51675ff46f25 (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
# New ports collection makefile for:  shttpd
# Date created:           Wed Dec 15, 2004
# Whom:               Sergey Lyubka (valenok@gmail.com)
#
# $FreeBSD$
#

PORTNAME=   shttpd
PORTVERSION=    1.32
CATEGORIES= www
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= shttpd
DISTNAME=   shttpd-${PORTVERSION}

MAINTAINER= valenok@gmail.com
COMMENT=    Small, fast, embeddable web server with CGI, SSL, Authorization

MAN1=       shttpd.1

PLIST_FILES=    bin/shttpd

do-build:
    ${CC} ${CFLAGS} -DCONFIG=\"${PREFIX}/etc/shttpd.conf\" \
        ${WRKSRC}/shttpd.c -o ${WRKSRC}/shttpd

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/shttpd ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/shttpd.1 ${PREFIX}/man/man1

.include <bsd.port.mk>