summaryrefslogtreecommitdiff
path: root/www/ies4linux/Makefile
blob: 09619a5d58c621e6918660934043ff9d7427f063 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# $NetBSD: Makefile,v 1.3 2009/02/09 22:56:27 joerg Exp $
#

DISTNAME=	ies4linux-2.99.0.1
PKGREVISION=	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 installer

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"