1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/japanese/asterisk14-sounds/Makefile
Edwin Groothuis de6ccea84d [new port] japanese/asterisk-sounds-jp Japanese sound files for Asterisk
This is a Japanese sound files for Asterisk(PBX).

	It increases by MS Eri Takeda of a voice actor to do Japanese
	utterance.

	And sound files is limited to a purpose to use Asterisk PBX
	can take advantage of it in royalty-free freely.

PR:		ports/114067
Submitted by:	Fumihiko Kimura <jfkimura@yahoo.co.jp>
2007-09-06 22:27:52 +00:00

36 lines
1.1 KiB
Makefile

# New ports collection makefile for: asterisk-sounds-jp
# Date created: 27 June 2007
# Whom: Fumihiko Kimura <jfkimura@yahoo.co.jp>
#
# $FreeBSD$
#
PORTNAME= asterisk-sounds
PORTVERSION= 1.4
CATEGORIES= japanese net
MASTER_SITES= ftp://ftp.voip-info.jp/asterisk/sounds/
DISTNAME= ${PORTVERSION:S|.|_|}/${PORTNAME:S|sounds|sound|}-jp_${PORTVERSION:S|.||}_beta
MAINTAINER= jfkimura@yahoo.co.jp
COMMENT= Japanese sound files for Asterisk
RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk
NO_BUILD= yes
ASTERISKSDIR= ${LOCALBASE}/share/asterisk/sounds
do-install:
@-${MKDIR} ${ASTERISKSDIR}
@${CP} -pR ${WRKDIR}/jp ${ASTERISKSDIR}
@${MKDIR} ${DOCSDIR}
@${CP} -pv ${WRKDIR}/jp/README.txt ${DOCSDIR}
post-install:
@cd ${WRKDIR} && ${FIND} ./jp -type f -o -type l | ${SED} -e 's,^\.,${ASTERISKSDIR:S|${LOCALBASE}/||},' > ${TMPPLIST}
@cd ${WRKDIR} && ${FIND} ./jp -type d -depth | ${SED} -e 's,^\.,@dirrm ${ASTERISKSDIR:S|${LOCALBASE}/||},' >> ${TMPPLIST}
@${ECHO} ${DOCSDIR:S|${LOCALBASE}/||}/README.txt >> ${TMPPLIST}
@${ECHO} "@dirrm" ${DOCSDIR:S|${LOCALBASE}/||} >> ${TMPPLIST}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>