summaryrefslogtreecommitdiff
path: root/audio/gnome-audio/Makefile
blob: 7d2063a51f8ae8b3cba21120eb6a26adbbe8d17c (plain)
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
# $NetBSD: Makefile,v 1.12 2004/03/22 08:12:28 minskim Exp $
#

DISTNAME=	gnome-audio-2.0.0
PKGREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_GNOME:=sources/gnome-audio/2.0/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	rh@NetBSD.org
HOMEPAGE=	http://www.gnome.org/
COMMENT=	Set of audio files for GNOME

DEPENDS+=	xdg-dirs>=1.1:../../misc/xdg-dirs

NO_CONFIGURE=	YES
NO_BUILD=	YES
USE_X11=	YES

do-install:
	cd ${WRKSRC}/sounds && for f in *.wav */*.wav; do \
		dst=`${DIRNAME} $$f`; \
		${INSTALL_DATA_DIR} ${PREFIX}/share/sounds/$$dst; \
		${INSTALL_DATA} $$f ${PREFIX}/share/sounds/$$f; \
	done
	${RM} -f ${PREFIX}/share/sounds/login.wav
	${RM} -f ${PREFIX}/share/sounds/logout.wav
	${LN} -fs startup3.wav ${PREFIX}/share/sounds/login.wav
	${LN} -fs shutdown1.wav ${PREFIX}/share/sounds/logout.wav

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