43 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 2007/09/16 02:52:58 merdely Exp $
COMMENT= Web Tools Platform for Eclipse
V= 1.5.4
DISTNAME= wtp-sdk-R-${V}-200705021353
PKGNAME= eclipse-plugin-wtp-sdk-${V}
CATEGORIES= devel/eclipse/plugins java
EXTRACT_SUFX= .zip
PKG_ARCH= *
HOMEPAGE= http://www.eclipse.org/webtools/
MAINTAINER= Ian Darwin <ian@openbsd.org>
# Eclipse Public License Version 1.0 (http://www.eclipse.org/legal/epl-v10.html)
PERMIT_PACKAGE_CDROM= commercial distribution defend and indemnify clauses
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= commercial distribution defend and indemnify clauses
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://download.eclipse.org/webtools/downloads/drops/R1.5/R-${V}-200705021353/
BUILD_DEPENDS= :gtar-*:archivers/gtar
RUN_DEPENDS= :eclipse-plugin-emf-sdk->=2.2.0:devel/eclipse/plugins/emf\
:eclipse-plugin-gef-sdk->=3.2.2:devel/eclipse/plugins/gef
USE_ZIP= Yes
NO_BUILD= Yes
NO_REGRESS= Yes
WRKDIST= ${WRKDIR}
TAR= ${LOCALBASE}/bin/gtar
do-install:
cd ${WRKDIST} && ${TAR} cf - eclipse | \
(cd ${PREFIX} && ${TAR} -xf -)
cd ${PREFIX}/eclipse && rm epl-v10.html notice.html
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}
.include <bsd.port.mk>