Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2014 14:13:39 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r344568 - head/java/eclipse-drjava
Message-ID:  <201402161413.s1GEDdxV060189@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Feb 16 14:13:39 2014
New Revision: 344568
URL: http://svnweb.freebsd.org/changeset/ports/344568
QAT: https://qat.redports.org/buildarchive/r344568/

Log:
  - Stage support
  - Remove infozip dependency

Modified:
  head/java/eclipse-drjava/Makefile

Modified: head/java/eclipse-drjava/Makefile
==============================================================================
--- head/java/eclipse-drjava/Makefile	Sun Feb 16 14:12:10 2014	(r344567)
+++ head/java/eclipse-drjava/Makefile	Sun Feb 16 14:13:39 2014	(r344568)
@@ -8,6 +8,7 @@ CATEGORIES=	java devel
 MASTER_SITES=	SF/${PORTNAME}/3.%20DrJava%20Eclipse%20Plug-in/${PORTNAME}-eclipse-${PORTVERSION}
 PKGNAMEPREFIX=	eclipse-
 DISTNAME=	drjava-eclipse-${PORTVERSION}
+EXTRACT_SUFX=	.zip
 
 MAINTAINER=	nivit@FreeBSD.org
 COMMENT=	DrJava plugin for Eclipse
@@ -17,7 +18,6 @@ RUN_DEPENDS=	${LOCALBASE}/bin/eclipse:${
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
 USE_JAVA=	yes
-USE_ZIP=	yes
 
 JAVA_VERSION=	1.6+
 JAVA_OS=	native
@@ -28,15 +28,12 @@ EPLUGIN_ID=	edu.rice.cs.drjava
 EPLUGIN_VER=	${PORTVERSION}
 
 FIND_HERE=	${EPLUGIN_ID}_${EPLUGIN_VER}
-FIND_DIRS=	-type d
-FIND_DATA=	-type f -not \( -name "README" -or -name "LICENSE" \)
+FIND_COND=	-not ( -name README -or -name LICENSE )
 
 PLIST_SUB+=	EPLUGINID=${EPLUGIN_ID} EPLUGINVER="${PORTVERSION}" \
 		PORTVERSION=${PORTVERSION}
 
-NO_STAGE=	yes
 do-install:
-	cd ${WRKDIR} && ${FIND} ${FIND_HERE} ${FIND_DIRS} -exec ${MKDIR} ${DATADIR}/{} \;
-	cd ${WRKDIR} && ${FIND} ${FIND_HERE} ${FIND_DATA} -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
+	cd ${WRKSRC} && ${COPYTREE_SHARE} ${FIND_HERE} ${STAGEDIR}${DATADIR} "${FIND_COND}"
 
 .include <bsd.port.mk>



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