summaryrefslogtreecommitdiff
path: root/emulators/cygwin_esound/Makefile
blob: 01403fbfcafc1238f5cce2ac4d65f0456e4a7409 (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
32
33
34
35
36
37
38
# $NetBSD: Makefile,v 1.9 2012/10/03 12:55:11 asau Exp $
#

DISTNAME=		esound-0.2.35-1
PKGNAME=		${DISTNAME:S/-/!/:S/-/./g:S/!/-/:S/^/cygwin_/}
PKGREVISION=		1
CATEGORIES=		emulators
MASTER_SITES=		${MASTER_SITE_CYGWIN:=release/esound/} \
			${MASTER_SITE_CYGWIN:=release/esound/libesound0/} \
			${MASTER_SITE_CYGWIN:=release/audiofile/libaudiofile0/}
EXTRACT_SUFX=		.tar.bz2
DISTFILES=		${DISTNAME}${EXTRACT_SUFX} \
			libesound0-0.2.35-1.tar.bz2 \
			libaudiofile0-0.2.6-2.tar.bz2

MAINTAINER=		interix-pkg-people@NetBSD.org
COMMENT=		Enlightened sound daemon (daemon only) for Cygwin/Interix

ONLY_FOR_PLATFORM=	Interix-*-*

DIST_SUBDIR=		cygwin
WRKSRC=			${WRKDIR}

RCD_SCRIPTS=		cygwin_esd
INSTALLATION_DIRS=	bin emul/cygwin/bin

do-build: # nothing

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/cygaudiofile-0.dll \
		${DESTDIR}${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/cygesd-0.dll \
		${DESTDIR}${PREFIX}/bin/
	${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/esd.exe \
		${DESTDIR}${PREFIX}/emul/cygwin/bin/

.include "../../emulators/cygwin_lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"