Bug 171522 - [maintainer update] www/free-sa-devel: update to 2.0.0b5.10
Summary: [maintainer update] www/free-sa-devel: update to 2.0.0b5.10
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: Bryan Drewery
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-10 15:20 UTC by Alexander Moisseev
Modified: 2012-09-10 20:40 UTC (History)
0 users

See Also:


Attachments
file.diff (968 bytes, patch)
2012-09-10 15:20 UTC, Alexander Moisseev
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Moisseev 2012-09-10 15:20:02 UTC
- Update to 2.0.0b5.10

Fix: Patch attached with submission follows:
Comment 1 Bryan Drewery freebsd_committer 2012-09-10 16:24:34 UTC
Responsible Changed
From-To: freebsd-ports-bugs->bdrewery

I'll take it.
Comment 2 dfilter service freebsd_committer 2012-09-10 20:29:46 UTC
Author: bdrewery
Date: Mon Sep 10 19:29:33 2012
New Revision: 304056
URL: http://svn.freebsd.org/changeset/ports/304056

Log:
  - Update to 2.0.0b5.10 [1]
  - Convert to new options framework
  
  PR:		ports/171522 [1]
  Submitted by:	Alexander Moisseev <moiseev@mezonplus.ru> (maintainer) [1]
  Approved by:	eadler, bapt (mentors, implicit)

Modified:
  head/www/free-sa-devel/Makefile
  head/www/free-sa-devel/distinfo

Modified: head/www/free-sa-devel/Makefile
==============================================================================
--- head/www/free-sa-devel/Makefile	Mon Sep 10 19:23:38 2012	(r304055)
+++ head/www/free-sa-devel/Makefile	Mon Sep 10 19:29:33 2012	(r304056)
@@ -6,11 +6,12 @@
 #
 
 PORTNAME=	free-sa
-PORTVERSION=	2.0.0b5
+PORTVERSION=	2.0.0b5.10
 CATEGORIES=	www
 MASTER_SITES=	SF
-MASTER_SITE_SUBDIR=	free-sa/free-sa-dev/2.0.0b5/
+MASTER_SITE_SUBDIR=	free-sa/free-sa-dev/2.0.0b5p10/
 PKGNAMESUFFIX=	-devel
+DISTNAME=	free-sa-2.0.0b5p10
 
 MAINTAINER=	moiseev@mezonplus.ru
 COMMENT=	Statistic analyzer for daemons log files similar to SARG
@@ -44,13 +45,14 @@ MAKE_ARGS+=	PREFIX="${PREFIX}" \
 		ADDLDFLAGS="${LDFLAGS} -mrelax" \
 		MANDIR="${MANPREFIX}/man"
 
-OPTIONS=	OPTIMIZED_CFLAGS "Build with distribution-recommended CFLAGS"	off \
-		SA_DEBUG "Enable Free-SA debugging (level 1)"	off
+OPTIONS_DEFINE=	OPTIMIZED_CFLAGS SA_DEBUG
+OPTIMIZED_CFLAGS_DESC=	Build with distribution-recommended CFLAGS
+SA_DEBUG_DESC=		Enable Free-SA debugging (level 1)
 
 .include <bsd.port.options.mk>
 
 pre-everything::
-.ifndef(WITH_OPTIMIZED_CFLAGS)
+.if empty(PORT_OPTIONS:MOPTIMIZED_CFLAGS)
 	@${ECHO_MSG} ">>> This software is computationally demanding, and users are"
 	@${ECHO_MSG} ">>> advised to employ compiler optimizations when building it."
 	@${ECHO_MSG} ">>> Author of this software have used such flags as"
@@ -60,7 +62,7 @@ pre-everything::
 	@${ECHO_MSG} ">>> For example, 'make WITH_OPTIMIZED_CFLAGS=yes'"
 	@${ECHO_MSG} ">>>"
 .endif
-.ifndef(WITH_SA_DEBUG) && (SA_DEBUG_LEVEL)
+.if empty(PORT_OPTIONS:MSA_DEBUG) && (SA_DEBUG_LEVEL)
 	@${ECHO_MSG} ">>> You can enable Free-SA debugging (level 1) by defining WITH_SA_DEBUG"
 	@${ECHO_MSG} ">>> For example, 'make WITH_SA_DEBUG=yes'"
 	@${ECHO_MSG} ">>> Or for specific level (0-7) you can use SA_DEBUG_LEVEL"
@@ -69,7 +71,7 @@ pre-everything::
 	@${ECHO_MSG} ">>>"
 .endif
 
-.if defined(WITH_SA_DEBUG)
+.if ${PORT_OPTIONS:MSA_DEBUG}
 SA_DEBUG_LEVEL?=	1
 .else
 SA_DEBUG_LEVEL?=	0
@@ -85,7 +87,7 @@ post-patch:
 		-e 's,^include .(GMKPATH)/configs/.(OSTYPE)\.mk,,' \
 		${WRKSRC}/global.mk
 
-.if defined(WITH_OPTIMIZED_CFLAGS)
+.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
 MAKE_ARGS+=	ADDCFLAGS="${CFLAGS} \
 		-fomit-frame-pointer \
 		-std=c99 \

Modified: head/www/free-sa-devel/distinfo
==============================================================================
--- head/www/free-sa-devel/distinfo	Mon Sep 10 19:23:38 2012	(r304055)
+++ head/www/free-sa-devel/distinfo	Mon Sep 10 19:29:33 2012	(r304056)
@@ -1,2 +1,2 @@
-SHA256 (free-sa-2.0.0b5.tar.gz) = 5f179f17018406c5b58fb05e3864aeb679e279970423916d2a60d5eca1008ef5
-SIZE (free-sa-2.0.0b5.tar.gz) = 96612
+SHA256 (free-sa-2.0.0b5p10.tar.gz) = 12ba763ce38d64979c8cb378741f507a0d8acb5d3cdbb443d940716317c95bee
+SIZE (free-sa-2.0.0b5p10.tar.gz) = 98991
_______________________________________________
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 3 Bryan Drewery freebsd_committer 2012-09-10 20:30:06 UTC
State Changed
From-To: open->closed

Committed. Also updated to the new Options Framework as described here 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-options.html