aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2017-10-15 03:10:06 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2018-02-04 05:44:43 +0800
commit780e79411562eddfc233898ee902a72032d3bf91 (patch)
tree988b3b24bdc7281d952109090996c74f82a6b684 /java
parent4bdddd13b9b16f0a74341a77689e622cca9f5489 (diff)
downloadfreebsd-ports-gnome-780e79411562eddfc233898ee902a72032d3bf91.tar.gz
freebsd-ports-gnome-780e79411562eddfc233898ee902a72032d3bf91.tar.zst
freebsd-ports-gnome-780e79411562eddfc233898ee902a72032d3bf91.zip
. Pet portlint.
Diffstat (limited to 'java')
-rw-r--r--java/linux-oracle-jre9/Makefile6
-rw-r--r--java/linux-oracle-jre9/pkg-plist4
2 files changed, 5 insertions, 5 deletions
diff --git a/java/linux-oracle-jre9/Makefile b/java/linux-oracle-jre9/Makefile
index de438b3ce87a..d96ee6c1c64b 100644
--- a/java/linux-oracle-jre9/Makefile
+++ b/java/linux-oracle-jre9/Makefile
@@ -5,15 +5,16 @@ PORTVERSION= ${JRE_VERSION}.${JRE_UPDATE_VERSION}
CATEGORIES= java
MASTER_SITES= #
PKGNAMEPREFIX= linux-${JRE_VENDOR}-
+PKGNAMESUFFIX= ${JRE_VERSION}
DISTNAME= jre-${JRE_VERSION}_linux-x64_bin
MAINTAINER= java@FreeBSD.org
COMMENT= Oracle Java ${JRE_VERSION} Runtime Environment for Linux
+ONLY_FOR_ARCHS= amd64 i386
RUN_DEPENDS= javavm:java/javavmwrapper
RESTRICTED= Redistribution of repackaged binaries not permitted
-PKGNAMESUFFIX= ${JRE_VERSION}
WRKSRC= ${WRKDIR}/jre-${DL_JRE_VERSION}
PLIST_SUB= T=${APP_HOME:S/^${PREFIX}\///} PORTVERSION=${PORTVERSION}
@@ -21,7 +22,6 @@ PLIST_SUB= T=${APP_HOME:S/^${PREFIX}\///} PORTVERSION=${PORTVERSION}
NO_BUILD= yes
USES= linux
USE_LINUX= xorglibs
-ONLY_FOR_ARCHS= i386 amd64
JRE_VENDOR= oracle
JRE_VERSION= 9
@@ -49,7 +49,5 @@ IGNORE?=You must manually fetch the J2SE RE download for the Linux platform (${D
do-install:
@${MKDIR} ${STAGEDIR}${APP_HOME}
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${APP_HOME}
- @cd ${STAGEDIR}${APP_HOME} && \
- ${CHMOD} ${BINMODE} ${BIN_DIRS:S|$|/*|} ${LIB_DIRS:S|$|/jexec|}
.include <bsd.port.post.mk>
diff --git a/java/linux-oracle-jre9/pkg-plist b/java/linux-oracle-jre9/pkg-plist
index e4c4113b5455..ee05a762d623 100644
--- a/java/linux-oracle-jre9/pkg-plist
+++ b/java/linux-oracle-jre9/pkg-plist
@@ -1,4 +1,5 @@
%%T%%/README.html
+@mode 555
%%T%%/bin/appletviewer
%%T%%/bin/idlj
%%T%%/bin/java
@@ -16,6 +17,7 @@
%%T%%/bin/servertool
%%T%%/bin/tnameserv
%%T%%/bin/unpack200
+@mode
%%T%%/conf/logging.properties
%%T%%/conf/management/jmxremote.access
%%T%%/conf/management/jmxremote.password.template
@@ -308,7 +310,7 @@
%%T%%/lib/jdk.javaws.jar
%%T%%/lib/jdk.plugin.dom.jar
%%T%%/lib/jdk.plugin.jar
-%%T%%/lib/jexec
+@(,,555) %%T%%/lib/jexec
%%T%%/lib/jfr/default.jfc
%%T%%/lib/jfr/profile.jfc
%%T%%/lib/jli/libjli.so