openbsd-ports/x11/nx/nxssh/Makefile
2010-07-30 09:23:28 +00:00

33 lines
808 B
Makefile

# $OpenBSD: Makefile,v 1.5 2010/07/30 09:23:28 ajacoutot Exp $
COMMENT= OpenSSH client and daemon for NX
DASH_VER= 1
DISTNAME= nxssh-${MAJOR_VERSION}-${DASH_VER}
PKGNAME= nxssh-${MAJOR_VERSION}.${DASH_VER}
REVISION= 0
CATEGORIES= net
WANTLIB += asn1 c com_err crypto des gssapi jpeg krb5 m png stdc++ Xcomp
WANTLIB += 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
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>