1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/www/pserv/Makefile
Kirill Ponomarev e39abd290e - Update to 3.0.b2
PR:		58310
Submitted by:	maintainer
2003-10-21 14:32:55 +00:00

33 lines
859 B
Makefile

# New ports collection makefile for: pserv
# Date created: Wed Oct 15 14:16:14 CEST 2003
# Whom: Alex Dupre <sysadmin@alexdupre.com>
#
# $FreeBSD$
#
PORTNAME= pserv
PORTVERSION= 3.0.b2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-20-Oct-03
EXTRACT_SUFX= .tar.Z
MAINTAINER= sysadmin@alexdupre.com
COMMENT= A portable and small webserver written in C
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_REINPLACE= yes
post-patch:
@${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|g;s|%%LOCALBASE%%|${LOCALBASE}|g" \
${WRKSRC}/pserv.conf
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pserv ${PREFIX}/sbin/
${INSTALL_DATA} ${WRKSRC}/mime_types.dat ${PREFIX}/etc/mime.types
${INSTALL_DATA} ${WRKSRC}/pserv.conf ${PREFIX}/etc/
${INSTALL_SCRIPT} ${FILESDIR}/pserv.sh ${PREFIX}/etc/rc.d/
.include <bsd.port.mk>