Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2014 15:07:27 +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: r344581 - head/java/eclipse-hibernatetools
Message-ID:  <201402161507.s1GF7ROY083081@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Feb 16 15:07:26 2014
New Revision: 344581
URL: http://svnweb.freebsd.org/changeset/ports/344581
QAT: https://qat.redports.org/buildarchive/r344581/

Log:
  - Stage support
  - Remove infozip dependency

Modified:
  head/java/eclipse-hibernatetools/Makefile

Modified: head/java/eclipse-hibernatetools/Makefile
==============================================================================
--- head/java/eclipse-hibernatetools/Makefile	Sun Feb 16 15:00:46 2014	(r344580)
+++ head/java/eclipse-hibernatetools/Makefile	Sun Feb 16 15:07:26 2014	(r344581)
@@ -8,43 +8,34 @@ CATEGORIES=	java devel databases
 MASTER_SITES=	SF/jboss/JBossTools/JBossTools%202.1.2.GA
 PKGNAMEPREFIX=	eclipse-
 DISTNAME=	HibernateTools-${DISTVERSION}
+EXTRACT_SUFX=	.zip
 DIST_SUBDIR=	eclipse
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Hibernate3 Tools for the Eclipse IDE
 
+LICENSE=	EPL LGPL3
+LICENSE_COMB=	multi
+
 ## XXX - Notify the maintainer if the dependencies on either
 ## java/eclipse-gef of java/eclipse-webtools change
 RUN_DEPENDS=	eclipse:${PORTSDIR}/java/eclipse \
 		${LOCALBASE}/share/eclipse/dropins/gef:${PORTSDIR}/java/eclipse-gef \
 		${LOCALBASE}/share/eclipse/dropins/webtools:${PORTSDIR}/java/eclipse-webtools
 
-LICENSE=	EPL LGPL3
-LICENSE_COMB=	multi
-
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
-USE_ZIP=	yes
 USE_JAVA=	yes
 JAVA_VERSION=	1.6+
 JAVA_OS=	native
 
-NO_STAGE=	yes
 post-extract:
 # avoid empty dirs since they break the automated PLIST generation
 	@${FIND} ${WRKSRC} -type d -empty \
 		-exec ${TOUCH} "{}/.keep_me" \;
 
 do-install:
-# create destination dir
-	@${MKDIR} ${PREFIX}/lib/eclipse
-# install both files and directories
-	@(cd ${WRKSRC} && \
-		${FIND} -s features plugins -type d \
-			-exec ${MKDIR} "${PREFIX}/lib/eclipse/{}" \; && \
-		${FIND} -s features plugins -not -type d \
-			-exec ${INSTALL_DATA} "{}" "${PREFIX}/lib/eclipse/{}" \; \
-	)
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "features plugins" ${STAGEDIR}${PREFIX}/lib/eclipse)
 
 # used to manually generate the plist files
 generate-plist-locally: build



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