2009-12-17 23:34:37 +01:00
|
|
|
# $NetBSD: Makefile,v 1.11 2009/12/17 22:34:37 abs Exp $
|
2004-01-15 20:11:17 +01:00
|
|
|
|
|
|
|
DISTNAME= connect
|
2006-04-03 18:05:30 +02:00
|
|
|
PKGNAME= ${DISTNAME}-1.95
|
2004-01-15 20:11:17 +01:00
|
|
|
CATEGORIES= net security
|
2006-10-04 23:53:15 +02:00
|
|
|
MASTER_SITES= http://zippo.taiyo.co.jp/~gotoh/ssh/
|
2004-01-15 20:11:17 +01:00
|
|
|
EXTRACT_SUFX= .c
|
|
|
|
|
2008-05-25 16:45:16 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-10-04 23:53:15 +02:00
|
|
|
HOMEPAGE= http://zippo.taiyo.co.jp/~gotoh/ssh/connect.html
|
2004-01-15 20:11:17 +01:00
|
|
|
COMMENT= Open a TCP connection using a SOCKS4/5 or HTTP proxy server
|
|
|
|
|
|
|
|
EXTRACT_ONLY= # empty
|
2004-07-19 15:36:11 +02:00
|
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
2004-01-15 20:11:17 +01:00
|
|
|
|
2005-10-23 16:26:39 +02:00
|
|
|
LIBS.Darwin+= -lresolv
|
2005-10-23 16:30:05 +02:00
|
|
|
LIBS.SunOS+= -lresolv -lsocket -lnsl
|
2004-01-15 20:58:07 +01:00
|
|
|
|
2009-12-17 23:34:37 +01:00
|
|
|
INSTALLATION_DIRS= bin share/doc/connect
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2005-06-17 05:50:19 +02:00
|
|
|
|
2004-01-15 20:11:17 +01:00
|
|
|
do-build:
|
|
|
|
${MKDIR} ${WRKSRC}
|
2005-11-03 18:24:14 +01:00
|
|
|
${LINK.c} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} -o ${WRKSRC}/connect ${LIBS}
|
2004-07-19 15:36:11 +02:00
|
|
|
${EGREP} '^ \*(| .*)$$' ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} | \
|
2004-01-15 20:11:17 +01:00
|
|
|
${CUT} -c 4- >${WRKSRC}/README
|
|
|
|
|
|
|
|
do-install:
|
2009-12-17 23:34:37 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/connect ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/connect
|
2004-01-15 20:11:17 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|