aboutsummaryrefslogtreecommitdiff
path: root/net/opennx
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-07-01 08:38:45 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-07-01 08:38:45 +0000
commitf030e54525f30278ed91327d26e609843b89926c (patch)
tree74a044f67686dedeac326a8476880052d6547942 /net/opennx
parentaacc4592c653a0e9171abbb75a4ca1ed853f1209 (diff)
downloadports-f030e54525f30278ed91327d26e609843b89926c.tar.gz
ports-f030e54525f30278ed91327d26e609843b89926c.zip
Support stage
PR: 191500 Submitted by: beyert@cs.ucr.edu
Notes
Notes: svn path=/head/; revision=359967
Diffstat (limited to 'net/opennx')
-rw-r--r--net/opennx/Makefile21
-rw-r--r--net/opennx/distinfo4
2 files changed, 8 insertions, 17 deletions
diff --git a/net/opennx/Makefile b/net/opennx/Makefile
index fae550b2390f..71f3e299f72f 100644
--- a/net/opennx/Makefile
+++ b/net/opennx/Makefile
@@ -14,9 +14,9 @@ LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/bin/zip:${PORTSDIR}/archivers/zip
-LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \
- smbclient:${PORTSDIR}/net/samba-libsmbclient \
- cups:${PORTSDIR}/print/cups-base
+LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
+ libsmbclient.so:${PORTSDIR}/net/samba-libsmbclient \
+ libcups.so:${PORTSDIR}/print/cups-base
WRKSRC= ${WRKDIR}/${PORTNAME}-0.16
@@ -36,19 +36,10 @@ NO_PACKAGE= must generate a fresh private key at install time
SSH_KEYGEN?= ssh-keygen
-NO_STAGE= yes
-
OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
-
-.if !${PORT_OPTIONS:MNLS}
-CONFIGURE_ARGS+=--disable-nls --localedir=/dev/null
-PLIST_SUB+= NLS="@comment "
-.else
-USES+= gettext
-PLIST_SUB+= NLS=""
-.endif
+NLS_CONFIGURE_ENABLE= nls
# do not use default private key included with tarball
post-patch:
@@ -61,6 +52,6 @@ post-patch:
@${RM} ${WRKSRC}/extres/xdg/*.bak
post-install:
- @${CHMOD} 440 ${PREFIX}/share/keys/server.id_dsa.key
+ @${CHMOD} 440 ${STAGEDIR}${PREFIX}/share/keys/server.id_dsa.key
.include <bsd.port.mk>
diff --git a/net/opennx/distinfo b/net/opennx/distinfo
index 45a57ad000e0..1b13caa86a98 100644
--- a/net/opennx/distinfo
+++ b/net/opennx/distinfo
@@ -1,2 +1,2 @@
-SHA256 (opennx-0.16.0.725.tar.gz) = 05016e48d36b41cad5559d0c200808e97e720346a5aa6bb5615b0ad4369eccfb
-SIZE (opennx-0.16.0.725.tar.gz) = 5342831
+SHA256 (opennx-0.16.0.725.tar.gz) = 342a6d7f4cf733f51c10bb7265ad7ecff0896f9c383b94775bda1fb135f946ba
+SIZE (opennx-0.16.0.725.tar.gz) = 5343452