pkgsrc/print/foomatic-filters-cups/Makefile
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

29 lines
730 B
Makefile

# $NetBSD: Makefile,v 1.6 2007/10/25 22:01:03 jlam Exp $
.include "../../print/foomatic-filters/Makefile.common"
DISTNAME= foomatic-filters-cups-${FOOMATIC_FILTERS_VERSION}
PKGREVISION= 1
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= jlam@pkgsrc.org
COMMENT= Foomatic support for CUPS
DEPENDS+= cups>=1.0:../../print/cups
DEPENDS+= foomatic-filters-${FOOMATIC_FILTERS_VERSION}{,nb[0-9]*}:../../print/foomatic-filters
EXTRACT_ONLY= # empty
WRKSRC= ${WRKDIR}
NO_CHECKSUM= yes
NO_CONFIGURE= yes
PLIST_SRC= # empty
EVAL_PREFIX+= CUPS_PREFIX=cups
CUPS_FILTERDIR= ${CUPS_PREFIX:Q}/libexec/cups/filter
FILES_SUBST+= CUPS_FILTERDIR=${CUPS_FILTERDIR}
do-build: # empty
do-install: # empty
.include "../../mk/bsd.pkg.mk"