blob: 0a35d3bfc977d6e47075ca27e763abc8f1fff1e4 (
plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# $NetBSD: Makefile,v 1.5 2020/12/04 20:45:12 nia Exp $
VERSION= 2018.3.4
DISTNAME= PhpStorm-${VERSION}
PKGNAME= phpstorm-bin-${VERSION}
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://download.jetbrains.com/webide/
MAINTAINER= youri@NetBSD.org
HOMEPAGE= http://www.jetbrains.org/
COMMENT= JetBrain\'s PHP IDE
LICENSE= apache-2.0
WRKSRC= ${WRKDIR}/PhpStorm-183.5429.47
USE_JAVA= yes
USE_JAVA2= 8
USE_TOOLS+= pax sed
REPLACE_PYTHON= bin/printenv.py \
bin/restart.py \
.include "../../mk/bsd.prefs.mk"
INSTALLATION_DIRS= phpstorm-bin-${VERSION} \
share/applications
NO_BUILD= yes
SUBST_CLASSES+= jdk
SUBST_STAGE.jdk= pre-install
SUBST_MESSAGE.jdk= Adding JVM options
SUBST_FILES.jdk= bin/phpstorm.sh
SUBST_VARS.jdk= PKG_JAVA_HOME
do-install:
cd ${WRKSRC} && \
${RM} -r bin/fsnotifier bin/fsnotifier-arm bin/phpstorm.sh.orig\
bin/fsnotifier64 bin/libdbm64.so \
bin/libyjpagent-linux.so \
bin/libyjpagent-linux64.so \
plugins/performanceTesting/lib/libasyncProfiler-linux.so \
plugins/performanceTesting/lib/libasyncProfiler-macos.so \
lib/pty4j-native/linux/x86/libpty.so \
lib/pty4j-native/linux/x86_64/libpty.so jre64 && \
${ECHO} "idea.filewatcher.disabled=true" >> bin/idea.properties && \
${SED} -e "s|@@IDEA_HOME@@|${PREFIX}/${PKGNAME}|g" \
${FILESDIR}/phpstorm.desktop > \
${DESTDIR}${PREFIX}/share/applications/phpstorm.desktop && \
pax -rw -pm * ${DESTDIR}${PREFIX}/${PKGNAME_NOREV}
.include "../../lang/python/application.mk"
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
|