openbsd-ports/www/tinyproxy/Makefile
sturm 6d88ffb3f1 - obey SYSCONFDIR
reported by Steve Shockley, ok margarida@

- bump PKGNAME
- remove WWW while here
2003-09-27 06:46:32 +00:00

44 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.7 2003/09/27 06:46:32 sturm Exp $
COMMENT= "lightweight HTTP/SSL proxy"
VERSION= 1.5.2
DISTNAME= tinyproxy-${VERSION}
PKGNAME= ${DISTNAME}p0
CATEGORIES= www net
HOMEPAGE= http://tinyproxy.sourceforge.net/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tinyproxy/}
MAINTAINER= Margarida Sequeira <margarida@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= gcc3
MODGCC3_ARCHES= sparc64
CONFIGURE_STYLE= simple
CONFIGURE_ARGS+= --with-config=${SYSCONFDIR}/tinyproxy/tinyproxy.conf
MAKE_FLAGS= CFLAGS="${CFLAGS}"
DOCS= HTTP_ERROR_CODES RFC_INFO filter-howto.txt
REGRESS_TARGET= check
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>