2002-10-27 20:38:44 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2002/10/28 01:38:46 naddy Exp $
|
2001-05-06 00:59:54 -04:00
|
|
|
|
|
|
|
COMMENT= "virtual tunnels over TCP/IP networks with traffic shaping"
|
2000-02-06 10:16:07 -05:00
|
|
|
|
2002-02-23 23:24:50 -05:00
|
|
|
DISTNAME= vtun-2.5
|
2000-02-07 03:13:43 -05:00
|
|
|
CATEGORIES= net
|
2002-05-15 13:42:24 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vtun/}
|
2000-03-13 02:23:42 -05:00
|
|
|
|
2000-08-03 09:58:03 -04:00
|
|
|
HOMEPAGE= http://vtun.sourceforge.net/
|
2000-02-06 10:16:07 -05:00
|
|
|
|
2000-09-18 10:52:42 -04:00
|
|
|
LIB_DEPENDS= lzo.1.0::archivers/lzo
|
|
|
|
|
2000-03-13 02:23:42 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2002-02-23 23:24:50 -05:00
|
|
|
LOG_DIR= /var
|
|
|
|
SUBST_VARS= LOG_DIR
|
|
|
|
|
2000-09-18 10:52:42 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2002-02-23 23:24:50 -05:00
|
|
|
CONFIGURE_ARGS= --localstatedir="${LOG_DIR}" \
|
2000-07-10 02:06:27 -04:00
|
|
|
--with-ssl-headers="/usr/include/openssl" \
|
2000-02-07 03:13:43 -05:00
|
|
|
--with-lzo-headers="${LOCALBASE}/include" \
|
|
|
|
--with-lzo-lib="${LOCALBASE}/lib"
|
|
|
|
|
2002-02-23 23:24:50 -05:00
|
|
|
WRKDIST= ${WRKDIR}/vtun
|
|
|
|
|
2002-10-27 20:38:44 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2000-08-04 12:51:59 -04:00
|
|
|
DOCS= FAQ README README.Setup README.Shaper
|
|
|
|
|
2000-09-18 10:52:42 -04:00
|
|
|
post-install:
|
2000-08-04 12:51:59 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vtun
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vtun
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/vtun
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/vtund.conf ${PREFIX}/share/examples/vtun/vtund.conf-sample
|
2000-03-13 02:48:51 -05:00
|
|
|
|
2000-02-06 10:16:07 -05:00
|
|
|
.include <bsd.port.mk>
|