27 lines
715 B
Makefile
27 lines
715 B
Makefile
# $NetBSD: Makefile,v 1.2 2015/12/29 04:54:36 dholland 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"
|