30b55df38e
MASTER_SITES= site1 \ site2 style continuation lines to be simple repeated MASTER_SITES+= site1 MASTER_SITES+= site2 lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint accordingly.
38 lines
1 KiB
Makefile
38 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.12 2017/01/19 18:52:22 agc Exp $
|
|
|
|
.include "Makefile.common"
|
|
|
|
DISTNAME= foomatic-filters-ppds-${FOOMATIC_PPDS_VERSION}
|
|
PKGNAME= ${DISTNAME:S/-filters-/-/}
|
|
|
|
# The definitive location of the distfile is at www.linuxprinting.org,
|
|
# but this tarball is regenerated daily from the Foomatic database.
|
|
# Rather than track this file very aggressively, we'll place a new
|
|
# copy at MASTER_SITE_LOCAL periodically and update this package
|
|
# accordingly.
|
|
#
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITES+= http://www.linuxprinting.org/download/foomatic/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Foomatic PPDs collection
|
|
|
|
DEPENDS= foomatic-filters>=3.0.2:../../print/foomatic-filters
|
|
|
|
REQD_DIRS= share/foomatic
|
|
|
|
CHECK_PORTABILITY_SKIP= install
|
|
|
|
GENERATE_PLIST+= \
|
|
( cd ${WRKSRC}/share; \
|
|
${FIND} ppd -type f -print | ${SORT} -u | \
|
|
${SED} -e "s|^|share/foomatic/|" );
|
|
|
|
NO_BUILD= yes
|
|
|
|
INSTALLATION_DIRS+= share/foomatic
|
|
|
|
do-install:
|
|
${CP} -R ${WRKSRC}/share/ppd ${DESTDIR}${PREFIX}/share/foomatic
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|