2000-05-20 12:10:15 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2000/05/20 16:10:15 kevlo Exp $
|
2000-02-06 10:16:07 -05:00
|
|
|
|
2000-05-20 12:10:15 -04:00
|
|
|
DISTNAME= vtun-2.2
|
2000-02-07 03:13:43 -05:00
|
|
|
CATEGORIES= net
|
2000-05-20 12:10:15 -04:00
|
|
|
NEED_VERSION= 1.230
|
|
|
|
MASTER_SITES= http://vtun.sourceforge.net/
|
2000-03-13 02:23:42 -05:00
|
|
|
|
2000-02-06 10:16:07 -05:00
|
|
|
|
|
|
|
MAINTAINER= kevlo@openbsd.org
|
|
|
|
|
2000-03-24 18:28:01 -05:00
|
|
|
LIB_DEPENDS= lzo.1.0::archivers/lzo
|
2000-02-06 10:16:07 -05:00
|
|
|
|
2000-03-13 02:23:42 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2000-04-22 23:37:30 -04:00
|
|
|
FAKE= Yes
|
2000-03-12 21:37:02 -05:00
|
|
|
|
2000-03-13 02:23:42 -05:00
|
|
|
HAS_CONFIGURE= Yes
|
|
|
|
CONFIGURE_ARGS= --prefix='$${DESTDIR}${PREFIX}' \
|
|
|
|
--sysconfdir='$${DESTDIR}/etc' \
|
|
|
|
--localstatedir="/var" \
|
2000-02-07 03:13:43 -05:00
|
|
|
--with-crypto-headers="/usr/include/openssl" \
|
|
|
|
--with-crypto-lib="/usr/lib" \
|
|
|
|
--with-lzo-headers="${LOCALBASE}/include" \
|
|
|
|
--with-lzo-lib="${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
ALL_TARGET= vtund
|
2000-02-06 10:16:07 -05:00
|
|
|
|
2000-03-13 02:48:51 -05:00
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/vtun
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vtund ${PREFIX}/sbin
|
2000-05-20 12:10:15 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.Setup ${PREFIX}/lib/vtun
|
2000-03-13 02:48:51 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/vtund.conf ${PREFIX}/lib/vtun/vtund.conf-sample
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/vtund.8 ${PREFIX}/man/man8
|
|
|
|
cd ${PREFIX}/man/man8; ln -fs vtund.8 vtun.8
|
|
|
|
|
2000-02-06 10:16:07 -05:00
|
|
|
.include <bsd.port.mk>
|