diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2007-09-06 22:27:52 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2007-09-06 22:27:52 +0000 |
commit | de6ccea84d9635879f04c46022b44200bb8be8bb (patch) | |
tree | 67f6f628b1a5426604fbf950482048f2c46ef5a5 /japanese/asterisk-sounds/Makefile | |
parent | 2fd519b3e22a8df65f7d861fc654076ee095eacd (diff) | |
download | ports-de6ccea84d9635879f04c46022b44200bb8be8bb.tar.gz ports-de6ccea84d9635879f04c46022b44200bb8be8bb.zip |
Notes
Diffstat (limited to 'japanese/asterisk-sounds/Makefile')
-rw-r--r-- | japanese/asterisk-sounds/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/japanese/asterisk-sounds/Makefile b/japanese/asterisk-sounds/Makefile new file mode 100644 index 000000000000..f0236d573e04 --- /dev/null +++ b/japanese/asterisk-sounds/Makefile @@ -0,0 +1,35 @@ +# 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> |