2010-08-28 05:19:14 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.67 2010/08/28 09:19:15 sthen Exp $
|
2001-05-16 10:44:26 -04:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
2009-09-22 01:14:43 -04:00
|
|
|
SHARED_ONLY= Yes
|
2001-05-16 10:44:26 -04:00
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= fast and customizable WWW browser
|
2001-09-16 13:10:29 -04:00
|
|
|
|
2010-06-26 02:18:08 -04:00
|
|
|
V= 10.11
|
|
|
|
OPERA_BUILD= 4791
|
2009-09-22 01:14:43 -04:00
|
|
|
DISTNAME= opera-${V}.gcc4-shared-qt3.i386
|
2010-06-26 02:18:08 -04:00
|
|
|
PKGNAME= opera-${V}
|
2010-08-28 05:19:14 -04:00
|
|
|
REVISION= 0
|
2001-05-16 10:44:26 -04:00
|
|
|
CATEGORIES= www
|
2004-05-15 08:56:46 -04:00
|
|
|
|
2001-05-16 10:44:26 -04:00
|
|
|
HOMEPAGE= http://www.opera.com/
|
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Commercial software
|
|
|
|
PERMIT_PACKAGE_FTP= Commercial software
|
|
|
|
PERMIT_DISTFILES_CDROM= Commercial software
|
|
|
|
PERMIT_DISTFILES_FTP= Commercial software
|
2001-05-16 10:44:26 -04:00
|
|
|
|
2002-05-28 11:03:03 -04:00
|
|
|
MASTER_SITES_OPERA= ftp://ftp.opera.com/pub/opera/ \
|
|
|
|
ftp://gd.tuwien.ac.at/infosys/browsers/opera/ \
|
|
|
|
ftp://ftp.hu-berlin.de/pub/www/opera/ \
|
|
|
|
ftp://sunsite.cnlab-switch.ch/mirror/opera/ \
|
|
|
|
ftp://ftp.planetmirror.com/pub/opera/ \
|
|
|
|
ftp://ftp.sunet.se/pub/www/clients/Opera/ \
|
|
|
|
ftp://ftp.task.gda.pl/pub/opera/ \
|
|
|
|
ftp://opera.mirror.stop.hu/opera/ \
|
|
|
|
http://www.panix.com/opera/files/ \
|
|
|
|
ftp://ftp.rge.com/pub/infosystems/opera/ \
|
|
|
|
http://www.rge.com/pub/infosystems/opera/
|
|
|
|
|
2009-09-22 01:14:43 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITES_OPERA:=linux/${V:S/.//}/final/en/i386/shared/}
|
2002-04-23 11:44:43 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2001-05-16 10:44:26 -04:00
|
|
|
|
2008-12-02 14:54:16 -05:00
|
|
|
RUN_DEPENDS= ::devel/desktop-file-utils \
|
|
|
|
::emulators/fedora/base
|
2001-05-16 10:44:26 -04:00
|
|
|
|
2001-10-25 12:14:51 -04:00
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2009-09-22 01:14:43 -04:00
|
|
|
WRKDIST= ${WRKDIR}/opera-$V-${OPERA_BUILD}.gcc4-shared-qt3.i386
|
2006-06-23 04:34:17 -04:00
|
|
|
|
2001-05-16 10:44:26 -04:00
|
|
|
do-install:
|
2001-06-02 17:22:09 -04:00
|
|
|
cd ${WRKBUILD} && ./install.sh \
|
2008-06-12 15:04:10 -04:00
|
|
|
--DESTDIR=${DESTDIR} \
|
|
|
|
--docdir=${TRUEPREFIX}/share/doc/opera \
|
|
|
|
--exec_prefix=${TRUEPREFIX}/libexec \
|
|
|
|
--mandir=${TRUEPREFIX}/man \
|
|
|
|
--plugindir=${TRUEPREFIX}/lib/opera/plugins \
|
|
|
|
--sharedir=${TRUEPREFIX}/share/opera \
|
|
|
|
--wrapperdir=${TRUEPREFIX}/bin
|
2002-04-23 11:44:43 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/opera
|
2010-03-20 12:51:42 -04:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/operaprefs_default.ini \
|
|
|
|
${PREFIX}/share/examples/opera/operaprefs_default.ini
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/operaprefs_fixed.ini \
|
|
|
|
${PREFIX}/share/examples/opera/operaprefs_fixed.ini
|
2008-12-02 14:54:16 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/icons
|
|
|
|
cd ${WRKSRC}/usr/share/icons/; tar cf - * | tar xf - -C ${PREFIX}/share/icons/
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
|
|
|
|
${SUBST_CMD} -c ${FILESDIR}/opera.desktop \
|
|
|
|
${PREFIX}/share/applications/opera.desktop
|
|
|
|
chown ${SHAREOWN}:${SHAREGRP} \
|
|
|
|
${PREFIX}/share/applications/opera.desktop
|
2001-05-16 10:44:26 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|