pkgsrc/x11/xpmicons/Makefile
tv 1cd84fb248 For some reason, Interix "find ... -exec" leaks a little bit of memory,
which on large trees involving thousands of -exec's, makes find turn
into a humongous process.  It's faster on most systems to use other
methods anyway, so use xargs where practical, or pipe to a
"while read f; do ..." loop and let the shell do what it was meant
to do -- run programs.
2006-11-10 16:49:58 +00:00

42 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.15 2006/11/10 16:49:58 tv Exp $
DISTNAME= xpmicons-1.0
PKGREVISION= 4
CATEGORIES= x11
MASTER_SITES= http://www.plig.org/xwinman/ \
ftp://ftp.cit.gu.edu.au/pub/AIcons/ \
${MASTER_SITE_SUNSITE:=X11/icons/} \
http://the-labs.com/AfterStep/
DISTFILES= icons.tar.gz KDEicons.tgz \
3d_pixmaps_V1.21.tar.gz StarOffice3.1-icons.tar.gz \
eicons-1.0.tar.gz kdeicons.tgz wm-icons-0.2.6.tar.gz \
next-icon_at_gun.com-3Q94-xpm.tar.gz isiconpack4.tgz \
kiwi_icons.tgz gimp_icons.tgz x11amp_icons.tgz \
avi-windows-icons.tgz oliphant-neon.tgz
MAINTAINER= root@garbled.net
COMMENT= Huge collection of icons for any windowmanager
WRKSRC= ${WRKDIR}
DIST_SUBDIR= icons
USE_X11BASE= yes
NO_BUILD= yes
INSTALLATION_DIRS= include/X11/bitmaps include/X11/pixmaps
.include "../../mk/x11.buildlink3.mk"
.if ${X11_TYPE} != "xorg"
PLIST_SRC+= PLIST.icons
.endif
post-extract:
find ${WRKSRC} -type d -name .xvpics -print | ${XARGS} rm -rf
do-install:
find ${WRKSRC} -name \*.xpm -print | \
while read f; do ${INSTALL_DATA} $$f ${PREFIX}/include/X11/pixmaps; done
find ${WRKSRC} -name \*.xbm -print | \
while read f; do ${INSTALL_DATA} $$f ${PREFIX}/include/X11/bitmaps; done
.include "../../mk/bsd.pkg.mk"