1e43071749
I would list the changes here, but I don't entirely understand them. XXX Why do we have a separate multimedia/ns-flash package? The XXX packages to handle the opera plugins depend the ns-flash package XXX -- perhaps this could do the same so there is only one place this is XXX handled?
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# $NetBSD: Makefile.common,v 1.16 2006/12/19 14:56:19 perry Exp $
|
|
|
|
DISTNAME= install_flash_player_7_${DISTUNAME}
|
|
PKGNAME= ${MOZ_BIN}-flash-${FLASH_VERS:S/r/./}
|
|
CATEGORIES= www graphics
|
|
MASTER_SITES= http://download.macromedia.com/get/flashplayer/current/
|
|
|
|
MAINTAINER?= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE?= http://www.flash.com/
|
|
|
|
ONLY_FOR_PLATFORM= *-*-i386
|
|
|
|
DIST_SUBDIR= flash/${FLASH_VERS}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
SUB= english/${DISTUNAME}/${FLASH_VERS}
|
|
|
|
FLASH_VERS= 7.0r69
|
|
DISTUNAME= linux
|
|
WRKNAME= install_flash_player_7_${DISTUNAME}
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../www/firefox-bin-flash/distinfo
|
|
|
|
LICENSE= flash-license
|
|
RESTRICTED= Redistribution not permitted
|
|
NO_SRC_ON_FTP= ${RESTRICTED}
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
CHECK_SHLIBS_SUPPORTED= no
|
|
CRYPTO= yes
|
|
|
|
MOZ_NAME?= firefox-linux
|
|
MOZ_BIN?= ${MOZ_NAME:S/linux/bin/}
|
|
WRKSRC= ${WRKDIR}/${WRKNAME}
|
|
NS_PLUGINS_DIR= ${PREFIX}/lib/${MOZ_NAME}/plugins
|
|
|
|
PLIST_SUBST+= MOZ_NAME=${MOZ_NAME:Q}
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${NS_PLUGINS_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/flashplayer.xpt ${NS_PLUGINS_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/libflashplayer.so ${NS_PLUGINS_DIR}
|