aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2006-02-22 14:58:02 +0800
committerhrs <hrs@FreeBSD.org>2006-02-22 14:58:02 +0800
commit88c815ec482dabca4fa73c4c77001fa97d004f27 (patch)
treeb3cbe77c4a77c19ab999aeef51bd03ea0347f5b9 /print
parent0db8f967733bc8d5c88d4914f273faea54c31bfb (diff)
downloadfreebsd-ports-gnome-88c815ec482dabca4fa73c4c77001fa97d004f27.tar.gz
freebsd-ports-gnome-88c815ec482dabca4fa73c4c77001fa97d004f27.tar.zst
freebsd-ports-gnome-88c815ec482dabca4fa73c4c77001fa97d004f27.zip
Fix plugin directory (not under %%LINUXBASE%%).
Pointed out by: nyan
Diffstat (limited to 'print')
-rw-r--r--print/acroreadwrapper/Makefile2
-rw-r--r--print/acroreadwrapper/files/acroread.in8
2 files changed, 5 insertions, 5 deletions
diff --git a/print/acroreadwrapper/Makefile b/print/acroreadwrapper/Makefile
index 688ae9efce28..73cb9d4b4b30 100644
--- a/print/acroreadwrapper/Makefile
+++ b/print/acroreadwrapper/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= acroreadwrapper
-PORTVERSION= 0.0.20060220
+PORTVERSION= 0.0.20060221
CATEGORIES= print
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/print/acroreadwrapper/files/acroread.in b/print/acroreadwrapper/files/acroread.in
index 1470d868a020..73dc120fd770 100644
--- a/print/acroreadwrapper/files/acroread.in
+++ b/print/acroreadwrapper/files/acroread.in
@@ -58,15 +58,15 @@ case $1 in
--install-plugin)
echo "installing PDF plugin..."
echo "%%PREFIX%%/%%ACRODIR%%/${ADOBE_LANG}/Browser/intellinux/nppdf.so -> %%PREFIX%%/%%PLUGINDIR%%/nppdf.so"
- mkdir -p %%PREFIX%%/%%PLUGINDIR%%
+ mkdir -p /../%%PREFIX%%/%%PLUGINDIR%%
ln -s -f %%PREFIX%%/%%ACRODIR%%/${ADOBE_LANG}/Browser/intellinux/nppdf.so \
- %%PREFIX%%/%%PLUGINDIR%%/nppdf.so
+ /../%%PREFIX%%/%%PLUGINDIR%%/nppdf.so
exit 0
;;
--deinstall-plugin)
echo "deinstalling PDF plugin..."
- rm -f %%PREFIX%%/%%PLUGINDIR%%/nppdf.so
- rmdir %%PREFIX%%/%%PLUGINDIR%% 2> /dev/null || true
+ rm -f /../%%PREFIX%%/%%PLUGINDIR%%/nppdf.so
+ rmdir /../%%PREFIX%%/%%PLUGINDIR%% 2> /dev/null || true
exit 0
;;
esac