e335c8910c
The find-prefix infrastructure was required in a pkgviews world where packages installed from pkgsrc could have different installation prefixes, and this was a way for a dependency prefix to be determined. Now that pkgviews has been removed there is no longer any need for the overhead of this infrastructure. Instead we use BUILDLINK_PREFIX.pkg for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the dependency is coming from pkgsrc. Provides a reasonable performance win due to the reduction of `pkg_info -qp` calls, some of which were redundant anyway as they were duplicating the same information provided by BUILDLINK_PREFIX.pkg.
21 lines
559 B
Makefile
21 lines
559 B
Makefile
# $NetBSD: Makefile,v 1.14 2015/11/25 12:53:09 jperkin Exp $
|
|
|
|
META_PACKAGE= yes
|
|
|
|
.include "../../print/foomatic-ppds/Makefile.common"
|
|
|
|
DISTNAME= foomatic-ppds-cups-${FOOMATIC_PPDS_VERSION}
|
|
PKGREVISION= 1
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Foomatic PPD collection for CUPS servers
|
|
|
|
DEPENDS+= cups>=1.0:../../print/cups15
|
|
DEPENDS+= foomatic-ppds-${FOOMATIC_PPDS_VERSION}{,nb[0-9]*}:../../print/foomatic-ppds
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
CUPS_DATADIR= ${LOCALBASE}/share/cups/model
|
|
FILES_SUBST+= CUPS_DATADIR=${CUPS_DATADIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|