pkgsrc/print/foomatic4-db/Makefile
leot 81f31128ad foomatic4-db: Update to 20180721
pkgsrc changes:
 - Use the .tar.xz distfile instead of .tar.gz (5.8MB vs 64MB)
 - Add a post-extract target to avoid installing file with the not needed
   `+x' permission

Changes:
 - A lot of new PPDs where added
 - Several fixes to existent PPDs
2018-07-21 16:39:05 +00:00

24 lines
606 B
Makefile

# $NetBSD: Makefile,v 1.6 2018/07/21 16:39:05 leot Exp $
#
DISTNAME= foomatic-db-4.0-20180721
CATEGORIES= print
MASTER_SITES= http://www.openprinting.org/download/foomatic/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.openprinting.org/download/foomatic/
COMMENT= Printer database
LICENSE= 2-clause-bsd AND gnu-gpl-v2 AND mit
WRKSRC= ${WRKDIR}/${DISTNAME:S/-4.0//}
GNU_CONFIGURE= yes
USE_LANGUAGES= # none
# Adjust file permissions
post-extract:
${RUN} cd ${WRKSRC}/db && \
${FIND} . -type f -perm 755 -exec ${CHMOD} 644 {} \; ;
.include "../../mk/bsd.pkg.mk"