Import Human icon theme for GNOME, coming from Ubuntu.

ok ajacoutot@
This commit is contained in:
landry 2009-06-03 22:28:37 +00:00
parent 0d7fa85fea
commit 2286211d67
5 changed files with 1611 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/06/03 22:28:37 landry Exp $
COMMENT= Human icon theme from Ubuntu
DISTNAME= human-icon-theme_0.33.6ubuntu2
PKGNAME= human-icon-theme-0.33.6
CATEGORIES= x11
MASTER_SITES= http://archive.ubuntu.com/ubuntu/pool/main/h/human-icon-theme/
# Creative Commons Attribution-ShareAlike 2.5
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WRKDIST= ${WRKDIR}/${DISTNAME:S/_/-/}
MODULES= textproc/intltool
BUILD_DEPENDS= ::x11/icon-naming-utils
NO_REGRESS= Yes
ALL_TARGET= build
USE_GMAKE= Yes
PKG_ARCH= *
pre-configure:
${SUBST_CMD} ${WRKSRC}/Makefile
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (human-icon-theme_0.33.6ubuntu2.tar.gz) = +77EiugEMhMBT+wMjz8H3w==
RMD160 (human-icon-theme_0.33.6ubuntu2.tar.gz) = L3ETiL3hmy7xJrPscRJ5H9QHNrU=
SHA1 (human-icon-theme_0.33.6ubuntu2.tar.gz) = R8Q9oQwvUu2lXlEmH5Fyxw6Fxjc=
SHA256 (human-icon-theme_0.33.6ubuntu2.tar.gz) = LNA5rDVr6wTlcRnTIknHymYPzBXC8mEZw13TqsFQUG4=
SIZE (human-icon-theme_0.33.6ubuntu2.tar.gz) = 1176302

View File

@ -0,0 +1,42 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2009/06/03 22:28:37 landry Exp $
--- Makefile.orig Tue Apr 14 04:54:18 2009
+++ Makefile Tue Jun 2 10:05:07 2009
@@ -4,7 +4,7 @@ build: index.theme
# intltool merging
index.theme:
- for f in `find -name *.icon.in -o -name *.theme.in`; do \
+ for f in `find . -name *.icon.in -o -name *.theme.in`; do \
intltool-merge -d -u po $$f $${f%.in}; \
done
cd po; intltool-update -p --verbose -g $(GETTEXT_DOMAIN)
@@ -14,22 +14,24 @@ clean:
rm -f po/*.pot index.theme
install: index.theme
+ find [0-9]* scalable -type d -exec \
+ install -d -m 755 $$DESTDIR/${PREFIX}/share/icons/Human/'{}' \;
find [0-9]* scalable \( -name '*.png' -o -name '*.svg' -o -name '*.icon' \) -exec \
- install -D -m 644 '{}' $$DESTDIR/usr/share/icons/Human/'{}' \;
+ install -m 644 '{}' $$DESTDIR/${PREFIX}/share/icons/Human/'{}' \;
# run icon-naming-utils
- for d in $$DESTDIR/usr/share/icons/Human/*; do \
- (cd $$d; for c in *; do /usr/lib/icon-naming-utils/icon-name-mapping -c $$c; done); \
+ for d in $$DESTDIR/${PREFIX}/share/icons/Human/*; do \
+ (cd $$d; for c in *; do ${LOCALBASE}/libexec/icon-name-mapping -c $$c; done); \
done
# install mo files
for f in po/*.po; do \
- D=$$DESTDIR/usr/share/locale/`basename $$f .po`/LC_MESSAGES/; \
+ D=$$DESTDIR/${PREFIX}/share/locale/`basename $$f .po`/LC_MESSAGES/; \
install -d -m 755 $$D; \
msgfmt -o $$D/$(GETTEXT_DOMAIN).mo $$f; \
done
# install index
- install -D -m 644 index.theme $$DESTDIR/usr/share/icons/Human/index.theme
+ install -m 644 index.theme $$DESTDIR/${PREFIX}/share/icons/Human/index.theme
.PHONY: build i18n clean install

View File

@ -0,0 +1 @@
Human is a nice and well polished icon theme for the GNOME desktop.

File diff suppressed because it is too large Load Diff