diff options
Diffstat (limited to 'java/netbeans/Makefile')
-rw-r--r-- | java/netbeans/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/netbeans/Makefile b/java/netbeans/Makefile index a2daa7fe466b..7cdceefa5548 100644 --- a/java/netbeans/Makefile +++ b/java/netbeans/Makefile @@ -30,8 +30,12 @@ DOWNLOAD_URL?= http://www.netbeans.info/downloads/download.php?type=5.0&p=1&a=bs 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}/netbeans |