2012-01-03 12:42:19 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2012/01/03 17:42:19 ajacoutot Exp $
|
2008-06-13 13:13:42 -04:00
|
|
|
|
|
|
|
COMMENT= OpenSSH client and daemon for NX
|
|
|
|
|
2011-03-02 03:48:16 -05:00
|
|
|
DASH_VER= 2
|
2009-01-25 14:23:49 -05:00
|
|
|
DISTNAME= nxssh-${MAJOR_VERSION}-${DASH_VER}
|
2009-03-30 13:04:42 -04:00
|
|
|
PKGNAME= nxssh-${MAJOR_VERSION}.${DASH_VER}
|
2012-01-03 12:42:19 -05:00
|
|
|
REVISION= 0
|
2010-07-30 05:23:28 -04:00
|
|
|
|
2008-06-13 13:13:42 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
|
2011-03-02 03:48:16 -05:00
|
|
|
WANTLIB += Xcomp asn1 c com_err crypto gssapi jpeg krb5 m png
|
|
|
|
WANTLIB += stdc++ util z
|
2008-06-13 13:13:42 -04:00
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS= x11/nx/nxcomp
|
2008-06-13 13:13:42 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ARGS= --with-bsd-auth \
|
|
|
|
--with-kerberos5=/usr \
|
|
|
|
--with-cflags="${CFLAGS}"
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/nx -I/usr/include/kerberosV/" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/nxssh
|
|
|
|
|
2012-01-03 12:42:19 -05:00
|
|
|
MAKE_FLAGS= ASKPASS_PROGRAM=${X11BASE}/bin/ssh-askpass \
|
|
|
|
SFTP_SERVER=/usr/libexec/sftp-server \
|
|
|
|
SSH_KEYSIGN=/usr/libexec/ssh-keysign
|
|
|
|
|
2008-06-13 13:13:42 -04:00
|
|
|
do-install:
|
2011-03-02 01:56:38 -05:00
|
|
|
${INSTALL_PROGRAM_DIR} ${PREFIX}/NX/bin
|
2012-01-03 12:42:19 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/nxssh ${PREFIX}/NX/bin
|
2008-06-13 13:13:42 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|