mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
40 lines
1012 B
Makefile
40 lines
1012 B
Makefile
# New ports collection Makefile for: netbeans-devel
|
|
# Date created: 15 August 2008
|
|
# Whom: gahr
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= netbeans
|
|
DISTVERSION= 7.0rc1
|
|
CATEGORIES= java devel
|
|
MASTER_SITES= http://dlc.sun.com.edgesuite.net/netbeans/7.0/rc1/zip/
|
|
PKGNAMESUFFIX= -devel
|
|
DISTNAME= netbeans-${DISTVERSION}-201103280000-ml
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
COMMENT= A full-featured integrated environment for Java
|
|
|
|
USE_ZIP= yes
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.5+
|
|
NO_BUILD= yes
|
|
|
|
WRKSRC= ${WRKDIR}/netbeans
|
|
PREFIXDIR= ${PREFIX}/netbeans70
|
|
|
|
PLIST_SUB+= PORTVERSION=${PORTVERSION}
|
|
|
|
IGNORE= No development version available right now. Please use java/netbeans instead.
|
|
|
|
do-patch:
|
|
@${REINPLACE_CMD} -i "" -e '19s|#||;19s|/path/to/jdk|${JAVA_HOME}|' \
|
|
${WRKSRC}/etc/netbeans.conf
|
|
|
|
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>
|