1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/japanese/asterisk-sound/Makefile
Philip M. Gollucci d8d2cf17f9 - devel/libslang2 has completely replaced devel/libslang which has not been
released in ~5yrs.

- WITH_SLANG2 is now no longer a valid ports knob
- WITH_SLANG implies devel/libslang2 now
- devel/libslang -> devel/libslang2 is a SHARED LIB bump
  so bump PORTREVISION for affected ports

- Take MAINTAINER for most unmaintained ports in this chain
- some SF macro conversions

- BROKEN with devel/libslang2 and DEPRECATE
    math/slsc (abandoned upstream)
- BROKEN with devel/libslang2
    japanese/slirc

PR:             ports/125255
Reviewed by:    garga (libslang maintainer), portmgr (pav)
Exp Run by:     pav
2009-02-08 03:14:14 +00:00

37 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
PORTREVISION= 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>