mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
7a811a41df
OpenNX is an open source drop in replacement for NoMachine's NX client. It is compatible to the original client in that it uses the same syntax for the session configuration files (.nxs files). OpenNX is distributed under the GNU Lesser Public License v2.1. OpenNX is written in C++ and uses the excellent wxWidgets toolkit. PR: ports/159372 Submitted by: Timothy Beyer <beyert@cs.ucr.edu> Approved by: wxs (mentor)
56 lines
1.3 KiB
Makefile
56 lines
1.3 KiB
Makefile
# New ports collection makefile for: opennx
|
|
# Date created: Fri 29 Jul 2011
|
|
# Whom: Timothy Beyer <beyert@cs.ucr.edu>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= opennx
|
|
PORTVERSION= 0.16.0.648
|
|
CATEGORIES= net
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/CI-source
|
|
|
|
MAINTAINER= beyert@cs.ucr.edu
|
|
COMMENT= Open source drop in replacement for NoMachine\'s NX client
|
|
|
|
LICENSE= LGPL21
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/zip:${PORTSDIR}/archivers/zip
|
|
LIB_DEPENDS= smbclient:${PORTSDIR}/net/samba-libsmbclient \
|
|
cups:${PORTSDIR}/print/cups-base
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-0.16
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_XLIB= yes
|
|
USE_WX= 2.8+
|
|
WX_UNICODE= yes
|
|
|
|
CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG}
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
INSTALLS_ICONS= yes
|
|
|
|
NO_PACKAGE= must generate a fresh private key at install time
|
|
|
|
SSH_KEYGEN?= /usr/bin/ssh-keygen
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
CONFIGURE_ARGS+=--disable-nls --localedir=/dev/null
|
|
PLIST_SUB+= NLS="@comment "
|
|
.else
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB+= NLS=""
|
|
.endif
|
|
|
|
# do not use default private key included with tarball
|
|
post-patch:
|
|
@${RM} ${WRKSRC}/share/keys/server.id_dsa.key
|
|
@${SSH_KEYGEN} -N '' -b 2048 -q -f ${WRKSRC}/share/keys/server.id_dsa.key
|
|
|
|
.include <bsd.port.mk>
|