summaryrefslogtreecommitdiff
path: root/editors/drjava/Makefile
blob: 6876491a7d526181fc6f3740f4eebd9e31b08eb6 (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
# Created by: Nicola Vitale	<nivit@email.it>
# $FreeBSD$

PORTNAME=	drjava
DISTVERSION=	20140826-r5761
PORTREVISION=	1
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=	Lightweight IDE for writing Java programs

NO_BUILD=	yes
USE_JAVA=	yes

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

DATADIR=	${JAVASHAREDIR}/${PORTNAME}

DRJAVAJAR=	${DISTFILES}

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

.include <bsd.port.mk>