summaryrefslogtreecommitdiff
path: root/audio/freeswitch-sounds-en/Makefile
blob: 264237e0e694ff5063bccbd7cc8a910787b542d6 (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
# $NetBSD: Makefile,v 1.1 2012/10/21 18:50:53 darcy Exp $

DISTNAME=		freeswitch-sounds-en-${VERSION}
VERSION=		1.0.22
CATEGORIES=		audio
MASTER_SITES=	http://files.freeswitch.org/
DIST_SUBDIR=	freeswitch

MAINTAINER= darcy@NetBSD.org
COMMENT=	FreeSwitch Sounds (English)
LICENSE=	mpl-1.1

SOUNDSDIR=   share/freeswitch/sounds
USE_TOOLS+=	tar
INSTALLATION_DIRS+=	${SOUNDSDIR}
GENERATE_PLIST+= ${FIND} ${WRKDIR}/en \( -type f -o -type l \) -print \
        | ${SORT} | ${SED} -e "s,${WRKDIR}/,${SOUNDSDIR}/,g";
NO_BUILD=   yes

do-install:
	@${ECHO_MSG} "Installing files..."
	cd ${WRKDIR} && ${TAR} cf - en | \
		${TAR} xf - -C ${DESTDIR}${PREFIX}/${SOUNDSDIR}

.include "options.mk"

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