aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2017-10-15 03:10:06 +0800
committerglewis <glewis@FreeBSD.org>2017-10-15 03:10:06 +0800
commit77e125879679db38c4e4f135b6802d9548930f52 (patch)
treee4d2b257bc122ff0d6b09b3cd150433ef7226c03 /java
parentedbbd8bcc0ef440b9cd3ff8695d17d0e2feeb63b (diff)
downloadfreebsd-ports-gnome-77e125879679db38c4e4f135b6802d9548930f52.tar.gz
freebsd-ports-gnome-77e125879679db38c4e4f135b6802d9548930f52.tar.zst
freebsd-ports-gnome-77e125879679db38c4e4f135b6802d9548930f52.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