2012-01-03 11:37:49 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2012/01/03 16:37:49 sebastia 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}
|
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
|
|
|
|
|
|
|
|
do-install:
|
2011-03-02 01:56:38 -05:00
|
|
|
${INSTALL_PROGRAM_DIR} ${PREFIX}/NX/bin
|
|
|
|
${INSTALL_PROGRAM_DIR} ${PREFIX}/NX/sbin
|
|
|
|
.for i in nxssh nxssh-keygen
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/${i} ${PREFIX}/NX/bin
|
|
|
|
.endfor
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/nxsshd ${PREFIX}/NX/sbin
|
2008-06-13 13:13:42 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|