# New ports collection makefile for: eyeOS-themes # Date created: 2006-04-06 # Whom: Nicola Vitale # # $FreeBSD$ # PORTNAME= themes PORTVERSION= 1.0 CATEGORIES= www MASTER_SITES= http://www.eyelook.org/themes/ PKGNAMEPREFIX= eyeOS- DISTFILES= ${EYETHEMES:S/$/.zip/} MAINTAINER= nivit@email.it COMMENT= A themes collection for eyeOS RUN_DEPENDS= ${EYEDIR}/index.php:${PORTSDIR}/www/eyeos NO_BUILD= yes NO_WRKSUBDIR= yes USE_ZIP= yes EYEDIR?= ${PREFIX}/www/eyeOS THEMESDIR= ${EYEDIR}/system/themes OPTIONS= Crystal_THEME "based on the Crystal Open Source icons" On OPTIONS+= Executive_THEME "designed specially for Companies" On OPTIONS+= Kids_THEME "designed specially for Kids and Schools" On OPTIONS+= Mac_THEME "based on OSX 2.1 Open Source icons" On OPTIONS+= Mini_THEME "with mall icons based on Nuvola icon set" On OPTIONS+= NuoveXT_THEME "based on 'NuoveXT' Open Source icons" On OPTIONS+= Nuvola_THEME "inspired in the great icons Nuvola" On OPTIONS+= WaterSide_THEME "inspired in countryside of Saskatchewan" On .include .for theme in ${OPTIONS:M*_THEME:S/_THEME//} .ifndef WITHOUT_${theme}_THEME EYETHEMES+= ${theme} .else PLIST_SUB+= ${theme:U}="@comment " .endif .endfor PLIST_SUB+= ${EYETHEMES:U:S/$/=""/} THEMESDIR=${THEMESDIR:S,^${PREFIX}/,,} do-install: ${CP} -Rp ${EYETHEMES:S,^,${WRKDIR}/,} ${THEMESDIR}/ ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${THEMESDIR} ${CHMOD} -R go-w ${THEMESDIR} ${ECHO_CMD} @exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} %D/${THEMESDIR:S,^${PREFIX}/,,} >> ${TMPPLIST} ${ECHO_CMD} @exec ${CHMOD} -R go-w %D/${THEMESDIR:S,^${PREFIX}/,,} >> ${TMPPLIST} .include