[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / netbeans-ide

File: [cvs.NetBSD.org] / pkgsrc / devel / netbeans-ide / Makefile (download)

Revision 1.29, Fri Dec 4 20:45:12 2020 UTC (3 years, 2 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.28: +2 -2 lines

Revbump packages with a runtime Python dep but no version prefix.

For the Python 3.8 default switch.

# $NetBSD: Makefile,v 1.29 2020/12/04 20:45:12 nia Exp $
#

DISTNAME=	netbeans-8.2-201609300101
PKGNAME=	netbeans-ide-8.2
PKGREVISION=	6
CATEGORIES=	devel editors
MASTER_SITES=	http://download.netbeans.org/netbeans/${PKGVERSION_NOREV}/final/zip/
EXTRACT_SUFX=	.zip

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.netbeans.org/
COMMENT=	NetBeans Java IDE

USE_TOOLS+=		pax
USE_JAVA=		run
PKG_JVMS_ACCEPTED=	sun-jdk7 oracle-jdk8 openjdk8
NO_BUILD=		yes
WRKSRC=			${WRKDIR}/netbeans

USE_TOOLS+=	perl:run
REPLACE_PERL=	extide/ant/bin/antRun.pl \
		extide/ant/bin/complete-ant-cmd.pl \
		extide/ant/bin/runant.pl
REPLACE_PYTHON=	extide/ant/bin/runant.py

SHAREDIR=	${PREFIX}/share/${PKGBASE}

CHECK_SHLIBS_SUPPORTED=	no
CHECK_SSP_SUPPORTED=	no
AUTO_MKDIRS=		yes

do-install:
	cd ${WRKSRC} && ${INSTALL_DATA} \
		CREDITS.html README.html netbeans.css \
		${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
	cd ${WRKSRC} && pax -rwpm * ${DESTDIR}${SHAREDIR}
	${LN} -sf ${SHAREDIR}/bin/netbeans ${DESTDIR}${PREFIX}/bin/netbeans

.include "../../lang/python/application.mk"
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"