Bug 181295 - [PATCH] audio/icegenerator : Add MySQL and PostgreSQL options
Summary: [PATCH] audio/icegenerator : Add MySQL and PostgreSQL options
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Guido Falsi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-14 16:00 UTC by Guido Falsi
Modified: 2013-08-30 21:20 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (1.11 KB, patch)
2013-08-14 16:00 UTC, Guido Falsi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Falsi freebsd_committer freebsd_triage 2013-08-14 16:00:00 UTC
- 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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-08-14 16:00:10 UTC
Maintainer of audio/icegenerator,

Please note that PR ports/181295 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/181295

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-08-14 16:00:11 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Guido Falsi freebsd_committer freebsd_triage 2013-08-14 16:16:46 UTC
Responsible Changed
From-To: freebsd-ports-bugs->madpilot

I'll take it.
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-08-30 21:14:10 UTC
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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Guido Falsi freebsd_committer freebsd_triage 2013-08-30 21:14:26 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!