mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
8a08cc23ae
Linux binary. Reported by: Andriy Gapon <avg@icyb.net.ua>, Boris Samorodov <bsam@ipt.ru>
81 lines
2.4 KiB
Makefile
81 lines
2.4 KiB
Makefile
# New ports collection makefile for: linux-opera
|
|
# Date created: December 6th 2000
|
|
# Whom: des
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= opera
|
|
PORTVERSION= ${OPERA_VER}.${OPERA_DATE}
|
|
PORTREVISION= 1
|
|
CATEGORIES= www linux
|
|
MASTER_SITES= ftp://ftp.opera.com/pub/opera/linux/${OPERA_VER:S/.//}0/final/en/i386/static/ \
|
|
ftp://ftp.sunet.se/pub/www/clients/Opera/linux/${OPERA_VER:S/.//}0/final/en/i386/static/ \
|
|
ftp://sunsite.cnlab-switch.ch/mirror/opera/linux/${OPERA_VER:S/.//}0/final/en/i386/static/ \
|
|
ftp://ftp.tiscali.nl/pub/mirrors/opera/linux/${OPERA_VER:S/.//}0/final/en/i386/static/ \
|
|
ftp://ftp.ntua.gr/pub/www/Opera/linux/${OPERA_VER:S/.//}0/final/en/i386/static/ \
|
|
http://mirrors.pmmf.hu/mirror/opera/linux/${OPERA_VER:S/.//}0/final/en/i386/static/ \
|
|
ftp://ftp.task.gda.pl/pub/opera/linux/${OPERA_VER:S/.//}0/final/en/i386/static/ \
|
|
ftp://ftp.planetmirror.com/pub/opera/linux/${OPERA_VER:S/.//}0/final/en/i386/static/ \
|
|
http://gd.tuwien.ac.at/infosys/browsers/opera/linux/${OPERA_VER:S/.//}0/final/en/i386/static/ \
|
|
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/www/opera/linux/${OPERA_VER:S/.//}0/final/en/i386/static/&,}
|
|
PKGNAMEPREFIX= linux-
|
|
DISTNAME= ${PORTNAME}-${OPERA_VER}-${OPERA_DATE}.1-static-qt.i386-en
|
|
|
|
MAINTAINER= mezz@FreeBSD.org
|
|
COMMENT= A blazingly fast, full-featured, standards-compliant browser
|
|
|
|
RUN_DEPENDS= \
|
|
${LINUXBASE}/usr/lib/libaspell.so.15:${PORTSDIR}/textproc/linux-aspell
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}-${OPERA_BUILD}
|
|
USE_BZIP2= yes
|
|
WANT_GNOME= yes
|
|
USE_LINUX= yes
|
|
USE_X_PREFIX= yes
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
NO_BUILD= yes
|
|
|
|
OPERA_VER= 9.0
|
|
OPERA_DATE= 20060616
|
|
OPERA_BUILD= 344
|
|
DATADIR= ${PREFIX}/share/${UNIQUENAME}
|
|
DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME}
|
|
|
|
MAN1= linux-opera.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${HAVE_GNOME:Mgnomehier}!=""
|
|
PLIST_SUB+= GNOME:=""
|
|
.else
|
|
PLIST_SUB+= GNOME:="@comment "
|
|
.endif
|
|
|
|
.if exists(${LOCALBASE}/bin/kde-config)
|
|
PLIST_SUB+= KDE:=""
|
|
.else
|
|
PLIST_SUB+= KDE:="@comment "
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \
|
|
s|%%LOCALBASE%%|${LOCALBASE}|g ; s|%%X11BASE%%|${X11BASE}|g' \
|
|
${WRKSRC}/install.sh ${WRKSRC}/ini/pluginpath.ini
|
|
@${FIND} ${WRKSRC} -name '*.orig' -delete
|
|
@${FIND} ${WRKSRC} -name '*.bak' -delete
|
|
|
|
do-install:
|
|
@(cd ${WRKSRC} && ./install.sh \
|
|
--prefix=${PREFIX} \
|
|
--docdir=${DOCSDIR} \
|
|
--sharedir=${DATADIR} \
|
|
--exec_prefix=${DATADIR}/bin \
|
|
--plugindir=${DATADIR}/plugins)
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|