2012-12-10 14:18:28 +01:00
|
|
|
# Created by: Nicola Vitale <nivit@email.it>
|
2006-07-11 19:53:25 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= drjava
|
2006-11-09 10:28:15 +01:00
|
|
|
PORTVERSION= 0.9.8
|
2010-07-25 22:41:10 +02:00
|
|
|
PORTREVISION= 5
|
2006-07-11 19:53:25 +02:00
|
|
|
CATEGORIES= java devel
|
2009-08-22 02:24:37 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/3.%20DrJava%20Eclipse%20Plug-in/${PORTNAME}-eclipse-${PORTVERSION}
|
2006-07-11 19:53:25 +02:00
|
|
|
PKGNAMEPREFIX= eclipse-
|
|
|
|
DISTNAME= drjava-eclipse-${PORTVERSION}
|
2014-02-16 15:13:39 +01:00
|
|
|
EXTRACT_SUFX= .zip
|
2006-07-11 19:53:25 +02:00
|
|
|
|
2006-12-10 02:21:51 +01:00
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
2006-07-11 19:53:25 +02:00
|
|
|
COMMENT= DrJava plugin for Eclipse
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/eclipse:${PORTSDIR}/java/eclipse
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
USE_JAVA= yes
|
|
|
|
|
2012-12-10 14:18:28 +01:00
|
|
|
JAVA_VERSION= 1.6+
|
2006-07-11 19:53:25 +02:00
|
|
|
JAVA_OS= native
|
|
|
|
|
2010-07-25 22:41:10 +02:00
|
|
|
DATADIR= ${PREFIX}/lib/eclipse/plugins
|
2006-07-11 19:53:25 +02:00
|
|
|
|
|
|
|
EPLUGIN_ID= edu.rice.cs.drjava
|
|
|
|
EPLUGIN_VER= ${PORTVERSION}
|
|
|
|
|
|
|
|
FIND_HERE= ${EPLUGIN_ID}_${EPLUGIN_VER}
|
2014-02-16 15:13:39 +01:00
|
|
|
FIND_COND= -not ( -name README -or -name LICENSE )
|
2006-07-11 19:53:25 +02:00
|
|
|
|
2006-11-09 10:28:15 +01:00
|
|
|
PLIST_SUB+= EPLUGINID=${EPLUGIN_ID} EPLUGINVER="${PORTVERSION}" \
|
|
|
|
PORTVERSION=${PORTVERSION}
|
|
|
|
|
2006-07-11 19:53:25 +02:00
|
|
|
do-install:
|
2014-02-16 15:13:39 +01:00
|
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} ${FIND_HERE} ${STAGEDIR}${DATADIR} "${FIND_COND}"
|
2006-07-11 19:53:25 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|