From owner-svn-ports-all@freebsd.org Wed Jul 5 14:37:39 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 39E40DAC62A; Wed, 5 Jul 2017 14:37:39 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0345082A15; Wed, 5 Jul 2017 14:37:38 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v65Ebcp0043823; Wed, 5 Jul 2017 14:37:38 GMT (envelope-from madpilot@FreeBSD.org) Received: (from madpilot@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v65Ebcc3043822; Wed, 5 Jul 2017 14:37:38 GMT (envelope-from madpilot@FreeBSD.org) Message-Id: <201707051437.v65Ebcc3043822@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: madpilot set sender to madpilot@FreeBSD.org using -f From: Guido Falsi Date: Wed, 5 Jul 2017 14:37:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r445080 - head/japanese/asterisk-sounds X-SVN-Group: ports-head X-SVN-Commit-Author: madpilot X-SVN-Commit-Paths: head/japanese/asterisk-sounds X-SVN-Commit-Revision: 445080 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2017 14:37:39 -0000 Author: madpilot Date: Wed Jul 5 14:37:37 2017 New Revision: 445080 URL: https://svnweb.freebsd.org/changeset/ports/445080 Log: - Add option to choose which asterisk version to depend on - Set the default to asterisk13 Modified: head/japanese/asterisk-sounds/Makefile Modified: head/japanese/asterisk-sounds/Makefile ============================================================================== --- head/japanese/asterisk-sounds/Makefile Wed Jul 5 13:47:22 2017 (r445079) +++ head/japanese/asterisk-sounds/Makefile Wed Jul 5 14:37:37 2017 (r445080) @@ -3,6 +3,7 @@ PORTNAME= asterisk PORTVERSION= 1.6 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= japanese net MASTER_SITES= http://ftp.voip-info.jp/asterisk/sounds/${PORTVERSION:S|.|_|}/ \ @@ -13,8 +14,6 @@ DISTNAME= asterisk-sound-jp_${PORTVERSION:S|.||}_pre MAINTAINER= ports@FreeBSD.org COMMENT= Japanese sound files for Asterisk -RUN_DEPENDS= asterisk:net/asterisk11 - NO_BUILD= yes ASTERISKDIR= ${PREFIX}/share/asterisk/sounds DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} @@ -22,6 +21,16 @@ SUB_FILES= pkg-message SUB_LIST= PORTSDIR=${PORTSDIR} OPTIONS_DEFINE= DOCS + +OPTIONS_SINGLE= ASTVER +OPTIONS_SINGLE_ASTVER= ASTERISK11 ASTERISK13 +OPTIONS_DEFAULT= ASTERISK13 + +ASTERISK11_DESC= Depend on Asterisk 11 +ASTERISK13_DESC= Depend on Asterisk 13 + +ASTERISK11_RUN_DEPENDS= asterisk:net/asterisk11 +ASTERISK13_RUN_DEPENDS= asterisk:net/asterisk13 do-install: @-${MKDIR} ${STAGEDIR}${ASTERISKDIR}/ja