2009-02-02 07:29:16 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2009/02/02 12:29:16 martynas Exp $
|
2002-08-12 18:49:34 -04:00
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= lightweight HTTP/SSL proxy
|
2002-11-21 21:37:36 -05:00
|
|
|
|
2004-09-22 17:35:27 -04:00
|
|
|
VERSION= 1.6.3
|
2002-11-21 21:37:36 -05:00
|
|
|
DISTNAME= tinyproxy-${VERSION}
|
2009-02-02 07:29:16 -05:00
|
|
|
PKGNAME= ${DISTNAME}p2
|
2003-01-27 17:10:56 -05:00
|
|
|
CATEGORIES= www net
|
2002-08-12 18:49:34 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://tinyproxy.sourceforge.net/
|
|
|
|
|
2002-11-21 21:37:36 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tinyproxy/}
|
|
|
|
|
2002-08-12 18:49:34 -04:00
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-11 08:29:20 -05:00
|
|
|
WANTLIB= c
|
2002-08-12 18:49:34 -04:00
|
|
|
|
2006-09-18 17:10:11 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2003-02-16 13:17:57 -05:00
|
|
|
CONFIGURE_STYLE= simple
|
2003-09-27 02:46:32 -04:00
|
|
|
CONFIGURE_ARGS+= --with-config=${SYSCONFDIR}/tinyproxy/tinyproxy.conf
|
2005-04-16 13:14:38 -04:00
|
|
|
MAKE_FLAGS= CFLAGS="${CFLAGS}"
|
|
|
|
|
|
|
|
CFLAGS+= "-DNDEBUG"
|
2002-08-12 18:49:34 -04:00
|
|
|
|
2003-11-02 19:49:29 -05:00
|
|
|
DOCS= HT* RFC_INFO filter-howto.txt *.html
|
2002-08-12 18:49:34 -04:00
|
|
|
|
2002-10-28 20:17:35 -05:00
|
|
|
REGRESS_TARGET= check
|
|
|
|
|
2002-08-12 18:49:34 -04:00
|
|
|
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>
|