086fb6c1c0
While here, fix some paths.
35 lines
871 B
Makefile
35 lines
871 B
Makefile
# $OpenBSD: Makefile,v 1.12 2012/01/03 17:42:19 ajacoutot Exp $
|
|
|
|
COMMENT= OpenSSH client and daemon for NX
|
|
|
|
DASH_VER= 2
|
|
DISTNAME= nxssh-${MAJOR_VERSION}-${DASH_VER}
|
|
PKGNAME= nxssh-${MAJOR_VERSION}.${DASH_VER}
|
|
REVISION= 0
|
|
|
|
CATEGORIES= net
|
|
|
|
WANTLIB += Xcomp asn1 c com_err crypto gssapi jpeg krb5 m png
|
|
WANTLIB += stdc++ util z
|
|
|
|
LIB_DEPENDS= x11/nx/nxcomp
|
|
|
|
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
|
|
|
|
MAKE_FLAGS= ASKPASS_PROGRAM=${X11BASE}/bin/ssh-askpass \
|
|
SFTP_SERVER=/usr/libexec/sftp-server \
|
|
SSH_KEYSIGN=/usr/libexec/ssh-keysign
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM_DIR} ${PREFIX}/NX/bin
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/nxssh ${PREFIX}/NX/bin
|
|
|
|
.include <bsd.port.mk>
|