2019-07-12 20:50:46 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.27 2019/07/12 20:50:46 sthen Exp $
|
2008-06-04 10:56:15 +00:00
|
|
|
|
|
|
|
COMMENT= web proxy with antivirus filter
|
|
|
|
|
2010-12-30 10:21:25 +00:00
|
|
|
DISTNAME= havp-0.92a
|
2008-06-04 10:56:15 +00:00
|
|
|
CATEGORIES= www
|
2008-08-27 20:04:07 +00:00
|
|
|
MASTER_SITES= ${HOMEPAGE}/download/
|
2008-06-04 10:56:15 +00:00
|
|
|
|
2019-05-02 14:51:49 +00:00
|
|
|
REVISION= 9
|
2011-11-30 11:00:59 +00:00
|
|
|
|
2008-06-04 10:56:15 +00:00
|
|
|
HOMEPAGE= http://www.server-side.de/
|
|
|
|
|
2008-08-27 20:04:07 +00:00
|
|
|
# GPLv2
|
2019-07-12 20:50:46 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2010-11-11 12:35:09 +00:00
|
|
|
|
2017-07-16 19:18:47 +00:00
|
|
|
WANTLIB= c m pthread ${COMPILER_LIBCXX} clamav
|
2008-06-04 10:56:15 +00:00
|
|
|
|
2018-10-24 14:27:57 +00:00
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
|
2010-11-22 08:36:47 +00:00
|
|
|
LIB_DEPENDS= security/clamav
|
2008-06-04 10:56:15 +00:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= --disable-locking \
|
|
|
|
--disable-trophie
|
|
|
|
CONFIGURE_ENV= LDFLAGS="-pthread"
|
|
|
|
USE_GMAKE= Yes
|
2013-03-11 11:35:43 +00:00
|
|
|
NO_TEST= Yes
|
2008-06-04 10:56:15 +00:00
|
|
|
|
2009-06-22 07:58:24 +00:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/havp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/INSTALL ${WRKSRC}/COPYING ${PREFIX}/share/doc/havp
|
|
|
|
|
2008-06-04 10:56:15 +00:00
|
|
|
.include <bsd.port.mk>
|
2017-05-25 13:24:10 +00:00
|
|
|
|
|
|
|
# old gcc doesn't give a shit about push_back...
|
|
|
|
# but formally:
|
|
|
|
# void push_back( const T& value );
|
|
|
|
# void push_back( T&& value ); (in C++11)
|
|
|
|
# so we need T&& with clang
|
|
|
|
.if ${PROPERTIES:Mclang}
|
|
|
|
CFLAGS += -std=c++11
|
|
|
|
.endif
|