summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-12-06 10:08:44 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-12-06 10:08:44 +0800
commit8e2eecdfc954eb0a6fcb0c100af24c4ec94755c8 (patch)
treec4825db0ddc692d64f23875a75e6601890619110
parentca8e84b8815ad0416826d2bd8cd5eec2c163a4b1 (diff)
downloadmarcuscom-ports-8e2eecdfc954eb0a6fcb0c100af24c4ec94755c8.tar
marcuscom-ports-8e2eecdfc954eb0a6fcb0c100af24c4ec94755c8.tar.gz
marcuscom-ports-8e2eecdfc954eb0a6fcb0c100af24c4ec94755c8.tar.bz2
marcuscom-ports-8e2eecdfc954eb0a6fcb0c100af24c4ec94755c8.tar.lz
marcuscom-ports-8e2eecdfc954eb0a6fcb0c100af24c4ec94755c8.tar.xz
marcuscom-ports-8e2eecdfc954eb0a6fcb0c100af24c4ec94755c8.tar.zst
marcuscom-ports-8e2eecdfc954eb0a6fcb0c100af24c4ec94755c8.zip
Update to 0.10.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7999 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--misc/hicolor-icon-theme/Makefile80
-rw-r--r--misc/hicolor-icon-theme/distinfo3
-rw-r--r--misc/hicolor-icon-theme/files/pkg-install.in24
-rw-r--r--misc/hicolor-icon-theme/pkg-descr4
4 files changed, 111 insertions, 0 deletions
diff --git a/misc/hicolor-icon-theme/Makefile b/misc/hicolor-icon-theme/Makefile
new file mode 100644
index 000000000..3ffe38598
--- /dev/null
+++ b/misc/hicolor-icon-theme/Makefile
@@ -0,0 +1,80 @@
+# New ports collection makefile for: hicolor-icon-theme
+# Date created: 13 January 2003
+# Whom: marcus@FreeBSD.org
+#
+# $FreeBSD$
+# $MCom: ports/misc/hicolor-icon-theme/Makefile,v 1.4 2006/08/12 13:55:16 ahze Exp $
+#
+
+PORTNAME= hicolor-icon-theme
+PORTVERSION= 0.10
+CATEGORIES= misc gnome
+MASTER_SITES= http://icon-theme.freedesktop.org/releases/
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A high-color icon theme shell from the FreeDesktop project
+
+USE_GNOME= gnometarget
+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 scalable
+ICON_CONTEXTS= actions animations apps categories devices emblems emotes \
+ filesystems intl mimetypes places 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} ${PREFIX}/${ICON_DIR}/${dir}/${ctxt}/$${sub}/.keep_me ; \
+ done ; \
+ fi
+ ${TOUCH} ${PREFIX}/${ICON_DIR}/${dir}/${ctxt}/.keep_me
+. endfor
+.endfor
+
+.include <bsd.port.post.mk>
diff --git a/misc/hicolor-icon-theme/distinfo b/misc/hicolor-icon-theme/distinfo
new file mode 100644
index 000000000..4b7c9993b
--- /dev/null
+++ b/misc/hicolor-icon-theme/distinfo
@@ -0,0 +1,3 @@
+MD5 (hicolor-icon-theme-0.10.tar.gz) = 3534f7b8e59785c7d5bfa923e85510a7
+SHA256 (hicolor-icon-theme-0.10.tar.gz) = 9d73af8f61240fbb3c522321582cd693c5b81ef344067a3949f0aa624610adee
+SIZE (hicolor-icon-theme-0.10.tar.gz) = 33616
diff --git a/misc/hicolor-icon-theme/files/pkg-install.in b/misc/hicolor-icon-theme/files/pkg-install.in
new file mode 100644
index 000000000..aebbc02b8
--- /dev/null
+++ b/misc/hicolor-icon-theme/files/pkg-install.in
@@ -0,0 +1,24 @@
+#!/bin/sh
+# $FreeBSD: ports/misc/hicolor-icon-theme/files/pkg-install.in,v 1.1 2006/10/14 08:35:20 marcus Exp $
+# $MCom: ports/misc/hicolor-icon-theme/files/pkg-install.in,v 1.1 2006/08/11 01:19:11 ahze 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
diff --git a/misc/hicolor-icon-theme/pkg-descr b/misc/hicolor-icon-theme/pkg-descr
new file mode 100644
index 000000000..3164aaa06
--- /dev/null
+++ b/misc/hicolor-icon-theme/pkg-descr
@@ -0,0 +1,4 @@
+The freedesktop.org project provides a shared high-color desktop icon theme
+shell for use under both KDE and GNOME desktops.
+
+WWW: http://www.freedesktop.org/Standards/icon-theme-spec