summaryrefslogtreecommitdiffstats
path: root/audio/freedesktop-sound-theme/Makefile
blob: 1ff2fe0f596befad9d082c2fa7bf3e2a771644ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:    freedesktop-sound-theme
# Date created:             15 August 2008
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom$
#

PORTNAME=   freedesktop-sound-theme
PORTVERSION=    1.0
CATEGORIES= audio gnome
MASTER_SITES=   http://0pointer.de/public/
DISTNAME=   sound-theme-freedesktop

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Sound theme based on the FreeDesktop specification

NO_BUILD=   yes
USE_GNOME=  gnomehier
WRKSRC=     ${WRKDIR}/freedesktop

do-install:
    ${MKDIR} ${PREFIX}/share/sounds/freedesktop/stereo
    ${INSTALL_DATA} ${WRKSRC}/index.theme \
            ${PREFIX}/share/sounds/freedesktop
    for f in ${WRKSRC}/stereo/*; do \
        bn=$$(${BASENAME} $${f}) ; \
        ${INSTALL_DATA} $${f} \
            ${PREFIX}/share/sounds/freedesktop/stereo/$${bn} ; \
    done

.include <bsd.port.mk>