Remove stale files and use JAVA_HOME.

This commit is contained in:
Jimmy Olgeni 2006-09-07 10:10:50 +00:00
parent 3ae4f9a57e
commit 32f0b9e012
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=172462
6 changed files with 24 additions and 3 deletions

View File

@ -30,6 +30,13 @@ DOWNLOAD_URL?= http://www.netbeans.info/downloads/download.php?p=1&a=bd&os=1&lan
IGNORE= you must manually fetch the source distribution (${DISTFILES}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
.endif
post-patch:
@${RM} ${WRKSRC}/etc/netbeans.conf.orig
do-configure:
@${REINPLACE_CMD} 's|%%JAVA_HOME%%|${JAVA_HOME}|' ${WRKSRC}/etc/netbeans.conf
@${RM} ${WRKSRC}/etc/netbeans.conf.bak
do-install:
@${MKDIR} ${PREFIX}/netbeans4
@${CP} -r ${WRKSRC}/* ${PREFIX}/netbeans4

View File

@ -8,7 +8,7 @@ $FreeBSD$
# default location of J2SE JDK, can be overridden by using --jdkhome <dir> switch
-#netbeans_jdkhome="/path/to/jdk"
+netbeans_jdkhome="/usr/local/jdk1.4.2"
+netbeans_jdkhome="%%JAVA_HOME%%"
# clusters' paths separated by path.separator (semicolon on Windows, colon on Unices)
#netbeans_extraclusters="/absolute/path/to/cluster1:/absolute/path/to/cluster2"

View File

@ -30,6 +30,13 @@ DOWNLOAD_URL?= http://www.netbeans.info/downloads/download.php?p=1&a=bd&os=1&lan
IGNORE= you must manually fetch the source distribution (${DISTFILES}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
.endif
post-patch:
@${RM} ${WRKSRC}/etc/netbeans.conf.orig
do-configure:
@${REINPLACE_CMD} 's|%%JAVA_HOME%%|${JAVA_HOME}|' ${WRKSRC}/etc/netbeans.conf
@${RM} ${WRKSRC}/etc/netbeans.conf.bak
do-install:
@${MKDIR} ${PREFIX}/netbeans4
@${CP} -r ${WRKSRC}/* ${PREFIX}/netbeans4

View File

@ -8,7 +8,7 @@ $FreeBSD$
# default location of J2SE JDK, can be overridden by using --jdkhome <dir> switch
-#netbeans_jdkhome="/path/to/jdk"
+netbeans_jdkhome="/usr/local/jdk1.4.2"
+netbeans_jdkhome="%%JAVA_HOME%%"
# clusters' paths separated by path.separator (semicolon on Windows, colon on Unices)
#netbeans_extraclusters="/absolute/path/to/cluster1:/absolute/path/to/cluster2"

View File

@ -30,6 +30,13 @@ DOWNLOAD_URL?= http://www.netbeans.info/downloads/download.php?p=1&a=bd&os=1&lan
IGNORE= you must manually fetch the source distribution (${DISTFILES}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
.endif
post-patch:
@${RM} ${WRKSRC}/etc/netbeans.conf.orig
do-configure:
@${REINPLACE_CMD} 's|%%JAVA_HOME%%|${JAVA_HOME}|' ${WRKSRC}/etc/netbeans.conf
@${RM} ${WRKSRC}/etc/netbeans.conf.bak
do-install:
@${MKDIR} ${PREFIX}/netbeans4
@${CP} -r ${WRKSRC}/* ${PREFIX}/netbeans4

View File

@ -8,7 +8,7 @@ $FreeBSD$
# default location of J2SE JDK, can be overridden by using --jdkhome <dir> switch
-#netbeans_jdkhome="/path/to/jdk"
+netbeans_jdkhome="/usr/local/jdk1.4.2"
+netbeans_jdkhome="%%JAVA_HOME%%"
# clusters' paths separated by path.separator (semicolon on Windows, colon on Unices)
#netbeans_extraclusters="/absolute/path/to/cluster1:/absolute/path/to/cluster2"