1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Oops, previous revision didn't set OPERA_DIR correctly.

This commit is contained in:
Dag-Erling Smørgrav 2001-11-27 01:10:46 +00:00
parent eac78fad34
commit b9fa2ab71b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50603
6 changed files with 63 additions and 15 deletions

View File

@ -8,6 +8,7 @@
PORTNAME= opera
PKGNAMEPREFIX= linux-
PORTVERSION= 6.0-20011122.1
PORTREVISION= 1
CATEGORIES= www linux
MASTER_SITES= http://opera.online.no/linux/600/tp1/ \
ftp://ftp.opera.com/pub/opera/linux/600/tp1/
@ -25,7 +26,8 @@ NO_BUILD= yes
NO_FILTER_SHLIBS=yes
do-configure:
${PERL} -p -i -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/install.sh
${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g; s|%%DATADIR%%|${DATADIR}|g'\
${WRKSRC}/install.sh
do-install:
(cd ${WRKSRC} && ./install.sh \

View File

@ -1,5 +1,5 @@
--- install.sh.orig Tue Nov 27 00:56:59 2001
+++ install.sh Tue Nov 27 01:01:20 2001
--- install.sh.orig Thu Nov 22 12:38:09 2001
+++ install.sh Tue Nov 27 02:05:55 2001
@@ -228,7 +228,16 @@
mvv='' # SunOS mv (no -v verbose option)
;;
@ -18,19 +18,33 @@
;;
i[3456]86:Linux)
@@ -477,10 +486,10 @@
# Opera enviroment
if test \"\${OPERA_DIR}\" = '' ; then
- if test -d /usr/share/opera ; then
- OPERA_DIR=/usr/share/opera
+ if test -d %%DATADIR%% ; then
+ OPERA_DIR=%%DATADIR%%
else
- echo \"OPERA_DIR unset and not in default location (/usr/share/opera)\"
+ echo \"OPERA_DIR unset and not in default location (%%DATADIR%%)\"
exit 1
fi
fi
@@ -491,18 +500,11 @@
for DIR in \\
\"\${HOME}/.opera/plugins\" \\
${plugin_dir} \\
- /usr/lib/opera/plugins \\
- /usr/local/Acrobat4/Browsers/intellinux \\
+ %%PREFIX%%/lib/opera/plugins \\
+ %%PREFIX%%/Acrobat4/Browsers/intellinux \\
- /usr/java/jre1.3.1/plugin/i386/ns4 \\
- /usr/lib/RealPlayer8/Plugins \\
- /usr/lib/realplay/plugins \\
- /usr/lib/RealPlayer8 \\
- /usr/lib/realplay \\
+ %%PREFIX%%/lib/opera/plugins \\
+ %%PREFIX%%/Acrobat4/Browsers/intellinux \\
+ %%PREFIX%%/java/linux-*jdk*/jre/plugin/i386/ns4 \\
\"\${HOME}/.netscape/plugins\" \\
- /opt/netscape/plugins \\

View File

@ -8,6 +8,7 @@
PORTNAME= opera
PKGNAMEPREFIX= linux-
PORTVERSION= 6.0-20011122.1
PORTREVISION= 1
CATEGORIES= www linux
MASTER_SITES= http://opera.online.no/linux/600/tp1/ \
ftp://ftp.opera.com/pub/opera/linux/600/tp1/
@ -25,7 +26,8 @@ NO_BUILD= yes
NO_FILTER_SHLIBS=yes
do-configure:
${PERL} -p -i -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/install.sh
${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g; s|%%DATADIR%%|${DATADIR}|g'\
${WRKSRC}/install.sh
do-install:
(cd ${WRKSRC} && ./install.sh \

View File

@ -1,5 +1,5 @@
--- install.sh.orig Tue Nov 27 00:56:59 2001
+++ install.sh Tue Nov 27 01:01:20 2001
--- install.sh.orig Thu Nov 22 12:38:09 2001
+++ install.sh Tue Nov 27 02:05:55 2001
@@ -228,7 +228,16 @@
mvv='' # SunOS mv (no -v verbose option)
;;
@ -18,19 +18,33 @@
;;
i[3456]86:Linux)
@@ -477,10 +486,10 @@
# Opera enviroment
if test \"\${OPERA_DIR}\" = '' ; then
- if test -d /usr/share/opera ; then
- OPERA_DIR=/usr/share/opera
+ if test -d %%DATADIR%% ; then
+ OPERA_DIR=%%DATADIR%%
else
- echo \"OPERA_DIR unset and not in default location (/usr/share/opera)\"
+ echo \"OPERA_DIR unset and not in default location (%%DATADIR%%)\"
exit 1
fi
fi
@@ -491,18 +500,11 @@
for DIR in \\
\"\${HOME}/.opera/plugins\" \\
${plugin_dir} \\
- /usr/lib/opera/plugins \\
- /usr/local/Acrobat4/Browsers/intellinux \\
+ %%PREFIX%%/lib/opera/plugins \\
+ %%PREFIX%%/Acrobat4/Browsers/intellinux \\
- /usr/java/jre1.3.1/plugin/i386/ns4 \\
- /usr/lib/RealPlayer8/Plugins \\
- /usr/lib/realplay/plugins \\
- /usr/lib/RealPlayer8 \\
- /usr/lib/realplay \\
+ %%PREFIX%%/lib/opera/plugins \\
+ %%PREFIX%%/Acrobat4/Browsers/intellinux \\
+ %%PREFIX%%/java/linux-*jdk*/jre/plugin/i386/ns4 \\
\"\${HOME}/.netscape/plugins\" \\
- /opt/netscape/plugins \\

View File

@ -8,6 +8,7 @@
PORTNAME= opera
PKGNAMEPREFIX= linux-
PORTVERSION= 6.0-20011122.1
PORTREVISION= 1
CATEGORIES= www linux
MASTER_SITES= http://opera.online.no/linux/600/tp1/ \
ftp://ftp.opera.com/pub/opera/linux/600/tp1/
@ -25,7 +26,8 @@ NO_BUILD= yes
NO_FILTER_SHLIBS=yes
do-configure:
${PERL} -p -i -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/install.sh
${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g; s|%%DATADIR%%|${DATADIR}|g'\
${WRKSRC}/install.sh
do-install:
(cd ${WRKSRC} && ./install.sh \

View File

@ -1,5 +1,5 @@
--- install.sh.orig Tue Nov 27 00:56:59 2001
+++ install.sh Tue Nov 27 01:01:20 2001
--- install.sh.orig Thu Nov 22 12:38:09 2001
+++ install.sh Tue Nov 27 02:05:55 2001
@@ -228,7 +228,16 @@
mvv='' # SunOS mv (no -v verbose option)
;;
@ -18,19 +18,33 @@
;;
i[3456]86:Linux)
@@ -477,10 +486,10 @@
# Opera enviroment
if test \"\${OPERA_DIR}\" = '' ; then
- if test -d /usr/share/opera ; then
- OPERA_DIR=/usr/share/opera
+ if test -d %%DATADIR%% ; then
+ OPERA_DIR=%%DATADIR%%
else
- echo \"OPERA_DIR unset and not in default location (/usr/share/opera)\"
+ echo \"OPERA_DIR unset and not in default location (%%DATADIR%%)\"
exit 1
fi
fi
@@ -491,18 +500,11 @@
for DIR in \\
\"\${HOME}/.opera/plugins\" \\
${plugin_dir} \\
- /usr/lib/opera/plugins \\
- /usr/local/Acrobat4/Browsers/intellinux \\
+ %%PREFIX%%/lib/opera/plugins \\
+ %%PREFIX%%/Acrobat4/Browsers/intellinux \\
- /usr/java/jre1.3.1/plugin/i386/ns4 \\
- /usr/lib/RealPlayer8/Plugins \\
- /usr/lib/realplay/plugins \\
- /usr/lib/RealPlayer8 \\
- /usr/lib/realplay \\
+ %%PREFIX%%/lib/opera/plugins \\
+ %%PREFIX%%/Acrobat4/Browsers/intellinux \\
+ %%PREFIX%%/java/linux-*jdk*/jre/plugin/i386/ns4 \\
\"\${HOME}/.netscape/plugins\" \\
- /opt/netscape/plugins \\