pkgsrc/graphics/papirus-icon-theme/Makefile
jperkin 7d0c47cba5 papirus-icon-theme: Switch to dynamic PLIST.
The static PLIST was incorrect, listing a number of directories instead of the
files contained within them.  For some reason the check-files infrastructure
does not complain about this on NetBSD, and was only noticed on SunOS.

Fixing the PLIST to correctly register the 750,000+ files that this package
installs would bloat it to 44MB and be painful to maintain, so while dynamic
PLISTs are generally to be avoided, in this situation it's the least worst.

Ok nia.
2021-01-13 18:26:23 +00:00

38 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2021/01/13 18:26:23 jperkin Exp $
DISTNAME= papirus-icon-theme-20200301
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=PapirusDevelopmentTeam/}
GITHUB_PROJECT= papirus-icon-theme
GITHUB_TAG= ${PKGVERSION_NOREV}
MAINTAINER= nia@NetBSD.org
HOMEPAGE= https://github.com/PapirusDevelopmentTeam/papirus-icon-theme
COMMENT= SVG icon theme based on the Paper Icon Set
LICENSE= gnu-gpl-v3
EXTRACT_USING= bsdtar
USE_TOOLS+= gmake
ICON_THEMES= yes
#
# This package installs over 750,000 files. While dynamic PLISTs are to be
# avoided where possible, trying to maintain a static PLIST for this many
# files is impractical and would bloat the repository considerably.
#
# The install script is literally just "cp -R <list of dirs>", so there is
# hopefully little to go wrong and result in a broken package.
#
CHECK_FILES= no
GENERATE_PLIST= cd ${DESTDIR}${PREFIX};
GENERATE_PLIST+= ${FIND} share \( -type f -o -type l \) | ${SORT};
# Save some time...
CHECK_INTERPRETER_SKIP+= share/icons/*/*/*/*.svg
CHECK_SHLIBS_SUPPORTED= no
CHECK_SSP_SUPPORTED= no
CHECK_WRKREF_SKIP+= share/icons/*/*/*/*.svg
.include "../../graphics/gnome-icon-theme/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"