aboutsummaryrefslogtreecommitdiff
path: root/www/free-sa-devel
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2012-09-10 19:29:33 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2012-09-10 19:29:33 +0000
commit7fffc0d432816a543254d17d02602b6c464e1bbd (patch)
treeb137d6a04eb44911e82e34f5e75a370f8dbae386 /www/free-sa-devel
parent5fd335e7b11aa98f88423ebff1bb534b86a008a9 (diff)
Notes
Diffstat (limited to 'www/free-sa-devel')
-rw-r--r--www/free-sa-devel/Makefile18
-rw-r--r--www/free-sa-devel/distinfo4
2 files changed, 12 insertions, 10 deletions
diff --git a/www/free-sa-devel/Makefile b/www/free-sa-devel/Makefile
index 192c07e8d558..f9d67b44fe1a 100644
--- a/www/free-sa-devel/Makefile
+++ b/www/free-sa-devel/Makefile
@@ -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 \
diff --git a/www/free-sa-devel/distinfo b/www/free-sa-devel/distinfo
index b054ee44d5ac..bd26712347a4 100644
--- a/www/free-sa-devel/distinfo
+++ b/www/free-sa-devel/distinfo
@@ -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