# New ports collection makefile for: dummyflash # Date Created: June 16 2004 # Whom: Daniel O'Connor # # $FreeBSD$ # PORTNAME= dummyflash PORTVERSION= 1.0 PORTREVISION= 0 CATEGORIES= www MASTER_SITES= ftp://ftp.netscape.com/pub/sdk/plugin/unix/ DISTNAME= unix-sdk-3.0b5 EXTRACT_SUFX= .tar.Z MAINTAINER= darius@dons.net.au COMMENT= Silently consume flash MIME types USE_X_PREFIX= yes BUILD_WRKSRC= ${WRKSRC}/PluginSDK30b5/examples/UnixTemplate/Unix NO_WRKSUBDIR= yes MAKEFILE= makefile.freebsd .if defined(WITH_MOZILLA_DEVEL) DEVEL=-devel PLIST_SUB=DEVEL=${DEVEL} .else DEVEL= PLIST_SUB=DEVEL= .endif pre-everything:: @${ECHO_MSG} "Set WITH_MOZILLA_DEVEL to install this port for www/mozilla-devel" do-install: ${INSTALL_DATA} ${BUILD_WRKSRC}/dummyflash.so ${PREFIX}/lib/mozilla${DEVEL}/plugins .include