pkgsrc/www/opera-acroread/Makefile.common
jlam ae9b935fd0 * If PLIST_SRC is explicitly set to an empty value in a package Makefile,
then automatically generate a PLIST that says "${PKGNAME} has no files".

* If PLIST_SRC and GENERATE_PLIST are not set in a package Makefile,
  and no PLIST files exist, then fail during the package build with
  PKG_FAIL_REASON.

* Remove "intentionally empty" PLISTs again.

Now, the easy way to say that a package installs no files is to just
add the following to the package Makefile:

	PLIST_SRC=	# empty
2007-10-25 22:00:39 +00:00

31 lines
757 B
Makefile

# $NetBSD: Makefile.common,v 1.10 2007/10/25 22:01:08 jlam Exp $
PKGNAME= ${DISTNAME:C|MozillaFirebird|firefox|}
CATEGORIES= www print
MASTER_SITES= # empty
DISTFILES= # empty
DEPENDS+= opera>=7.0:../../www/opera
EMUL_PLATFORMS= linux-i386
EMUL_MODULES.linux= motif
EMUL_REQD= suse>=7.3
ACRO_PLATFORM= intellinux
WRKSRC= ${WRKDIR}
NO_CHECKSUM= YES
NO_CONFIGURE= YES
BUILD_DIRS= # empty
PLIST_SRC= # empty
FILES_SUBST+= ACROREAD=${ACROREAD:Q}
FILES_SUBST+= ACRO_SUBDIR=${ACRO_SUBDIR:Q}
FILES_SUBST+= ACRO_PLATFORM=${ACRO_PLATFORM:Q}
DEINSTALL_TEMPLATES+= ${PKGSRCDIR}/www/opera-acroread/DEINSTALL
INSTALL_TEMPLATES+= ${PKGSRCDIR}/www/opera-acroread/INSTALL
INSTALLATION_DIRS+= ${EMULDIR}/usr/lib/opera/plugins
do-install: # nothing