pkgsrc/print/foomatic4-db-engine/Makefile
rillig b686dd9180 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:30:43 +00:00

55 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.33 2020/01/18 23:33:28 rillig Exp $
#
DISTNAME= foomatic-db-engine-4.0.13
PKGREVISION= 2
CATEGORIES= print
MASTER_SITES= http://www.openprinting.org/download/foomatic/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/foomatic
COMMENT= Foomatic's database engine
LICENSE= gnu-gpl-v2
# XXX wget should work too
DEPENDS+= curl-[0-9]*:../../www/curl
GNU_CONFIGURE= yes
USE_TOOLS+= file perl gmake
BUILD_DEFS+= PKG_SYSCONFBASE
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE}
CONFIGURE_ENV+= PRINTF=/usr/bin/printf
CONFIGURE_ENV+= LIBDIR=${PREFIX}/share/foomatic
CONFIGURE_ENV+= FOOMATIC_RIP=${PREFIX}/bin/foomatic-rip
CONFIGURE_ENV+= LOCALBASE=${PREFIX}
CONFIGURE_ENV+= CUPS_PPDS=${PREFIX}/share/cups/model
CONFIGURE_ENV+= CUPS_ETC=${PKG_SYSCONFBASE}/cups
CONFIGURE_ENV+= PERL_INSTALLDIRS=vendor
PERL5_CONFIGURE= no
PERL5_CONFIGURE_DIRS= lib
PERL5_PACKLIST= auto/Foomatic/.packlist
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
TOOLS_PLATFORM.file= # doesn't support -
.endif
SUBST_CLASSES+= fixpath
SUBST_STAGE.fixpath= post-build
SUBST_FILES.fixpath= lib/Foomatic/Defaults.pm
SUBST_SED.fixpath= -e "s,${TOOLS_DIR}/bin/curl,${BUILDLINK_PREFIX.curl}/bin/curl,g"
# XXX generated but needs to be present before perl5-configure
post-extract:
${TOUCH} ${WRKSRC}/lib/Foomatic/Defaults.pm
post-configure: perl5-configure
.include "../../lang/perl5/module.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"