openbsd-ports/x11/nx/nxssh/Makefile

34 lines
855 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.11 2012/01/03 16:37:49 sebastia Exp $
COMMENT= OpenSSH client and daemon for NX
DASH_VER= 2
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
CATEGORIES= net
WANTLIB += Xcomp asn1 c com_err crypto gssapi jpeg krb5 m png
WANTLIB += stdc++ util z
2010-11-22 03:36:47 -05:00
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
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
.include <bsd.port.mk>