summaryrefslogtreecommitdiffstats
path: root/editors/drjava/Makefile
blob: 4e4d75db8ecc03908bf7af72856be81ee4c9d406 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Nicola Vitale	<nivit@email.it>
# $FreeBSD$

PORTNAME=	drjava
DISTVERSION=	20100913-r5387
PORTREVISION=	0
CATEGORIES=	editors java
MASTER_SITES=	SF/${PORTNAME}/1.%20DrJava%20Stable%20Releases/${PORTNAME}-stable-${DISTVERSION}
DISTNAME=	${PORTNAME}-stable-${PORTVERSION:S|.|-|g}
EXTRACT_SUFX=	.jar
EXTRACT_ONLY=

MAINTAINER=	nivit@FreeBSD.org
COMMENT=	A lightweight IDE for writing Java programs

NO_BUILD=	yes
USE_JAVA=	yes
JAVA_VERSION=	1.6+

SUB_FILES=	${PORTNAME}
SUB_LIST=	DRJAVAJAR=${DRJAVAJAR}
PLIST_SUB=	DRJAVAJAR=${DRJAVAJAR}

DATADIR=	${JAVASHAREDIR}/${PORTNAME}

DRJAVAJAR=	${DISTFILES}

NO_STAGE=	yes
do-install:
	@${MKDIR} ${DATADIR}
	${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${DATADIR}/${DRJAVAJAR}
	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud