diff options
author | hrs <hrs@FreeBSD.org> | 2006-02-22 06:58:02 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2006-02-22 06:58:02 +0000 |
commit | 88c815ec482dabca4fa73c4c77001fa97d004f27 (patch) | |
tree | b3cbe77c4a77c19ab999aeef51bd03ea0347f5b9 /print | |
parent | 0db8f967733bc8d5c88d4914f273faea54c31bfb (diff) | |
download | FreeBSD-ports-88c815ec482dabca4fa73c4c77001fa97d004f27.zip FreeBSD-ports-88c815ec482dabca4fa73c4c77001fa97d004f27.tar.gz |
Fix plugin directory (not under %%LINUXBASE%%).
Pointed out by: nyan
Diffstat (limited to 'print')
-rw-r--r-- | print/acroreadwrapper/Makefile | 2 | ||||
-rw-r--r-- | print/acroreadwrapper/files/acroread.in | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/print/acroreadwrapper/Makefile b/print/acroreadwrapper/Makefile index 688ae9e..73cb9d4 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 1470d86..73dc120 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 |