Date: Fri, 30 Aug 2013 20:14:02 +0000 (UTC) From: Guido Falsi <madpilot@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325719 - head/audio/icegenerator Message-ID: <201308302014.r7UKE2M7083983@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: madpilot Date: Fri Aug 30 20:14:02 2013 New Revision: 325719 URL: http://svnweb.freebsd.org/changeset/ports/325719 Log: - Add OPTIONS support, with options to enable MySQL and PostgreSQL backends While here: - Trim makefile headers - Convert to new LIB_DEPENDS format and remove ABI version number - Use USES=gmake PR: ports/181295 Submitted by: Me Approved by: Maintainer timeout Modified: head/audio/icegenerator/Makefile (contents, props changed) Modified: head/audio/icegenerator/Makefile ============================================================================== --- head/audio/icegenerator/Makefile Fri Aug 30 20:00:42 2013 (r325718) +++ head/audio/icegenerator/Makefile Fri Aug 30 20:14:02 2013 (r325719) @@ -1,9 +1,5 @@ -# New ports collection makefile for: icegenerator -# Date created: 18 August 2004 -# Whom: Nadelyaev Stanislav <funkblaster@n11.bmstu.ru> -# +# Created by: Nadelyaev Stanislav <funkblaster@n11.bmstu.ru> # $FreeBSD$ -# PORTNAME= icegenerator DISTVERSION= 0.5.5-pre2 @@ -13,14 +9,28 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME 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 <bsd.port.options.mk> + +.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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308302014.r7UKE2M7083983>