svn commit: r344564 - head/java/eclipse-checkstyle

Antoine Brodin antoine at FreeBSD.org
Sun Feb 16 13:47:12 UTC 2014


Author: antoine
Date: Sun Feb 16 13:47:12 2014
New Revision: 344564
URL: http://svnweb.freebsd.org/changeset/ports/344564
QAT: https://qat.redports.org/buildarchive/r344564/

Log:
  - Stage support
  - Remove infozip dependency

Modified:
  head/java/eclipse-checkstyle/Makefile

Modified: head/java/eclipse-checkstyle/Makefile
==============================================================================
--- head/java/eclipse-checkstyle/Makefile	Sun Feb 16 13:39:58 2014	(r344563)
+++ head/java/eclipse-checkstyle/Makefile	Sun Feb 16 13:47:12 2014	(r344564)
@@ -8,6 +8,7 @@ CATEGORIES=	java devel
 MASTER_SITES=	SF/eclipse-cs/Eclipse%20Checkstyle%20Plug-in/v3.4.1
 PKGNAMEPREFIX=	eclipse-
 DISTNAME=	com.atlassw.tools.eclipse.checkstyle_${PORTVERSION}
+EXTRACT_SUFX=	.zip
 DIST_SUBDIR=	eclipse
 
 MAINTAINER=	freebsd-eclipse at FreeBSD.org
@@ -19,12 +20,8 @@ NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
 USE_JAVA=	yes
 JAVA_VERSION=	1.6+
-USE_ZIP=	yes
 
-NO_STAGE=	yes
 do-install:
-	@${MKDIR} ${PREFIX}/lib/eclipse
-	@${MKDIR} ${PREFIX}/lib/eclipse/plugins
-	@${CP} -r ${WRKSRC}/com.atlassw.tools.eclipse.checkstyle_${PORTVERSION} ${PREFIX}/lib/eclipse/plugins
+	@cd ${WRKSRC} && ${COPYTREE_SHARE} com.atlassw.tools.eclipse.checkstyle_${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/eclipse/plugins
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list