mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
4c1a399966
Changelog: - https://raw.githubusercontent.com/wxWidgets/wxWidgets/v3.0.5/docs/changes.txt PR: 246218 Approved by: tcberner (mentor) Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D24808
59 lines
1.4 KiB
Makefile
59 lines
1.4 KiB
Makefile
# Created by: Timothy Beyer <beyert@cs.ucr.edu>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= opennx
|
|
PORTVERSION= 0.16.0.729
|
|
PORTREVISION= 9
|
|
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:archivers/zip
|
|
LIB_DEPENDS= libcups.so:print/cups \
|
|
libcurl.so:ftp/curl
|
|
|
|
USES= gmake gnome samba:lib xorg
|
|
USE_XORG= ice sm x11 xau xmu
|
|
USE_WX= 2.8+
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-0.16
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -L${SAMBALIBS}
|
|
CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG}
|
|
CPPFLAGS+= -I${LOCALBASE}/include -I${SAMBAINCLUDES}
|
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
NO_PACKAGE= must generate a fresh private key at install time
|
|
LEGAL_PACKAGE= yes
|
|
|
|
SSH_KEYGEN?= ssh-keygen
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
# 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
|
|
@${REINPLACE_CMD} 's|/usr/NX/bin/||' \
|
|
${WRKSRC}/extres/xdg/innovidata-opennx.desktop \
|
|
${WRKSRC}/extres/xdg/innovidata-opennx-admin.desktop \
|
|
${WRKSRC}/extres/xdg/innovidata-opennx-wizard.desktop
|
|
@${RM} ${WRKSRC}/extres/xdg/*.bak
|
|
|
|
post-install:
|
|
@${CHMOD} 440 ${STAGEDIR}${PREFIX}/share/keys/server.id_dsa.key
|
|
|
|
.include <bsd.port.mk>
|