pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/intellij-ce-bin Depend on fsnotifier and fix ins...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/67d4988fc2ed
branches:  trunk
changeset: 330651:67d4988fc2ed
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Tue Mar 05 11:27:52 2019 +0000

description:
Depend on fsnotifier and fix installation issues

* Depend on sysutils/fsnotifier
* Replace PKGNAME with PKGNAME_NOREV in do-install target for consistent PLIST
* REPLACE_BASH requires USE_TOOLS+=bash not to cause empty #! line
* Bump PKGREVISION

diffstat:

 devel/intellij-ce-bin/Makefile |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (43 lines):

diff -r 3f8137aa14df -r 67d4988fc2ed devel/intellij-ce-bin/Makefile
--- a/devel/intellij-ce-bin/Makefile    Tue Mar 05 11:25:24 2019 +0000
+++ b/devel/intellij-ce-bin/Makefile    Tue Mar 05 11:27:52 2019 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.1 2019/03/03 16:34:27 youri Exp $
+# $NetBSD: Makefile,v 1.2 2019/03/05 11:27:52 ryoon Exp $
 #
 # TODO Import intellij-fsnotifier with inotify support from FreeBSD.
 
 VERSION=       2018.3.5
 DISTNAME=      ideaIC-${VERSION:S/.0.0//}-no-jdk
 PKGNAME=       intellij-ce-bin-${VERSION}
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  http://download.jetbrains.com/idea/
 
@@ -13,11 +14,13 @@
 COMMENT=       JetBrain\'s Java IDE
 LICENSE=       apache-2.0
 
+DEPENDS+=      intellij-fsnotifier-[0-9]*:../../sysutils/intellij-fsnotifier
+
 WRKSRC=                ${WRKDIR}/idea-IC-183.5912.21
 USE_JAVA=      yes
 USE_JAVA2=     8
 
-USE_TOOLS+=    pax sed
+USE_TOOLS+=    bash pax sed
 
 REPLACE_PYTHON=        bin/printenv.py \
                bin/restart.py  \
@@ -50,9 +53,9 @@
        plugins/android/lib/libwebp/linux/libwebp_jni.so        \
        plugins/android/lib/libwebp/linux/libwebp_jni64.so &&   \
        ${ECHO} "idea.filewatcher.disabled=true" >> bin/idea.properties && \
-       ${SED} -e "s|@@IDEA_HOME@@|${PREFIX}/${PKGNAME}|g" \
+       ${SED} -e "s|@@IDEA_HOME@@|${PREFIX}/${PKGNAME_NOREV}|g" \
        ${FILESDIR}/idea.desktop > ${DESTDIR}${PREFIX}/share/applications/idea.desktop && \
-       pax -rw -pm * ${DESTDIR}${PREFIX}/${PKGNAME}
+       pax -rw -pm * ${DESTDIR}${PREFIX}/${PKGNAME_NOREV}
 
 .include "../../lang/python/application.mk"
 .include "../../mk/java-vm.mk"



Home | Main Index | Thread Index | Old Index