1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/www/shttpd/Makefile
Sergey Matveychuk 71bad43f17 - Update to 1.9
PR:		ports/77343
Submitted by:	maintainer
2005-02-10 16:30:50 +00:00

43 lines
884 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.9
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= shttpd
DISTNAME= shttpd_${PORTVERSION}.c
EXTRACT_SUFX=
EXTRACT_ONLY= #none
MAINTAINER= valenok@gmail.com
COMMENT= Simple embeddable web server with CGI support
NO_WRKSUBDIR= yes
DIST_SUBDIR= ${PORTNAME}
MAN1= shttpd.1
.if defined(WITHOUT_SSL)
PKGNAMESUFFIX= -nossl
.else
CFLAGS+= -DWITH_SSL -lssl -lcrypto
.endif
PLIST_FILES= bin/shttpd
post-extract:
${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}/
do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/shttpd ${WRKSRC}/${DISTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/shttpd ${PREFIX}/bin
${INSTALL_MAN} ${FILESDIR}/shttpd.1 ${PREFIX}/man/man1
.include <bsd.port.mk>