pkgsrc/multimedia/ns-flash/Makefile
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

61 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.13 2006/05/22 22:22:04 jlam Exp $
CATEGORIES= multimedia www
MASTER_SITES= http://fpdownload.macromedia.com/get/flashplayer/current/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.flash.com/
COMMENT= MacroMedia Flash Player Netscape plugin
ONLY_FOR_PLATFORM= *-*-i386 SunOS-*-sparc
NOT_FOR_PLATFORM= SunOS-*-i386
WRKSRC= ${WRKDIR}/${WRKNAME}
DIST_SUBDIR= flash/${FLASH_VERS}
WRKNAME= install_flash_player_7_${DISTUNAME}
.include "../../mk/bsd.prefs.mk"
.if (${MACHINE_ARCH} == "i386")
FLASH_VERS= 7.0r63
DEPENDS+= suse_compat>=6.3:../../emulators/${SUSE_DIR_PREFIX}_compat
DEPENDS+= suse_x11>=6.3:../../emulators/${SUSE_DIR_PREFIX}_x11
DISTUNAME= linux
DISTNAME= install_flash_player_7_${DISTUNAME}
.elif ${MACHINE_ARCH} == "sparc" && ${OPSYS} == "SunOS"
FLASH_VERS= 7.0r53
DISTUNAME= solaris
DISTNAME= flash_player_7_${DISTUNAME}_sparc_r53
.else
# Defaults so lintpkgsrc is happy
FLASH_VERS= 5.0
DISTNAME= flash_player
.endif
PKGNAME= ns-flash-${FLASH_VERS:S/r/./}
# Must update communicator/navigator to at least 4.76nb1
CONFLICTS+= communicator<=4.76nb1
CONFLICTS+= navigator<=4.76nb1
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
CRYPTO= yes
NS_PLUGINS_DIR= ${PREFIX}/lib/netscape/plugins
do-install:
${INSTALL_DATA_DIR} ${NS_PLUGINS_DIR}
${INSTALL_DATA} ${WRKSRC}/flashplayer.xpt ${NS_PLUGINS_DIR}
${INSTALL_DATA} ${WRKSRC}/libflashplayer.so ${NS_PLUGINS_DIR}
.if ${OPSYS} != "SunOS"
.include "../../emulators/suse_linux/Makefile.application"
.endif
.include "../../mk/bsd.pkg.mk"