Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2014 11:02:25 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r344188 - in head/net/jrdesktop: . files
Message-ID:  <201402141102.s1EB2P5d090338@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Fri Feb 14 11:02:24 2014
New Revision: 344188
URL: http://svnweb.freebsd.org/changeset/ports/344188
QAT: https://qat.redports.org/buildarchive/r344188/

Log:
  - Update to 0.3.1.0
  - STAGE-clean
  - Switch to the jar-only distribution

Deleted:
  head/net/jrdesktop/files/patch-src-jrdesktop_main.java
  head/net/jrdesktop/pkg-plist
Modified:
  head/net/jrdesktop/Makefile
  head/net/jrdesktop/distinfo
  head/net/jrdesktop/files/jrdesktop.in

Modified: head/net/jrdesktop/Makefile
==============================================================================
--- head/net/jrdesktop/Makefile	Fri Feb 14 10:49:17 2014	(r344187)
+++ head/net/jrdesktop/Makefile	Fri Feb 14 11:02:24 2014	(r344188)
@@ -2,36 +2,35 @@
 # $FreeBSD$
 
 PORTNAME=	jrdesktop
-PORTVERSION=	0.2.0030
+PORTVERSION=	0.3.1.0
 CATEGORIES=	net java
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
-DISTNAME=	${PORTNAME}-${PORTVERSION}.src
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION:R:R}/
+DISTNAME=	${PORTNAME}-${PORTVERSION}.jar
+EXTRACT_SUFX=
+EXTRACT_ONLY=
 
 MAINTAINER=	gahr@FreeBSD.org
 COMMENT=	View and/or control a remote PC
 
+LICENSE=	GPLv3
+
 USE_JAVA=	yes
 JAVA_VERSION=	1.6+
-USE_ANT=	yes
-USE_ZIP=	yes
+NO_BUILD=	yes
 
-WRKSRC=	${WRKDIR}/${DISTNAME}/${PORTNAME}
-TXTFILES=	changes.txt license.txt readme.txt
+SUB_FILES=	jrdesktop
+SUB_LIST+=	JAVA=${JAVA} \
+		PORTNAME=${PORTNAME} \
+		PORTVERSION=${PORTVERSION}
 
-NO_STAGE=	yes
-do-install:
-	${INSTALL_DATA} ${WRKSRC}/dist/jrdesktop.jar ${JAVAJARDIR}
-	${INSTALL_SCRIPT} ${FILESDIR}/jrdesktop.in ${PREFIX}/bin/jrdesktop
+PLIST_FILES=	${JAVAJARDIR:S/${PREFIX}\///}/${DISTNAME} \
+		bin/${PORTNAME}
 
-post-install:
-	${REINPLACE_CMD} -i "" -e 's|%%JAVAJARDIR%%|${JAVAJARDIR}|;s|%%JAVA%%|${JAVA}|' \
-	    ${PREFIX}/bin/jrdesktop
-.if !defined(NOPORTDOCS)
-	${INSTALL} -d ${DOCSDIR}
-	(cd ${WRKSRC}/dist && ${COPYTREE_SHARE} javadoc ${DOCSDIR})
-.for txt in ${TXTFILES}
-	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/${txt} ${DOCSDIR}
-.endfor
-.endif
+post-extract:
+	${CP} ${DISTDIR}/${DISTNAME} ${WRKDIR}
+
+do-install:
+	${INSTALL_DATA} ${WRKDIR}/${DISTNAME} ${STAGEDIR}${JAVAJARDIR}
+	${INSTALL_SCRIPT} ${WRKDIR}/jrdesktop ${STAGEDIR}${PREFIX}/bin/jrdesktop
 
 .include <bsd.port.mk>

Modified: head/net/jrdesktop/distinfo
==============================================================================
--- head/net/jrdesktop/distinfo	Fri Feb 14 10:49:17 2014	(r344187)
+++ head/net/jrdesktop/distinfo	Fri Feb 14 11:02:24 2014	(r344188)
@@ -1,2 +1,2 @@
-SHA256 (jrdesktop-0.2.0030.src.zip) = fd03e250d79167808e0d18d1a372d038ffe64f5216380cd2a1132fea7c9b56c9
-SIZE (jrdesktop-0.2.0030.src.zip) = 139190
+SHA256 (jrdesktop-0.3.1.0.jar) = dba9ca3dee2b500db2dc738c98d9a5f2ea0a095919199b996e0e4ea5abd2e27a
+SIZE (jrdesktop-0.3.1.0.jar) = 382108

Modified: head/net/jrdesktop/files/jrdesktop.in
==============================================================================
--- head/net/jrdesktop/files/jrdesktop.in	Fri Feb 14 10:49:17 2014	(r344187)
+++ head/net/jrdesktop/files/jrdesktop.in	Fri Feb 14 11:02:24 2014	(r344188)
@@ -1,5 +1,5 @@
 #!/bin/sh
 
-JRDESKTOP_JAR=%%JAVAJARDIR%%/jrdesktop.jar
+JRDESKTOP_JAR=%%JAVAJARDIR%%/%%PORTNAME%%-%%PORTVERSION%%.jar
 
 %%JAVA%% -jar ${JRDESKTOP_JAR} display



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402141102.s1EB2P5d090338>