freebsd-ports/www/opera-linuxplugins/Makefile
Mathieu Arnold 72ea7e696b Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:33:55 +00:00

42 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= tar:xz
USE_LINUX= yes
USE_LINUX_APPS= 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>