The distinfo for the English sounds also contained the hashes for the French and Russian sounds. Since the latter packages have their own distinfo files, they were redundant and have been removed.
28 lines
709 B
Makefile
28 lines
709 B
Makefile
# $NetBSD: Makefile,v 1.3 2019/03/16 17:16:52 rillig 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"
|