1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Update to 0.14.

Instead of lots of manual work switch to static plist.
Use @dir plist entries for directories we want to create and "own" instead
  of keeping a forest of .keep_me files around.
This also removes the usage of @dirrmtry plist lines.
This commit is contained in:
Koop Mast 2015-02-05 17:08:10 +00:00
parent a07165ca86
commit 8d103efb9f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378478
4 changed files with 342 additions and 89 deletions

View File

@ -1,75 +1,15 @@
# Created by: marcus@FreeBSD.org
# $FreeBSD$
# $MCom: ports/misc/hicolor-icon-theme/Makefile,v 1.9 2009/09/26 12:53:31 marcus Exp $
PORTNAME= hicolor-icon-theme
PORTVERSION= 0.12
PORTVERSION= 0.14
CATEGORIES= misc gnome
MASTER_SITES= http://icon-theme.freedesktop.org/releases/
MAINTAINER= gnome@FreeBSD.org
COMMENT= High-color icon theme shell from the FreeDesktop project
USES= tar:xz
GNU_CONFIGURE= yes
ICON_DIR?= share/icons/hicolor
ICON_FILES= index.theme
SUB_FILES= pkg-install
PKG_INSTALL= ${WRKDIR}/pkg-install
PLIST= ${WRKDIR}/pkg-plist
# Update the below from Makefile.in each release
ICON_SIZES= 16x16 22x22 24x24 32x32 36x36 48x48 64x64 72x72 96x96 \
128x128 192x192 256x256 scalable
ICON_CONTEXTS= actions animations apps categories devices emblems emotes \
filesystems intl mimetypes places status stock
STOCK_SUBS= chart code data form image io media navigation net object table text
SUB_LIST= ICON_SIZES="${ICON_SIZES}" ICON_CONTEXTS="${ICON_CONTEXTS}" \
STOCK_SUBS="${STOCK_SUBS}"
.include <bsd.port.pre.mk>
pre-install:
@${RM} -f ${PLIST}
@${TOUCH} -f ${PLIST}
.for file in ${ICON_FILES}
@${ECHO_CMD} "${ICON_DIR}/${file}" >> ${PLIST}
.endfor
.for dir in ${ICON_SIZES}
. for ctxt in ${ICON_CONTEXTS}
if [ "${ctxt}" = "stock" ] ; then \
for sub in ${STOCK_SUBS} ; do \
${ECHO_CMD} "${ICON_DIR}/${dir}/${ctxt}/$${sub}/.keep_me" >> ${PLIST} ; \
done ; \
fi
${ECHO_CMD} "${ICON_DIR}/${dir}/${ctxt}/.keep_me" >> ${PLIST} ;
. endfor
.endfor
.for dir in ${ICON_SIZES}
. for ctxt in ${ICON_CONTEXTS}
if [ "${ctxt}" = "stock" ] ; then \
for sub in ${STOCK_SUBS} ; do \
${ECHO_CMD} "@dirrmtry ${ICON_DIR}/${dir}/${ctxt}/$${sub}" >> ${PLIST} ; \
done ; \
fi
${ECHO_CMD} "@dirrmtry ${ICON_DIR}/${dir}/${ctxt}" >> ${PLIST}
. endfor
${ECHO_CMD} "@dirrmtry ${ICON_DIR}/${dir}" >> ${PLIST}
.endfor
${ECHO_CMD} "@dirrmtry ${ICON_DIR}" >> ${PLIST}
${ECHO_CMD} "@dirrmtry share/icons" >> ${PLIST}
post-install:
.for dir in ${ICON_SIZES}
. for ctxt in ${ICON_CONTEXTS}
if [ "${ctxt}" = "stock" ] ; then \
for sub in ${STOCK_SUBS} ; do \
${TOUCH} ${STAGEDIR}${PREFIX}/${ICON_DIR}/${dir}/${ctxt}/$${sub}/.keep_me ; \
done ; \
fi
${TOUCH} ${STAGEDIR}${PREFIX}/${ICON_DIR}/${dir}/${ctxt}/.keep_me
. endfor
.endfor
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (hicolor-icon-theme-0.12.tar.gz) = 9edca690617eaa19054951ca53501c802180262be8880ed84754ac46c93bec73
SIZE (hicolor-icon-theme-0.12.tar.gz) = 38008
SHA256 (hicolor-icon-theme-0.14.tar.xz) = 7bed06e6ef316318274bda0fdaf39fce960e4222a0165c968d84acb428902ecd
SIZE (hicolor-icon-theme-0.14.tar.xz) = 50904

View File

@ -1,24 +0,0 @@
#!/bin/sh
# $FreeBSD$
# $MCom: ports/misc/hicolor-icon-theme/files/pkg-install.in,v 1.7 2009/09/26 13:42:00 marcus Exp $
PATH=/bin:/usr/bin:/usr/sbin
case $2 in
POST-INSTALL)
ICON_SIZES="%%ICON_SIZES%%"
ICON_CONTEXTS="%%ICON_CONTEXTS%%"
STOCK_SUBS="%%STOCK_SUBS%%"
for dir in ${ICON_SIZES}; do
for ctxt in ${ICON_CONTEXTS}; do
mkdir -p ${PKG_PREFIX}/share/icons/hicolor/${dir}/${ctxt}
if [ "${ctxt}" = "stock" ]; then
for sub in ${STOCK_SUBS}; do
mkdir -p ${PKG_PREFIX}/share/icons/hicolor/${dir}/${ctxt}/${sub}
done
fi
done
done
;;
esac

View File

@ -0,0 +1,337 @@
share/icons/hicolor/index.theme
@dir share/icons/hicolor/128x128/actions
@dir share/icons/hicolor/128x128/animations
@dir share/icons/hicolor/128x128/apps
@dir share/icons/hicolor/128x128/categories
@dir share/icons/hicolor/128x128/devices
@dir share/icons/hicolor/128x128/emblems
@dir share/icons/hicolor/128x128/emotes
@dir share/icons/hicolor/128x128/filesystems
@dir share/icons/hicolor/128x128/intl
@dir share/icons/hicolor/128x128/mimetypes
@dir share/icons/hicolor/128x128/places
@dir share/icons/hicolor/128x128/status
@dir share/icons/hicolor/128x128/stock/chart
@dir share/icons/hicolor/128x128/stock/code
@dir share/icons/hicolor/128x128/stock/data
@dir share/icons/hicolor/128x128/stock/form
@dir share/icons/hicolor/128x128/stock/image
@dir share/icons/hicolor/128x128/stock/io
@dir share/icons/hicolor/128x128/stock/media
@dir share/icons/hicolor/128x128/stock/navigation
@dir share/icons/hicolor/128x128/stock/net
@dir share/icons/hicolor/128x128/stock/object
@dir share/icons/hicolor/128x128/stock/table
@dir share/icons/hicolor/128x128/stock/text
@dir share/icons/hicolor/16x16/actions
@dir share/icons/hicolor/16x16/animations
@dir share/icons/hicolor/16x16/apps
@dir share/icons/hicolor/16x16/categories
@dir share/icons/hicolor/16x16/devices
@dir share/icons/hicolor/16x16/emblems
@dir share/icons/hicolor/16x16/emotes
@dir share/icons/hicolor/16x16/filesystems
@dir share/icons/hicolor/16x16/intl
@dir share/icons/hicolor/16x16/mimetypes
@dir share/icons/hicolor/16x16/places
@dir share/icons/hicolor/16x16/status
@dir share/icons/hicolor/16x16/stock/chart
@dir share/icons/hicolor/16x16/stock/code
@dir share/icons/hicolor/16x16/stock/data
@dir share/icons/hicolor/16x16/stock/form
@dir share/icons/hicolor/16x16/stock/image
@dir share/icons/hicolor/16x16/stock/io
@dir share/icons/hicolor/16x16/stock/media
@dir share/icons/hicolor/16x16/stock/navigation
@dir share/icons/hicolor/16x16/stock/net
@dir share/icons/hicolor/16x16/stock/object
@dir share/icons/hicolor/16x16/stock/table
@dir share/icons/hicolor/16x16/stock/text
@dir share/icons/hicolor/192x192/actions
@dir share/icons/hicolor/192x192/animations
@dir share/icons/hicolor/192x192/apps
@dir share/icons/hicolor/192x192/categories
@dir share/icons/hicolor/192x192/devices
@dir share/icons/hicolor/192x192/emblems
@dir share/icons/hicolor/192x192/emotes
@dir share/icons/hicolor/192x192/filesystems
@dir share/icons/hicolor/192x192/intl
@dir share/icons/hicolor/192x192/mimetypes
@dir share/icons/hicolor/192x192/places
@dir share/icons/hicolor/192x192/status
@dir share/icons/hicolor/192x192/stock/chart
@dir share/icons/hicolor/192x192/stock/code
@dir share/icons/hicolor/192x192/stock/data
@dir share/icons/hicolor/192x192/stock/form
@dir share/icons/hicolor/192x192/stock/image
@dir share/icons/hicolor/192x192/stock/io
@dir share/icons/hicolor/192x192/stock/media
@dir share/icons/hicolor/192x192/stock/navigation
@dir share/icons/hicolor/192x192/stock/net
@dir share/icons/hicolor/192x192/stock/object
@dir share/icons/hicolor/192x192/stock/table
@dir share/icons/hicolor/192x192/stock/text
@dir share/icons/hicolor/22x22/actions
@dir share/icons/hicolor/22x22/animations
@dir share/icons/hicolor/22x22/apps
@dir share/icons/hicolor/22x22/categories
@dir share/icons/hicolor/22x22/devices
@dir share/icons/hicolor/22x22/emblems
@dir share/icons/hicolor/22x22/emotes
@dir share/icons/hicolor/22x22/filesystems
@dir share/icons/hicolor/22x22/intl
@dir share/icons/hicolor/22x22/mimetypes
@dir share/icons/hicolor/22x22/places
@dir share/icons/hicolor/22x22/status
@dir share/icons/hicolor/22x22/stock/chart
@dir share/icons/hicolor/22x22/stock/code
@dir share/icons/hicolor/22x22/stock/data
@dir share/icons/hicolor/22x22/stock/form
@dir share/icons/hicolor/22x22/stock/image
@dir share/icons/hicolor/22x22/stock/io
@dir share/icons/hicolor/22x22/stock/media
@dir share/icons/hicolor/22x22/stock/navigation
@dir share/icons/hicolor/22x22/stock/net
@dir share/icons/hicolor/22x22/stock/object
@dir share/icons/hicolor/22x22/stock/table
@dir share/icons/hicolor/22x22/stock/text
@dir share/icons/hicolor/24x24/actions
@dir share/icons/hicolor/24x24/animations
@dir share/icons/hicolor/24x24/apps
@dir share/icons/hicolor/24x24/categories
@dir share/icons/hicolor/24x24/devices
@dir share/icons/hicolor/24x24/emblems
@dir share/icons/hicolor/24x24/emotes
@dir share/icons/hicolor/24x24/filesystems
@dir share/icons/hicolor/24x24/intl
@dir share/icons/hicolor/24x24/mimetypes
@dir share/icons/hicolor/24x24/places
@dir share/icons/hicolor/24x24/status
@dir share/icons/hicolor/24x24/stock/chart
@dir share/icons/hicolor/24x24/stock/code
@dir share/icons/hicolor/24x24/stock/data
@dir share/icons/hicolor/24x24/stock/form
@dir share/icons/hicolor/24x24/stock/image
@dir share/icons/hicolor/24x24/stock/io
@dir share/icons/hicolor/24x24/stock/media
@dir share/icons/hicolor/24x24/stock/navigation
@dir share/icons/hicolor/24x24/stock/net
@dir share/icons/hicolor/24x24/stock/object
@dir share/icons/hicolor/24x24/stock/table
@dir share/icons/hicolor/24x24/stock/text
@dir share/icons/hicolor/256x256/actions
@dir share/icons/hicolor/256x256/animations
@dir share/icons/hicolor/256x256/apps
@dir share/icons/hicolor/256x256/categories
@dir share/icons/hicolor/256x256/devices
@dir share/icons/hicolor/256x256/emblems
@dir share/icons/hicolor/256x256/emotes
@dir share/icons/hicolor/256x256/filesystems
@dir share/icons/hicolor/256x256/intl
@dir share/icons/hicolor/256x256/mimetypes
@dir share/icons/hicolor/256x256/places
@dir share/icons/hicolor/256x256/status
@dir share/icons/hicolor/256x256/stock/chart
@dir share/icons/hicolor/256x256/stock/code
@dir share/icons/hicolor/256x256/stock/data
@dir share/icons/hicolor/256x256/stock/form
@dir share/icons/hicolor/256x256/stock/image
@dir share/icons/hicolor/256x256/stock/io
@dir share/icons/hicolor/256x256/stock/media
@dir share/icons/hicolor/256x256/stock/navigation
@dir share/icons/hicolor/256x256/stock/net
@dir share/icons/hicolor/256x256/stock/object
@dir share/icons/hicolor/256x256/stock/table
@dir share/icons/hicolor/256x256/stock/text
@dir share/icons/hicolor/32x32/actions
@dir share/icons/hicolor/32x32/animations
@dir share/icons/hicolor/32x32/apps
@dir share/icons/hicolor/32x32/categories
@dir share/icons/hicolor/32x32/devices
@dir share/icons/hicolor/32x32/emblems
@dir share/icons/hicolor/32x32/emotes
@dir share/icons/hicolor/32x32/filesystems
@dir share/icons/hicolor/32x32/intl
@dir share/icons/hicolor/32x32/mimetypes
@dir share/icons/hicolor/32x32/places
@dir share/icons/hicolor/32x32/status
@dir share/icons/hicolor/32x32/stock/chart
@dir share/icons/hicolor/32x32/stock/code
@dir share/icons/hicolor/32x32/stock/data
@dir share/icons/hicolor/32x32/stock/form
@dir share/icons/hicolor/32x32/stock/image
@dir share/icons/hicolor/32x32/stock/io
@dir share/icons/hicolor/32x32/stock/media
@dir share/icons/hicolor/32x32/stock/navigation
@dir share/icons/hicolor/32x32/stock/net
@dir share/icons/hicolor/32x32/stock/object
@dir share/icons/hicolor/32x32/stock/table
@dir share/icons/hicolor/32x32/stock/text
@dir share/icons/hicolor/36x36/actions
@dir share/icons/hicolor/36x36/animations
@dir share/icons/hicolor/36x36/apps
@dir share/icons/hicolor/36x36/categories
@dir share/icons/hicolor/36x36/devices
@dir share/icons/hicolor/36x36/emblems
@dir share/icons/hicolor/36x36/emotes
@dir share/icons/hicolor/36x36/filesystems
@dir share/icons/hicolor/36x36/intl
@dir share/icons/hicolor/36x36/mimetypes
@dir share/icons/hicolor/36x36/places
@dir share/icons/hicolor/36x36/status
@dir share/icons/hicolor/36x36/stock/chart
@dir share/icons/hicolor/36x36/stock/code
@dir share/icons/hicolor/36x36/stock/data
@dir share/icons/hicolor/36x36/stock/form
@dir share/icons/hicolor/36x36/stock/image
@dir share/icons/hicolor/36x36/stock/io
@dir share/icons/hicolor/36x36/stock/media
@dir share/icons/hicolor/36x36/stock/navigation
@dir share/icons/hicolor/36x36/stock/net
@dir share/icons/hicolor/36x36/stock/object
@dir share/icons/hicolor/36x36/stock/table
@dir share/icons/hicolor/36x36/stock/text
@dir share/icons/hicolor/48x48/actions
@dir share/icons/hicolor/48x48/animations
@dir share/icons/hicolor/48x48/apps
@dir share/icons/hicolor/48x48/categories
@dir share/icons/hicolor/48x48/devices
@dir share/icons/hicolor/48x48/emblems
@dir share/icons/hicolor/48x48/emotes
@dir share/icons/hicolor/48x48/filesystems
@dir share/icons/hicolor/48x48/intl
@dir share/icons/hicolor/48x48/mimetypes
@dir share/icons/hicolor/48x48/places
@dir share/icons/hicolor/48x48/status
@dir share/icons/hicolor/48x48/stock/chart
@dir share/icons/hicolor/48x48/stock/code
@dir share/icons/hicolor/48x48/stock/data
@dir share/icons/hicolor/48x48/stock/form
@dir share/icons/hicolor/48x48/stock/image
@dir share/icons/hicolor/48x48/stock/io
@dir share/icons/hicolor/48x48/stock/media
@dir share/icons/hicolor/48x48/stock/navigation
@dir share/icons/hicolor/48x48/stock/net
@dir share/icons/hicolor/48x48/stock/object
@dir share/icons/hicolor/48x48/stock/table
@dir share/icons/hicolor/48x48/stock/text
@dir share/icons/hicolor/512x512/actions
@dir share/icons/hicolor/512x512/animations
@dir share/icons/hicolor/512x512/apps
@dir share/icons/hicolor/512x512/categories
@dir share/icons/hicolor/512x512/devices
@dir share/icons/hicolor/512x512/emblems
@dir share/icons/hicolor/512x512/emotes
@dir share/icons/hicolor/512x512/filesystems
@dir share/icons/hicolor/512x512/intl
@dir share/icons/hicolor/512x512/mimetypes
@dir share/icons/hicolor/512x512/places
@dir share/icons/hicolor/512x512/status
@dir share/icons/hicolor/512x512/stock/chart
@dir share/icons/hicolor/512x512/stock/code
@dir share/icons/hicolor/512x512/stock/data
@dir share/icons/hicolor/512x512/stock/form
@dir share/icons/hicolor/512x512/stock/image
@dir share/icons/hicolor/512x512/stock/io
@dir share/icons/hicolor/512x512/stock/media
@dir share/icons/hicolor/512x512/stock/navigation
@dir share/icons/hicolor/512x512/stock/net
@dir share/icons/hicolor/512x512/stock/object
@dir share/icons/hicolor/512x512/stock/table
@dir share/icons/hicolor/512x512/stock/text
@dir share/icons/hicolor/64x64/actions
@dir share/icons/hicolor/64x64/animations
@dir share/icons/hicolor/64x64/apps
@dir share/icons/hicolor/64x64/categories
@dir share/icons/hicolor/64x64/devices
@dir share/icons/hicolor/64x64/emblems
@dir share/icons/hicolor/64x64/emotes
@dir share/icons/hicolor/64x64/filesystems
@dir share/icons/hicolor/64x64/intl
@dir share/icons/hicolor/64x64/mimetypes
@dir share/icons/hicolor/64x64/places
@dir share/icons/hicolor/64x64/status
@dir share/icons/hicolor/64x64/stock/chart
@dir share/icons/hicolor/64x64/stock/code
@dir share/icons/hicolor/64x64/stock/data
@dir share/icons/hicolor/64x64/stock/form
@dir share/icons/hicolor/64x64/stock/image
@dir share/icons/hicolor/64x64/stock/io
@dir share/icons/hicolor/64x64/stock/media
@dir share/icons/hicolor/64x64/stock/navigation
@dir share/icons/hicolor/64x64/stock/net
@dir share/icons/hicolor/64x64/stock/object
@dir share/icons/hicolor/64x64/stock/table
@dir share/icons/hicolor/64x64/stock/text
@dir share/icons/hicolor/72x72/actions
@dir share/icons/hicolor/72x72/animations
@dir share/icons/hicolor/72x72/apps
@dir share/icons/hicolor/72x72/categories
@dir share/icons/hicolor/72x72/devices
@dir share/icons/hicolor/72x72/emblems
@dir share/icons/hicolor/72x72/emotes
@dir share/icons/hicolor/72x72/filesystems
@dir share/icons/hicolor/72x72/intl
@dir share/icons/hicolor/72x72/mimetypes
@dir share/icons/hicolor/72x72/places
@dir share/icons/hicolor/72x72/status
@dir share/icons/hicolor/72x72/stock/chart
@dir share/icons/hicolor/72x72/stock/code
@dir share/icons/hicolor/72x72/stock/data
@dir share/icons/hicolor/72x72/stock/form
@dir share/icons/hicolor/72x72/stock/image
@dir share/icons/hicolor/72x72/stock/io
@dir share/icons/hicolor/72x72/stock/media
@dir share/icons/hicolor/72x72/stock/navigation
@dir share/icons/hicolor/72x72/stock/net
@dir share/icons/hicolor/72x72/stock/object
@dir share/icons/hicolor/72x72/stock/table
@dir share/icons/hicolor/72x72/stock/text
@dir share/icons/hicolor/96x96/actions
@dir share/icons/hicolor/96x96/animations
@dir share/icons/hicolor/96x96/apps
@dir share/icons/hicolor/96x96/categories
@dir share/icons/hicolor/96x96/devices
@dir share/icons/hicolor/96x96/emblems
@dir share/icons/hicolor/96x96/emotes
@dir share/icons/hicolor/96x96/filesystems
@dir share/icons/hicolor/96x96/intl
@dir share/icons/hicolor/96x96/mimetypes
@dir share/icons/hicolor/96x96/places
@dir share/icons/hicolor/96x96/status
@dir share/icons/hicolor/96x96/stock/chart
@dir share/icons/hicolor/96x96/stock/code
@dir share/icons/hicolor/96x96/stock/data
@dir share/icons/hicolor/96x96/stock/form
@dir share/icons/hicolor/96x96/stock/image
@dir share/icons/hicolor/96x96/stock/io
@dir share/icons/hicolor/96x96/stock/media
@dir share/icons/hicolor/96x96/stock/navigation
@dir share/icons/hicolor/96x96/stock/net
@dir share/icons/hicolor/96x96/stock/object
@dir share/icons/hicolor/96x96/stock/table
@dir share/icons/hicolor/96x96/stock/text
@dir share/icons/hicolor/scalable/actions
@dir share/icons/hicolor/scalable/animations
@dir share/icons/hicolor/scalable/apps
@dir share/icons/hicolor/scalable/categories
@dir share/icons/hicolor/scalable/devices
@dir share/icons/hicolor/scalable/emblems
@dir share/icons/hicolor/scalable/emotes
@dir share/icons/hicolor/scalable/filesystems
@dir share/icons/hicolor/scalable/intl
@dir share/icons/hicolor/scalable/mimetypes
@dir share/icons/hicolor/scalable/places
@dir share/icons/hicolor/scalable/status
@dir share/icons/hicolor/scalable/stock/chart
@dir share/icons/hicolor/scalable/stock/code
@dir share/icons/hicolor/scalable/stock/data
@dir share/icons/hicolor/scalable/stock/form
@dir share/icons/hicolor/scalable/stock/image
@dir share/icons/hicolor/scalable/stock/io
@dir share/icons/hicolor/scalable/stock/media
@dir share/icons/hicolor/scalable/stock/navigation
@dir share/icons/hicolor/scalable/stock/net
@dir share/icons/hicolor/scalable/stock/object
@dir share/icons/hicolor/scalable/stock/table
@dir share/icons/hicolor/scalable/stock/text