blob: 1929c1898534d4a2a99c231b8166088b772cdf04 (
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
40
|
# Created by: gahr
# $FreeBSD$
PORTNAME= netbeans
DISTVERSION= 7.3beta2
CATEGORIES= java devel
MASTER_SITES= http://dlc.sun.com.edgesuite.net/netbeans/7.3/beta2/zip/
PKGNAMESUFFIX= -devel
DISTNAME= netbeans-${DISTVERSION}-201211062253
MAINTAINER= gahr@FreeBSD.org
COMMENT= A full-featured integrated environment for Java
LICENSE= CDDL GPLv2
LICENSE_COMB= dual
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.7+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/netbeans
PREFIXDIR= ${PREFIX}/netbeans-${PORTVERSION}
PLIST_SUB+= PORTVERSION=${PORTVERSION}
IGNORE= No development version available right now. Please use java/netbeans instead.
post-patch:
@${REINPLACE_CMD} -i "" -e '19s|#||;19s|/path/to/jdk|${JAVA_HOME}|' \
${WRKSRC}/etc/netbeans.conf
${RM} ${WRKSRC}/bin/netbeans.orig
do-install:
@${MKDIR} ${PREFIXDIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${PREFIXDIR})
@${CHMOD} ${BINMODE} ${PREFIXDIR}/bin/netbeans
@${LN} -sf ${PREFIXDIR}/bin/netbeans ${PREFIX}/bin/netbeans-${PORTVERSION}
.include <bsd.port.mk>
|