pkgsrc/www/firefox-bin-flash/Makefile.common
jlam 60f791e1e6 Move the check-shlibs target from bsd.pkg.mk to bsd.pkg.check.mk where
it will live with other "check" targets run after package installation.

Get rid of SHLIB_HANDLING, whose meaning had mutated over the years
from one thing to another.  Currently, it is used to basically note
whether the system's "ldd" command can be usefully run on the package's
binaries and libraries.  Rename this variable to CHECK_SHLIBS_SUPPORTED
for more clarity.

CHECK_SHLIBS is now a variable set exclusively by the user in /etc/mk.conf
to note whether the check for missing run-time search paths is performed
after a package is installed.  It defaults to "no" unless PKG_DEVELOPER
is set.
2006-05-22 22:22:02 +00:00

45 lines
1.2 KiB
Makefile

# $NetBSD: Makefile.common,v 1.13 2006/05/22 22:22:05 jlam 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.0r63
DISTUNAME= linux
WRKNAME= install_flash_player_7_${DISTUNAME}
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}