aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-22 19:57:09 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-22 20:26:42 +0000
commitc41eda0a4f8882605f1d52fd972b26f444efa50d (patch)
tree80257aa1aa46c60dd6b4f960fe7c5e8ef21af788
parent9a5a5a0378972be4f6b9d4d4c67c68baaebb1daa (diff)
downloadports-c41eda0a4f8882605f1d52fd972b26f444efa50d.tar.gz
ports-c41eda0a4f8882605f1d52fd972b26f444efa50d.zip
java/icedtea-web: Sanitize MANPREFIX
Approved by: portmgr (blanket)
-rw-r--r--java/icedtea-web/Makefile14
-rw-r--r--java/icedtea-web/pkg-plist40
2 files changed, 31 insertions, 23 deletions
diff --git a/java/icedtea-web/Makefile b/java/icedtea-web/Makefile
index 4fb162346267..3e7bb73dde74 100644
--- a/java/icedtea-web/Makefile
+++ b/java/icedtea-web/Makefile
@@ -1,7 +1,7 @@
PORTNAME= icedtea-web
PORTVERSION= 1.8.8
DISTVERSIONPREFIX= icedtea-web-
-PORTREVISION= 12
+PORTREVISION= 13
CATEGORIES= java www
MAINTAINER= java@FreeBSD.org
@@ -104,11 +104,19 @@ post-patch:
post-install:
${INSTALL_DATA} ${WRKSRC}/*.desktop ${STAGEDIR}${DESKTOPDIR}
.for lang in cs de en pl
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/man/${lang:Nen}/man1
.for man in javaws policyeditor
- ${MV} ${STAGEDIR}${MANPREFIX}/man/${lang:Nen}/man1/${man}.1 \
- ${STAGEDIR}${MANPREFIX}/man/${lang:Nen}/man1/itweb-${man}.1
+ ${MV} ${STAGEDIR}${PREFIX}/man/${lang:Nen}/man1/${man}.1 \
+ ${STAGEDIR}${PREFIX}/share/man/${lang:Nen}/man1/itweb-${man}.1
.endfor
.endfor
+.for lang in cs de pl
+ ${MV} ${STAGEDIR}${PREFIX}/man/${lang}/man1/* \
+ ${STAGEDIR}${PREFIX}/share/man/${lang}/man1/
+ ${RM} -r ${STAGEDIR}${PREFIX}/man/${lang}
+.endfor
+ ${MV} ${STAGEDIR}${PREFIX}/man/man1/* \
+ ${STAGEDIR}${PREFIX}/share/man/man1/
@${ECHO_MSG}
@${ECHO_MSG} "Run \"make test\" to execute regression test."
@${ECHO_MSG}
diff --git a/java/icedtea-web/pkg-plist b/java/icedtea-web/pkg-plist
index b8bbd2979ad1..8bef1e978c5f 100644
--- a/java/icedtea-web/pkg-plist
+++ b/java/icedtea-web/pkg-plist
@@ -9,26 +9,26 @@ bin/itweb-settings.sh
etc/bash_completion.d/itweb-settings.bash
etc/bash_completion.d/javaws.bash
etc/bash_completion.d/policyeditor.bash
-man/cs/man1/icedtea-web-plugin.1.gz
-man/cs/man1/icedtea-web.1.gz
-man/cs/man1/itweb-javaws.1.gz
-man/cs/man1/itweb-policyeditor.1.gz
-man/cs/man1/itweb-settings.1.gz
-man/de/man1/icedtea-web-plugin.1.gz
-man/de/man1/icedtea-web.1.gz
-man/de/man1/itweb-javaws.1.gz
-man/de/man1/itweb-policyeditor.1.gz
-man/de/man1/itweb-settings.1.gz
-man/man1/icedtea-web-plugin.1.gz
-man/man1/icedtea-web.1.gz
-man/man1/itweb-javaws.1.gz
-man/man1/itweb-policyeditor.1.gz
-man/man1/itweb-settings.1.gz
-man/pl/man1/icedtea-web-plugin.1.gz
-man/pl/man1/icedtea-web.1.gz
-man/pl/man1/itweb-javaws.1.gz
-man/pl/man1/itweb-policyeditor.1.gz
-man/pl/man1/itweb-settings.1.gz
+share/man/cs/man1/icedtea-web-plugin.1.gz
+share/man/cs/man1/icedtea-web.1.gz
+share/man/cs/man1/itweb-javaws.1.gz
+share/man/cs/man1/itweb-policyeditor.1.gz
+share/man/cs/man1/itweb-settings.1.gz
+share/man/de/man1/icedtea-web-plugin.1.gz
+share/man/de/man1/icedtea-web.1.gz
+share/man/de/man1/itweb-javaws.1.gz
+share/man/de/man1/itweb-policyeditor.1.gz
+share/man/de/man1/itweb-settings.1.gz
+share/man/man1/icedtea-web-plugin.1.gz
+share/man/man1/icedtea-web.1.gz
+share/man/man1/itweb-javaws.1.gz
+share/man/man1/itweb-policyeditor.1.gz
+share/man/man1/itweb-settings.1.gz
+share/man/pl/man1/icedtea-web-plugin.1.gz
+share/man/pl/man1/icedtea-web.1.gz
+share/man/pl/man1/itweb-javaws.1.gz
+share/man/pl/man1/itweb-policyeditor.1.gz
+share/man/pl/man1/itweb-settings.1.gz
share/applications/itweb-javaws.desktop
share/applications/itweb-policyeditor.desktop
share/applications/itweb-settings.desktop