82a87de90c
Mk/Uses/linux.mk. - Replace USE_LINUX=yes with USES+=linux and USE_LINUX=(.*) with USES+=linux:\1 in all ports. - Replace USE_LINUX_APPS with USE_LINUX in all ports. - Use INSTALL_SCRIPT instead of INSTALL_PROGRAM to install scripts in some ports. - When USE_LINUX_RPM is defined, simplify the way DISTFILES and EXTRACT_ONLY are defined. - Remove BRANDELF_DIRS and BRANDELF_FILES handling. In the very rare cases that it is still necessary ports can run ${BRANDELF} from post-patch. - Remove AUTOMATIC_PLIST handling. Only one port used it. - Fix Linux MASTER_SITES. - Replace OVERRIDE_LINUX_BASE_PORT and OVERRIDE_LINUX_NONBASE_PORTS with default versions framework. - bsd.port.mk: - Move Linux related bits to Uses/linux.mk, except USE_LINUX_PREFIX. - Put USE_LINUX_PREFIX handling after USES processing. - Define DOCSDIR, DATADIR, etc. after handling USE_LINUX_PREFIX so it can give these variables a different default value. - When a package needs to run Linux ldconfig check before installation if Linux support is enabled. - emulators/linux_base-*: - Use USES=linux and remove duplication. - Remove files/lp. FreeBSD or CUPS lp(1) should work. - Remove files/yp.conf. No longer seems to be used. - Remove pkg-deinstall and move pkg-install into pkg-plist. - Update pkg-descr and pkg-message. - Fix handling of ldconfig cache in pkg-plist. - devel/fb-adb: Use a Linux shell to run a Linux script but patch the script to use FreeBSD mkdir so mkdir -p $path creates $path and not /compat/linux/$path. PR: 211645 Exp-run by: antoine Approved by: portmgr (antoine)
41 lines
1.3 KiB
Makefile
41 lines
1.3 KiB
Makefile
# Created by: Arjan van Leeuwen <freebsd-maintainer@opera.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= opera
|
|
PORTVERSION= ${OPERA_VER}
|
|
CATEGORIES= www linux
|
|
MASTER_SITES= ftp://opera.inode.at/${MASTER_SITES_VER_PATH}/ \
|
|
ftp://ftp.opera.com/pub/opera/${MASTER_SITES_VER_PATH}/ \
|
|
http://gd.tuwien.ac.at/infosys/browsers/opera/${MASTER_SITES_VER_PATH}/ \
|
|
ftp://opera.ftp.fu-berlin.de/${MASTER_SITES_VER_PATH}/ \
|
|
http://ftp.ntua.gr/pub/www/Opera/${MASTER_SITES_VER_PATH}/ \
|
|
http://mirrors.dedipower.com/opera/${MASTER_SITES_VER_PATH}/ \
|
|
ftp://ftp.tiscali.nl/pub/mirrors/opera/${MASTER_SITES_VER_PATH}/
|
|
PKGNAMESUFFIX= -linuxplugins
|
|
DISTNAME= ${PORTNAME}-${OPERA_VER}-${OPERA_BUILD}.i386.linux
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Linux plugin support for the native Opera browser
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/opera/pluginwrapper/operapluginwrapper:${PKGCATEGORY}/opera
|
|
|
|
OPERA_VER?= 12.16
|
|
OPERA_BUILD?= 1860
|
|
MASTER_SITES_VER_PATH= linux/${OPERA_VER:S/.//}/
|
|
|
|
USES= linux tar:xz
|
|
USE_LINUX= xorglibs
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
NO_BUILD= yes
|
|
NO_MTREE= yes
|
|
|
|
PLIST_FILES= lib/opera/pluginwrapper/operapluginwrapper-ia32-linux
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/lib/opera/pluginwrapper
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lib/opera/pluginwrapper/operapluginwrapper-native \
|
|
${STAGEDIR}${PREFIX}/lib/opera/pluginwrapper/operapluginwrapper-ia32-linux
|
|
|
|
.include <bsd.port.mk>
|