pkgsrc-wip/opera-devel/Makefile.rpm
Geert Hendrickx 388c7e7dd8 1) Sync with www/opera to support the new emulator framework.
2) Upgrade to Opera 9.50 Alpha 1 ("Kestrel").  Some enhancements include:

	* Faster and less-memory intensive ECMAscript engine
	* A greatly improved layout algorithm
	* The font-rendering speed is improved significantly, along with the
	  tiling of bitmaps
	* More responsive user interface

XXX Not tested under FreeBSD, please test and update PLIST.freebsd-i386.
XXX There are no binaries for Solaris/sparc, but there are for Solaris/i386.
2007-09-04 17:00:46 +00:00

37 lines
1 KiB
Text

# $NetBSD: Makefile.rpm,v 1.1 2007/09/04 17:00:46 ghen Exp $
# This package installs from an RPM directly into "/usr" on a Linux
# system, which can't be managed by pkgsrc.
#
NOT_FOR_PLATFORMS= Linux-*-*
EMUL_MODULES.linux= x11
EMUL_REQD= suse>=7.3
EXTRACT_SUFX= .rpm
OPERA_ARCH= .i386
OPERA_DIR= unix/${OPERA_PKG_VERSION}-Alpha-1/intel-linux
OPERA_DIST_VERSION= ${OPERA_PKG_VERSION:C/beta.*//:C/u.*//}-${OPERA_VER_DATE}.10-static-qt
WRKSRC= ${WRKDIR}
BUILD_DIRS= # empty
EMUL_PKG_FMT= rpm
RPM2PKG_PREFIX= ${PREFIX}
RPM2PKG_SUBPREFIX= ${EMULSUBDIR}
RPM2PKG_STAGE= do-install
SUBST_CLASSES+= opera-sh
SUBST_STAGE.opera-sh= post-build
SUBST_FILES.opera-sh= opera.sh
SUBST_VARS.opera-sh= CMP EMULDIR MKDIR MV RM SED SH
post-extract:
${CP} ${FILESDIR}/opera.sh ${WRKSRC}
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/opera.sh ${PREFIX}/bin/opera
${LN} -fs ${EMULDIR}/usr/share/man/man1/opera.1 \
${PREFIX}/${PKGMANDIR}/man1
${ECHO} "bin/opera" >> ${RPM2PKG_PLIST}
${ECHO} "${PKGMANDIR}/man1/opera.1" >> ${RPM2PKG_PLIST}