2003-01-03 08:58:23 +01:00
|
|
|
# New ports collection makefile for: twhttpd-1.0
|
|
|
|
# Date created: 25 Sep 2002
|
|
|
|
# Whom: Pieter Danhieux <opr@bsdaemon.be>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= twhttpd
|
2006-07-19 21:17:45 +02:00
|
|
|
PORTVERSION= 1.01
|
2003-01-03 08:58:23 +01:00
|
|
|
CATEGORIES= www
|
2006-08-07 03:15:22 +02:00
|
|
|
MASTER_SITES= http://www.sunzidigital.com/samngms/twhttpd/download/
|
|
|
|
DISTNAME= ${PORTNAME}
|
2003-01-03 08:58:23 +01:00
|
|
|
|
2006-06-09 23:41:32 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 15:08:24 +01:00
|
|
|
COMMENT= Secure HTTP Proxy
|
2003-01-03 08:58:23 +01:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2006-07-19 21:17:45 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= LIBS="-lmd"
|
2006-08-23 02:56:12 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2006-07-19 21:17:45 +02:00
|
|
|
|
2006-08-04 15:32:02 +02:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
SUB_LIST= PREFIX=${PREFIX}
|
|
|
|
|
2006-07-19 21:17:45 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/config.h
|
|
|
|
@${REINPLACE_CMD} -e 's| md5\.o | |g' ${WRKSRC}/Makefile.in
|
2003-01-03 08:58:23 +01:00
|
|
|
|
|
|
|
do-install:
|
2006-07-19 21:17:45 +02:00
|
|
|
${INSTALL_PROGRAM} -o root -g wheel -m 0755 ${WRKSRC}/twhttpd ${PREFIX}/sbin/twhttpd
|
|
|
|
${INSTALL} -o root -g wheel -m 0755 ${WRKSRC}/rm_cache ${PREFIX}/sbin/rm_cache
|
|
|
|
${INSTALL} -o root -g wheel -m 0700 ${WRKSRC}/twhttpd.cfg ${PREFIX}/etc/twhttpd.cfg.sample
|
2003-01-03 08:58:23 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
2004-09-30 20:42:01 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|