2005-10-23 16:26:39 +02:00
|
|
|
# $NetBSD: Makefile,v 1.5 2005/10/23 14:26:39 rillig Exp $
|
2004-01-15 20:11:17 +01:00
|
|
|
|
|
|
|
DISTNAME= connect
|
2004-07-19 15:36:11 +02:00
|
|
|
PKGNAME= ${DISTNAME}-1.83
|
2004-01-15 20:11:17 +01:00
|
|
|
CATEGORIES= net security
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
EXTRACT_SUFX= .c
|
|
|
|
|
|
|
|
MAINTAINER= tron@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.imasy.or.jp/~gotoh/ssh/
|
|
|
|
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
|
|
|
|
LIBS.SunOS+= -lsocket -lnsl
|
2004-01-15 20:58:07 +01:00
|
|
|
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2004-01-15 20:11:17 +01:00
|
|
|
do-build:
|
|
|
|
${MKDIR} ${WRKSRC}
|
2004-07-19 15:36:11 +02:00
|
|
|
${CC} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ${CFLAGS} -o ${WRKSRC}/connect ${LIBS}
|
|
|
|
${EGREP} '^ \*(| .*)$$' ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} | \
|
2004-01-15 20:11:17 +01:00
|
|
|
${CUT} -c 4- >${WRKSRC}/README
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/connect ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/connect
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/connect
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|