summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-09-26 20:53:31 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-09-26 20:53:31 +0800
commit0a960d60c6c2a532b6f12e9601e7c0dce9602fb5 (patch)
tree32c46284993ad6893352cb8180daf8a2b8d60ea0 /misc
parent01ebebf1461a2865afbbc0dd5bee5bc01f118030 (diff)
downloadmarcuscom-ports-0a960d60c6c2a532b6f12e9601e7c0dce9602fb5.tar
marcuscom-ports-0a960d60c6c2a532b6f12e9601e7c0dce9602fb5.tar.gz
marcuscom-ports-0a960d60c6c2a532b6f12e9601e7c0dce9602fb5.tar.bz2
marcuscom-ports-0a960d60c6c2a532b6f12e9601e7c0dce9602fb5.tar.lz
marcuscom-ports-0a960d60c6c2a532b6f12e9601e7c0dce9602fb5.tar.xz
marcuscom-ports-0a960d60c6c2a532b6f12e9601e7c0dce9602fb5.tar.zst
marcuscom-ports-0a960d60c6c2a532b6f12e9601e7c0dce9602fb5.zip
Update to 0.11.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13036 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'misc')
-rw-r--r--misc/hicolor-icon-theme/Makefile80
-rw-r--r--misc/hicolor-icon-theme/distinfo3
-rw-r--r--misc/hicolor-icon-theme/files/patch-Makefile.in11
-rw-r--r--misc/hicolor-icon-theme/files/pkg-install.in24
-rw-r--r--misc/hicolor-icon-theme/pkg-descr4
5 files changed, 122 insertions, 0 deletions
diff --git a/misc/hicolor-icon-theme/Makefile b/misc/hicolor-icon-theme/Makefile
new file mode 100644
index 000000000..dcdde2e1b
--- /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.7 2006/12/07 07:33:37 marcus Exp $
+#
+
+PORTNAME= hicolor-icon-theme
+PORTVERSION= 0.11
+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 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} ${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..8e66928f5
--- /dev/null
+++ b/misc/hicolor-icon-theme/distinfo
@@ -0,0 +1,3 @@
+MD5 (hicolor-icon-theme-0.11.tar.gz) = 5cf5527e803a554f43319ee53c771e0b
+SHA256 (hicolor-icon-theme-0.11.tar.gz) = 44eb1f158a9b2a92cd626541a24c44387162b3d792e4b238c84e6f3d8ed1dd9a
+SIZE (hicolor-icon-theme-0.11.tar.gz) = 38020
diff --git a/misc/hicolor-icon-theme/files/patch-Makefile.in b/misc/hicolor-icon-theme/files/patch-Makefile.in
new file mode 100644
index 000000000..f021cf385
--- /dev/null
+++ b/misc/hicolor-icon-theme/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2009-09-26 08:47:08.000000000 -0400
++++ Makefile.in 2009-09-26 08:47:18.000000000 -0400
+@@ -10,7 +10,7 @@ distdir = $(PACKAGE)-$(VERSION)
+ FILES = README Makefile.in configure.ac configure install-sh index.theme ChangeLog COPYING
+
+ ICON_SIZES = 16x16 22x22 24x24 32x32 36x36 48x48 64x64 72x72 96x96 \
+- 128x128 192x192 scalable
++ 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
+
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..3a9a74ca6
--- /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.2 2007/03/19 05:13:37 marcus Exp $
+# $MCom: ports/misc/hicolor-icon-theme/files/pkg-install.in,v 1.4 2007/02/16 18:14:25 mezz 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