openbsd-ports/x11/nx/nxssh/Makefile
2009-03-30 17:04:42 +00:00

29 lines
777 B
Makefile

# $OpenBSD: Makefile,v 1.4 2009/03/30 17:04:42 jasper Exp $
COMMENT= OpenSSH client and daemon for NX
DASH_VER= 1
DISTNAME= nxssh-${MAJOR_VERSION}-${DASH_VER}
PKGNAME= nxssh-${MAJOR_VERSION}.${DASH_VER}
CATEGORIES= net
WANTLIB= asn1 c com_err crypto des gssapi jpeg krb5 m png stdc++ util z
LIB_DEPENDS= Xcomp::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:
${INSTALL_PROGRAM} ${WRKBUILD}/nxssh ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKBUILD}/nxssh-keygen ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKBUILD}/nxsshd ${PREFIX}/sbin
.include <bsd.port.mk>