openbsd-ports/www/tinyproxy/Makefile

37 lines
1005 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.1.1.1 2002/08/12 22:49:34 couderc Exp $
COMMENT= "lightweight HTTP/SSL proxy"
CATEGORIES= www
DISTNAME= tinyproxy-1.5.1
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tinyproxy/}
HOMEPAGE= http://tinyproxy.sourceforge.net/
MAINTAINER= Margarida Sequeira <niness@devilness.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= simple
SYSCONFDIR= /etc/tinyproxy
CONFIGURE_ARGS+= --with-config=${SYSCONFDIR}/tinyproxy.conf
DOCS= HTTP_ERROR_CODES RFC_INFO
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/tinyproxy ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/doc/tinyproxy.8 ${PREFIX}/man/man8
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tinyproxy
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tinyproxy
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${DOCS} \
${PREFIX}/share/doc/tinyproxy
cd ${WRKSRC}/doc && ${INSTALL_DATA} tinyproxy.conf \
${PREFIX}/share/examples/tinyproxy
.include <bsd.port.mk>