1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/www/shttpd/Makefile
Emanuel Haupt 5bd4700be7 Update to 1.27
PR:		87172
Submitted by:	Sergey Lyubka <valenok@gmail.com> (maintainer)
Approved by:	novel (mentor)
2005-10-10 06:41:07 +00:00

38 lines
860 B
Makefile

# New ports collection makefile for: shttpd
# Date created: Wed Dec 15, 2004
# Whom: Sergey Lyubka (valenok@gmail.com)
#
# $FreeBSD$
#
PORTNAME= shttpd
PORTVERSION= 1.27
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
.if defined(WITHOUT_SSL)
PKGNAMESUFFIX= -nossl
.else
CFLAGS+= -DWITH_SSL -lssl -lcrypto
.endif
PLIST_FILES= bin/shttpd etc/shttpd.conf
do-build:
${CC} ${CFLAGS} -DCONFIG=\"${PREFIX}/etc/shttpd.conf\" \
${WRKSRC}/shttpd.c -o ${WRKSRC}/shttpd
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/shttpd ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/shttpd.conf ${PREFIX}/etc
${INSTALL_MAN} ${WRKSRC}/shttpd.1 ${PREFIX}/man/man1
.include <bsd.port.mk>