aboutsummaryrefslogtreecommitdiffstats
path: root/java/netbeans4/Makefile
blob: 21e2353b8347a4f8c7b33ea6dfa6f0dd3769a0c4 (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
39
# New ports collection makefile for:    netbeans
# Date Created:             2 Jun 2003
# Whom:                 olgeni@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   netbeans
PORTVERSION=    4.1
CATEGORIES= java devel
MASTER_SITES=
DISTNAME=   netbeans-4_1

MAINTAINER= olgeni@FreeBSD.org
COMMENT=    A full-featured integrated environment for Java

USE_BZIP2=  yes
USE_JAVA=   yes
JAVA_VERSION=   1.4+
NO_BUILD=   yes
RESTRICTED= Restrictive license

WRKSRC=     ${WRKDIR}/netbeans

DOWNLOAD_URL?=  http://www.netbeans.info/downloads/download.php?p=1&a=bd&os=1&lang=1&rv=4.1&b_bt=2

.include <bsd.port.pre.mk>

.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE=     you must manually fetch the source distribution (${DISTFILES}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
.endif

do-install:
    @${MKDIR} ${PREFIX}/netbeans
    @${CP} -r ${WRKSRC}/* ${PREFIX}/netbeans
    @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/netbeans
    @${LN} -sf ${PREFIX}/netbeans/bin/netbeans ${PREFIX}/bin/netbeans

.include <bsd.port.post.mk>