summaryrefslogtreecommitdiff
path: root/editors/drjava/Makefile
blob: 0e15bf28384c153a84efa9508e5c776eaaf43917 (plain) (blame)
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
35
36
37
38
# New ports collection makefile for:	drjava
# Date created:		2006-04-13
# Whom:			Nicola Vitale	<nivit@email.it>
#
# $FreeBSD$
#

PORTNAME=	drjava
PORTVERSION=	20070130.2255
PORTREVISION=	1
CATEGORIES=	editors java
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
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.4+

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

DATADIR=	${JAVASHAREDIR}/${PORTNAME}

DRJAVAJAR=	${DISTFILES}

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

.include <bsd.port.mk>