mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
0263b9d868
both current (fc4) and future linux (f8) distributions at one ports tree. The patch contains full changes to ports/Mk files and all ports involved. But only infrastructure is changed. The resulting packages are the same as before. Hence no need to bump PORTREVISIONs. The idea was taken from bsd.gnome.mk and others. More than 130 ports are switched to follow a new linux infrastructure introduced by changes to bsd.port.mk, bsd.linux-rpm.mk and a new bsd.linux-apps.mk. Thanks for all who was involved and helped me with this work. And help from Alexander Leidinger was incredible. Other changes are coming. Stay tuned! PR: ports/132510 Submitted by: bsam (me) Exp-run by: portmgr (pav)
66 lines
2.2 KiB
Makefile
66 lines
2.2 KiB
Makefile
# New ports collection makefile for: linux-opera
|
|
# Date created: December 6th 2000
|
|
# Whom: des
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= opera
|
|
PORTVERSION= ${OPERA_VER}
|
|
CATEGORIES= www linux
|
|
MASTER_SITES= ftp://ftp.opera.com/pub/opera/linux/${OPERA_VER:S/.//}/final/en/i386/static/ \
|
|
ftp://ftp.sunet.se/pub/www/clients/Opera/linux/${OPERA_VER:S/.//}/final/en/i386/static/ \
|
|
ftp://sunsite.cnlab-switch.ch/mirror/opera/linux/${OPERA_VER:S/.//}/final/en/i386/static/ \
|
|
ftp://ftp.tiscali.nl/pub/mirrors/opera/linux/${OPERA_VER:S/.//}/final/en/i386/static/ \
|
|
ftp://ftp.ntua.gr/pub/www/Opera/linux/${OPERA_VER:S/.//}/final/en/i386/static/ \
|
|
http://mirrors.pmmf.hu/mirror/opera/linux/${OPERA_VER:S/.//}/final/en/i386/static/ \
|
|
ftp://ftp.task.gda.pl/pub/opera/linux/${OPERA_VER:S/.//}/final/en/i386/static/ \
|
|
ftp://ftp.planetmirror.com/pub/opera/linux/${OPERA_VER:S/.//}/final/en/i386/static/ \
|
|
http://gd.tuwien.ac.at/infosys/browsers/opera/linux/${OPERA_VER:S/.//}/final/en/i386/static/ \
|
|
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/www/opera/linux/${OPERA_VER:S/.//}/final/en/i386/static/&,}
|
|
PKGNAMEPREFIX= linux-
|
|
DISTNAME= ${PORTNAME}-${OPERA_VER}.gcc4-static-qt3.i386
|
|
|
|
MAINTAINER= mezz@FreeBSD.org
|
|
COMMENT= A blazingly fast, full-featured, standards-compliant browser
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/.gcc/-${OPERA_BUILD}.gcc/}
|
|
USE_BZIP2= yes
|
|
USE_LINUX= yes
|
|
USE_LINUX_APPS= aspell xorglibs
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
NO_BUILD= yes
|
|
|
|
OPERA_VER= 9.64
|
|
OPERA_BUILD= 2480
|
|
DATADIR= ${PREFIX}/share/${UNIQUENAME}
|
|
DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME}
|
|
|
|
MAN1= linux-opera.1
|
|
|
|
post-extract:
|
|
@${MV} ${WRKSRC}/usr/share/man/man1/opera.1 \
|
|
${WRKSRC}/usr/share/man/man1/${UNIQUENAME}.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \
|
|
s|%%LOCALBASE%%|${LOCALBASE}|g ; \
|
|
s|%%LINUXBASE%%|${LINUXBASE}|g' \
|
|
${WRKSRC}/install.sh \
|
|
${WRKSRC}/usr/share/opera/ini/pluginpath.ini
|
|
@${REINPLACE_CMD} -e 's|man1/opera.1|man1/${UNIQUENAME}.1|g' \
|
|
${WRKSRC}/Manifest.md5
|
|
@${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)
|
|
|
|
.include <bsd.port.mk>
|