From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 14 15:00:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5F528480 for ; Wed, 14 Aug 2013 15:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3D73320AD for ; Wed, 14 Aug 2013 15:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7EF00rW025990 for ; Wed, 14 Aug 2013 15:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7EF00Ds025989; Wed, 14 Aug 2013 15:00:00 GMT (envelope-from gnats) Resent-Date: Wed, 14 Aug 2013 15:00:00 GMT Resent-Message-Id: <201308141500.r7EF00Ds025989@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Guido Falsi Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E9CC73AA for ; Wed, 14 Aug 2013 14:59:10 +0000 (UTC) (envelope-from mad@micro.madpilot.net) Received: from micro.madpilot.net (micro.madpilot.net [88.149.173.206]) by mx1.freebsd.org (Postfix) with ESMTP id 9721720A0 for ; Wed, 14 Aug 2013 14:59:10 +0000 (UTC) Received: from micro.madpilot.net (localhost [127.0.0.1]) by micro.madpilot.net (Postfix) with ESMTP id 3cFYpb2whyz2jr; Wed, 14 Aug 2013 16:59:03 +0200 (CEST) Received: from micro.madpilot.net ([127.0.0.1]) by micro.madpilot.net (micro.madpilot.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id LDRTrnZ5CJeH; Wed, 14 Aug 2013 16:59:00 +0200 (CEST) Received: by micro.madpilot.net (Postfix, from userid 1000) id 3cFYpX06d9z2jq; Wed, 14 Aug 2013 16:58:59 +0200 (CEST) Message-Id: <3cFYpX06d9z2jq@micro.madpilot.net> Date: Wed, 14 Aug 2013 16:58:59 +0200 (CEST) From: Guido Falsi To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/181295: [PATCH] audio/icegenerator : Add MySQL and PostgreSQL options Cc: funkblaster@mail.ru X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Guido Falsi List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 15:00:01 -0000 >Number: 181295 >Category: ports >Synopsis: [PATCH] audio/icegenerator : Add MySQL and PostgreSQL options >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 14 15:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Guido Falsi >Release: FreeBSD 9.1-STABLE amd64 >Organization: none >Environment: System: FreeBSD micro.madpilot.net 9.1-STABLE FreeBSD 9.1-STABLE #21 r252026: Thu Jun 20 16:27:06 CEST 2013 root@micro.madpilot.net:/usr/obj/usr/src/sys/MICRO amd64 >Description: - Add OPTIONS support, with options to enable MySQL and PostgreSQL backends While here: - Trim makefile headers - Convert to new LIB_DEPENDS format - Use USES=gmake Maintainer is CCed. >How-To-Repeat: >Fix: Index: Makefile =================================================================== --- Makefile (revision 324713) +++ Makefile (working copy) @@ -1,9 +1,5 @@ -# New ports collection makefile for: icegenerator -# Date created: 18 August 2004 -# Whom: Nadelyaev Stanislav -# +# Created by: Nadelyaev Stanislav # $FreeBSD$ -# PORTNAME= icegenerator DISTVERSION= 0.5.5-pre2 @@ -13,14 +9,28 @@ MAINTAINER= funkblaster@mail.ru COMMENT= Direct streaming generator for Icecast/Shoutcast -LIB_DEPENDS= shout.5:${PORTSDIR}/audio/libshout2 +LIB_DEPENDS= libshout.so:${PORTSDIR}/audio/libshout2 GNU_CONFIGURE= yes -USE_GMAKE= yes +USES= gmake CONFIGURE_ARGS= --exec-prefix=${PREFIX} +OPTIONS_DEFINE= DOCS MYSQL PGSQL + +.include + +.if ${PORT_OPTIONS:MMYSQL} +USE_MYSQL= YES +CONFIGURE_ARGS+= --with-mysql +.endif + +.if ${PORT_OPTIONS:MPGSQL} +USE_PGSQL= YES +CONFIGURE_ARGS+= --with-pgsql +.endif + post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR} .endif >Release-Note: >Audit-Trail: >Unformatted: