403b56254c
Do not work yet, but that will help people to test and fix COMPAT_LINUX32.
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.12 2007/04/19 16:11:34 xtraeme Exp $
|
|
|
|
DISTNAME= opera-plugins-1.0
|
|
PKGREVISION= 1
|
|
CATEGORIES= www
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # empty
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.opera.com/
|
|
COMMENT= Plugins for the Opera browser
|
|
|
|
DEPENDS+= opera>=5.999.1:../../www/opera
|
|
DEPENDS+= ns-flash>=5.0.47:../../multimedia/ns-flash
|
|
DEPENDS+= suse_openmotif>=7.3:../../emulators/${SUSE_DIR_PREFIX}_openmotif
|
|
|
|
EXTRACT_ONLY= # empty
|
|
NO_CHECKSUM= YES
|
|
NO_BUILD= YES
|
|
PLIST_SRC= ${WRKDIR}/PLIST
|
|
|
|
EMULSUBDIR= emul/linux
|
|
EMULDIR= ${PREFIX}/${EMULSUBDIR}
|
|
|
|
PLUGIN_DIR= ${PREFIX}/lib/netscape/plugins
|
|
# The FlashPlayer plugin is the only one I got completely working so far.
|
|
# Sun's Java Plugin fails, Acrobat and RealPlayer are not recognized by
|
|
# name. If you get more plugins working add them (including dependences)
|
|
# and bump the version number.
|
|
PLUGINS= libflashplayer.so
|
|
|
|
SUSE_COMPAT32= yes
|
|
|
|
INSTALLATION_DIRS= ${EMULSUBDIR}/usr/lib/opera/plugins
|
|
|
|
do-install:
|
|
${RM} -f ${PLIST_SRC}
|
|
${TOUCH} ${PLIST_SRC}
|
|
for FILE in ${PLUGINS}; do \
|
|
${LN} -fs ${PLUGIN_DIR}/$$FILE \
|
|
${EMULDIR}/usr/lib/opera/plugins/$$FILE; \
|
|
${ECHO} ${EMULSUBDIR}/usr/lib/opera/plugins/$$FILE \
|
|
>>${PLIST_SRC}; \
|
|
done
|
|
|
|
.include "../../emulators/suse_linux/Makefile.application"
|
|
.include "../../mk/bsd.pkg.mk"
|