1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- Update to version 0.16.0.725 [1]

- Add dependency on ftp/curl, package links to it when available
- Convert to OptionsNG
- Remove wrong hardcoded paths in dektop entry files
- Don't harcode path to ssh-keygen

PR:		ports/176208 [1]
Submitted by:	Timothy Beyer <beyert@cs.ucr.edu> [1]
This commit is contained in:
Pawel Pekala 2013-02-17 21:46:22 +00:00
parent 3587a4abf8
commit 1b7fd9a38e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=312452
3 changed files with 16 additions and 12 deletions

View File

@ -1,13 +1,8 @@
# New ports collection makefile for: opennx
# Date created: Fri 29 Jul 2011
# Whom: Timothy Beyer <beyert@cs.ucr.edu>
#
# Created by: Timothy Beyer <beyert@cs.ucr.edu>
# $FreeBSD$
#
PORTNAME= opennx
PORTVERSION= 0.16.0.709
PORTREVISION= 1
PORTVERSION= 0.16.0.725
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/CI-source
@ -18,7 +13,8 @@ LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/bin/zip:${PORTSDIR}/archivers/zip
LIB_DEPENDS= smbclient:${PORTSDIR}/net/samba-libsmbclient \
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \
smbclient:${PORTSDIR}/net/samba-libsmbclient \
cups:${PORTSDIR}/print/cups-base
WRKSRC= ${WRKDIR}/${PORTNAME}-0.16
@ -38,9 +34,11 @@ INSTALLS_ICONS= yes
NO_PACKAGE= must generate a fresh private key at install time
SSH_KEYGEN?= /usr/bin/ssh-keygen
SSH_KEYGEN?= ssh-keygen
.if defined(WITHOUT_NLS)
.include <bsd.port.options.mk>
.if !${PORT_OPTIONS:MNLS}
CONFIGURE_ARGS+=--disable-nls --localedir=/dev/null
PLIST_SUB+= NLS="@comment "
.else
@ -52,6 +50,11 @@ PLIST_SUB+= NLS=""
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 ${PREFIX}/share/keys/server.id_dsa.key

View File

@ -1,2 +1,2 @@
SHA256 (opennx-0.16.0.709.tar.gz) = fbc5602b1ef873390c3155f066285425143c8122585363fa1ad6fc36b9969a69
SIZE (opennx-0.16.0.709.tar.gz) = 5306946
SHA256 (opennx-0.16.0.725.tar.gz) = 05016e48d36b41cad5559d0c200808e97e720346a5aa6bb5615b0ad4369eccfb
SIZE (opennx-0.16.0.725.tar.gz) = 5342831

View File

@ -39,6 +39,7 @@ share/keyboards
share/keys/server.id_dsa.key
share/keys/server.id_dsa.key.pub
%%NLS%%share/locale/de/LC_MESSAGES/opennx.mo
%%NLS%%share/locale/ja/LC_MESSAGES/opennx.mo
%%NLS%%share/locale/ru/LC_MESSAGES/opennx.mo
share/pconnect.html
@dirrmtry share/keys