aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2013-02-18 05:46:22 +0800
committerpawel <pawel@FreeBSD.org>2013-02-18 05:46:22 +0800
commit941ba2793823edf460c1f64f4f631f695ce7bd6b (patch)
treedf6c201e832f477f12d985f7a9a562857924603f /net
parent390897b7a1f499a0f9883333f87ff5fff9b261a3 (diff)
downloadfreebsd-ports-gnome-941ba2793823edf460c1f64f4f631f695ce7bd6b.tar.gz
freebsd-ports-gnome-941ba2793823edf460c1f64f4f631f695ce7bd6b.tar.zst
freebsd-ports-gnome-941ba2793823edf460c1f64f4f631f695ce7bd6b.zip
- 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]
Diffstat (limited to 'net')
-rw-r--r--net/opennx/Makefile23
-rw-r--r--net/opennx/distinfo4
-rw-r--r--net/opennx/pkg-plist1
3 files changed, 16 insertions, 12 deletions
diff --git a/net/opennx/Makefile b/net/opennx/Makefile
index 3bedac459839..35cd74649d11 100644
--- a/net/opennx/Makefile
+++ b/net/opennx/Makefile
@@ -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
diff --git a/net/opennx/distinfo b/net/opennx/distinfo
index 9158f6296a18..45a57ad000e0 100644
--- a/net/opennx/distinfo
+++ b/net/opennx/distinfo
@@ -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
diff --git a/net/opennx/pkg-plist b/net/opennx/pkg-plist
index a5f16f965889..dd24336134e9 100644
--- a/net/opennx/pkg-plist
+++ b/net/opennx/pkg-plist
@@ -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