head	1.1;
access;
symbols
	pkgsrc-2026Q1:1.1.0.36
	pkgsrc-2026Q1-base:1.1
	pkgsrc-2025Q4:1.1.0.34
	pkgsrc-2025Q4-base:1.1
	pkgsrc-2025Q3:1.1.0.32
	pkgsrc-2025Q3-base:1.1
	pkgsrc-2025Q2:1.1.0.30
	pkgsrc-2025Q2-base:1.1
	pkgsrc-2025Q1:1.1.0.28
	pkgsrc-2025Q1-base:1.1
	pkgsrc-2024Q4:1.1.0.26
	pkgsrc-2024Q4-base:1.1
	pkgsrc-2024Q3:1.1.0.24
	pkgsrc-2024Q3-base:1.1
	pkgsrc-2024Q2:1.1.0.22
	pkgsrc-2024Q2-base:1.1
	pkgsrc-2024Q1:1.1.0.20
	pkgsrc-2024Q1-base:1.1
	pkgsrc-2023Q4:1.1.0.18
	pkgsrc-2023Q4-base:1.1
	pkgsrc-2023Q3:1.1.0.16
	pkgsrc-2023Q3-base:1.1
	pkgsrc-2023Q2:1.1.0.14
	pkgsrc-2023Q2-base:1.1
	pkgsrc-2023Q1:1.1.0.12
	pkgsrc-2023Q1-base:1.1
	pkgsrc-2022Q4:1.1.0.10
	pkgsrc-2022Q4-base:1.1
	pkgsrc-2022Q3:1.1.0.8
	pkgsrc-2022Q3-base:1.1
	pkgsrc-2022Q2:1.1.0.6
	pkgsrc-2022Q2-base:1.1
	pkgsrc-2022Q1:1.1.0.4
	pkgsrc-2022Q1-base:1.1
	pkgsrc-2021Q4:1.1.0.2
	pkgsrc-2021Q4-base:1.1;
locks; strict;
comment	@# @;


1.1
date	2021.11.27.09.32.09;	author pho;	state Exp;
branches;
next	;
commitid	mKmYb9P4c12TMpiD;


desc
@@


1.1
log
@Import gkrellm-themes-2003.01.29

This is a collection of themes from muhri.net for GKrellM.
@
text
@# $NetBSD$
DISTNAME=	GKrellM-Skins
PKGNAME=	gkrellm-themes-2003.01.29
CATEGORIES=	sysutils
MASTER_SITES=	http://www.muhri.net/gkrellm/
DIST_SUBDIR=	${PKGNAME_NOREV}
WRKSRC=		${WRKDIR}/GKrellM-skins

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	http://www.muhri.net/gkrellm/
COMMENT=	Collection of themes for GKrellM
LICENSE=	gnu-gpl-v2

USE_TOOLS+=	chmod find tar pax bash:run
NO_BUILD=	yes

post-extract:
# Remove duplicate tarballs.
	${RUN}for file in aliens.tgz cyrus.gkrellm.tar.gz glass.gkrellm.tar.gz IReX.tar.gz; do \
		${RM} "${WRKSRC}/$$file"; \
	done
# Extract tarballs here, so that REPLACE_BASH can do its job in the
# pre-configure stage.
	${RUN}${MKDIR} "${WRKDIR}/dist"
	${RUN}cd "${WRKSRC}" && for file in *gz; do \
		${STEP_MSG} "Extracting $$file"; \
		${TAR} -zxf "$$file" -C "${WRKDIR}/dist" \
			--exclude "CVS" \
			--exclude "*~" \
			--exclude "*.orig" \
			--exclude "*.swp" \
			--exclude ".xvpics" \
			--no-same-owner \
			--no-same-permissions; \
	done
# Fix inappropriate permissions. Some directories are 777 and some
# non-executable files are 755.
	${RUN}${STEP_MSG} "Fixing permission bits"
	${RUN}${FIND} "${WRKDIR}/dist" -type d -exec ${CHMOD} 0755 {} +
	${RUN}${FIND} "${WRKDIR}/dist" \
		${REPLACE_BASH:@@file@@\( -path "${file}" -prune \) -or @@} \
		-type f -exec ${CHMOD} 0644 {} +

REPLACE_BASH+=	${WRKDIR}/dist/BloeStolen/convert
REPLACE_BASH+=	${WRKDIR}/dist/twilite/change_colors

INSTALLATION_DIRS+=	share/gkrellm2/themes
do-install:
	${RUN}cd "${WRKDIR}/dist" && for dir in *; do \
		${STEP_MSG} "Installing $$dir"; \
		${PAX} -wr "$$dir" ${DESTDIR}${PREFIX}/share/gkrellm2/themes; \
	done

.include "../../mk/bsd.pkg.mk"
@
