summaryrefslogtreecommitdiff
path: root/www/ies4linux
diff options
context:
space:
mode:
authorabs <abs>2009-02-02 20:30:44 +0000
committerabs <abs>2009-02-02 20:30:44 +0000
commit403bc90fee3bd88b57e1f0f65ee25ae4b2916d54 (patch)
treedbed46d9f989bd5ec0aa7803ed652adb5836f8c5 /www/ies4linux
parente47cc4e833787cc7ebc5e8bd8f9bbf1ae14ceeef (diff)
downloadpkgsrc-403bc90fee3bd88b57e1f0f65ee25ae4b2916d54.tar.gz
Added www/ies4linux version 2.99.0.1
IEs4Linux is the simpler way to have Microsoft Internet Explorer running on any OS running Wine. It provides a script with an optional GUI interface to install various versions of IE and associated registry settings and plugins into your .wine configuration.
Diffstat (limited to 'www/ies4linux')
-rw-r--r--www/ies4linux/DESCR6
-rw-r--r--www/ies4linux/Makefile40
-rw-r--r--www/ies4linux/PLIST73
-rw-r--r--www/ies4linux/distinfo6
-rw-r--r--www/ies4linux/patches/patch-aa45
5 files changed, 170 insertions, 0 deletions
diff --git a/www/ies4linux/DESCR b/www/ies4linux/DESCR
new file mode 100644
index 00000000000..c7fa9693310
--- /dev/null
+++ b/www/ies4linux/DESCR
@@ -0,0 +1,6 @@
+IEs4Linux is the simpler way to have Microsoft Internet Explorer
+running any OS running Wine.
+
+It provides a script with an optional GUI interface to install
+various versions of IE and associated registry settings and plugins
+into your .wine configuration.
diff --git a/www/ies4linux/Makefile b/www/ies4linux/Makefile
new file mode 100644
index 00000000000..e514f7bc05f
--- /dev/null
+++ b/www/ies4linux/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/02/02 20:30:44 abs Exp $
+#
+
+DISTNAME= ies4linux-2.99.0.1
+CATEGORIES= www
+MASTER_SITES= http://www.tatanka.com.br/ies4linux/downloads/
+
+MAINTAINER= abs@NetBSD.org
+HOMEPAGE= http://www.tatanka.com.br/ies4linux/page/Main_Page
+COMMENT= Microsoft Internet Explorer
+
+DEPENDS+= bash-[0-9]*:../../shells/bash
+DEPENDS+= unzip-[0-9]*:../../archivers/unzip
+DEPENDS+= wget-[0-9]*:../../net/wget
+DEPENDS+= wine-[0-9]*:../../emulators/wine
+DEPENDS+= ${PYPKGPREFIX}-gtk2-[0-9]*:../../x11/py-gtk2
+BUILD_DEPENDS+= cabextract-[0-9]*:../../archivers/cabextract
+
+NO_BUILD= yes
+PKG_DESTDIR_SUPPORT= user-destdir
+USE_LANGUAGES= # none
+USE_TOOLS+= pax
+
+SHAREDIR= ${PREFIX}/share/ies4linux
+
+SUBST_CLASSES+= sharedir
+SUBST_STAGE.sharedir= post-patch
+SUBST_FILES.sharedir= ${WRKSRC}/ies4linux
+SUBST_SED.sharedir= -e "s|.dirname ..0..|${SHAREDIR}|g"
+
+do-install:
+ cd ${WRKSRC} && rm -f lib/functions.sh.orig
+ cd ${WRKSRC} && rm -fr ui/.svn
+ ${INSTALL_DATA_DIR} ${DESTDIR}${SHAREDIR}
+ cd ${WRKSRC} && pax -rwppm . ${DESTDIR}${SHAREDIR}
+ ${INSTALL_SCRIPT_DIR} ${DESTDIR}${PREFIX}/bin
+ mv ${DESTDIR}${SHAREDIR}/ies4linux ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/ies4linux/PLIST b/www/ies4linux/PLIST
new file mode 100644
index 00000000000..c21a109cc75
--- /dev/null
+++ b/www/ies4linux/PLIST
@@ -0,0 +1,73 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/02/02 20:30:44 abs Exp $
+bin/ies4linux
+share/ies4linux/LICENSE
+share/ies4linux/README
+share/ies4linux/lang/bgBG.sh
+share/ies4linux/lang/caES.sh
+share/ies4linux/lang/csCZ.sh
+share/ies4linux/lang/daDK.sh
+share/ies4linux/lang/deDE.sh
+share/ies4linux/lang/enUS.sh
+share/ies4linux/lang/esAR.sh
+share/ies4linux/lang/esES.sh
+share/ies4linux/lang/esMX.sh
+share/ies4linux/lang/etEE.sh
+share/ies4linux/lang/etET.sh
+share/ies4linux/lang/fiFI.sh
+share/ies4linux/lang/frFR.sh
+share/ies4linux/lang/hrHR.sh
+share/ies4linux/lang/huHU.sh
+share/ies4linux/lang/idID.sh
+share/ies4linux/lang/itIT.sh
+share/ies4linux/lang/jaJP.sh
+share/ies4linux/lang/ltLT.sh
+share/ies4linux/lang/lvLV.sh
+share/ies4linux/lang/msMY.sh
+share/ies4linux/lang/nbNO.sh
+share/ies4linux/lang/nlNL.sh
+share/ies4linux/lang/plPL.sh
+share/ies4linux/lang/ptBR.sh
+share/ies4linux/lang/ptPT.sh
+share/ies4linux/lang/roRO.sh
+share/ies4linux/lang/siSI.sh
+share/ies4linux/lang/skSK.sh
+share/ies4linux/lang/slSI.sh
+share/ies4linux/lang/srYU.sh
+share/ies4linux/lang/svSE.sh
+share/ies4linux/lang/trTR.sh
+share/ies4linux/lang/ukUA.sh
+share/ies4linux/lang/viVN.sh
+share/ies4linux/lang/zhCN.sh
+share/ies4linux/lang/zhTW.sh
+share/ies4linux/lib/files
+share/ies4linux/lib/functions.sh
+share/ies4linux/lib/help.sh
+share/ies4linux/lib/ies4linux.png
+share/ies4linux/lib/ies4linux.svg
+share/ies4linux/lib/install.sh
+share/ies4linux/lib/messages.txt
+share/ies4linux/lib/uninstall.sh
+share/ies4linux/lib/xdg-desktop-icon
+share/ies4linux/lib/xdg-desktop-menu
+share/ies4linux/mac/functions-overwrite.sh
+share/ies4linux/mac/whereiswine.sh
+share/ies4linux/ui/kommander/advanced.kmdr
+share/ies4linux/ui/kommander/installation.kmdr
+share/ies4linux/ui/kommander/kommander.sh
+share/ies4linux/ui/kommander/logo.kmdr
+share/ies4linux/ui/pygtk/ies4linux-gtk.py
+share/ies4linux/ui/pygtk/python-gtk.sh
+share/ies4linux/winereg/.ie1.reg
+share/ies4linux/winereg/.ie2.reg
+share/ies4linux/winereg/ie5.reg
+share/ies4linux/winereg/ie55.reg
+share/ies4linux/winereg/ie6.reg
+share/ies4linux/winereg/ie7.reg
+@dirrm share/ies4linux/winereg
+@dirrm share/ies4linux/ui/pygtk
+@dirrm share/ies4linux/ui/kommander
+@dirrm share/ies4linux/ui
+@dirrm share/ies4linux/mac
+@dirrm share/ies4linux/lib
+@dirrm share/ies4linux/lang
+@dirrm share/ies4linux
diff --git a/www/ies4linux/distinfo b/www/ies4linux/distinfo
new file mode 100644
index 00000000000..0f9e2bc3892
--- /dev/null
+++ b/www/ies4linux/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/02/02 20:30:44 abs Exp $
+
+SHA1 (ies4linux-2.99.0.1.tar.gz) = 3dc29e69e45453b2a73380dbd6d0059f07502d9f
+RMD160 (ies4linux-2.99.0.1.tar.gz) = 7dc2e866c9b344cdbecb26ef23a967dda5e8cfc3
+Size (ies4linux-2.99.0.1.tar.gz) = 332341 bytes
+SHA1 (patch-aa) = 755b80b3aecc25a4a3ed5ffc441a50923793e640
diff --git a/www/ies4linux/patches/patch-aa b/www/ies4linux/patches/patch-aa
new file mode 100644
index 00000000000..aac59c6899d
--- /dev/null
+++ b/www/ies4linux/patches/patch-aa
@@ -0,0 +1,45 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/02/02 20:30:44 abs Exp $
+
+--- lib/functions.sh.orig 2007-11-26 06:28:16.000000000 +0000
++++ lib/functions.sh
+@@ -33,7 +33,8 @@ function init_variables {
+ # Find where wine is
+ function find_wine {
+ which wine &> /dev/null || error $MSG_ERROR_INSTALL_WINE
+- wine --version 2>&1 | grep -q "0.9." || warning $MSG_WARNING_OLDWINE
++ WINE_VERSION=$(wine --version 2>&1 | sed -e 's/[^0-9]*\([0-9]*\.[0-9]*\).*/\1/')
++ [ $WINE_VERSION \< 0.9 ] && warning $MSG_WARNING_OLDWINE
+ }
+
+ # check for cabextract
+@@ -181,7 +182,9 @@ function printDownloadPercentage {
+ # Portable md5 calculator
+ # $1 file
+ function getMD5 {
+- if which md5sum &> /dev/null;then
++ if [ $(uname) = NetBSD ] ; then
++ MD5SUM=$(md5 -n "$1")
++ elif which md5sum &> /dev/null;then
+ MD5SUM=$(md5sum "$1")
+ else
+ MD5SUM=$(md5 -q "$1")
+@@ -200,7 +203,7 @@ function getFileSize {
+ }
+
+ wc '-c' "$1" &> '/dev/null' && {
+- wc '-c' "$1"
++ wc '-c' "$1" | awk '{print $1}'
+ return 0
+ }
+
+@@ -458,7 +461,9 @@ function load_variables_file {
+ }
+
+ function load_default_language {
+- eval $(load_variables_file "$MESSAGE_FILE_FULLPATH")
++ if [ -n "$MESSAGE_FILE_FULLPATH" ] ; then
++ eval $(load_variables_file "$MESSAGE_FILE_FULLPATH")
++ fi
+ }
+
+ # Determine how to run a specific IE