Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2012 02:30:48 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/174182: audio/hexter: Update to version 1.0.2
Message-ID:  <20121206023048.63605ea07b1bcb2ce89aef0d@yahoo.com>
Resent-Message-ID: <201212051810.qB5IA8Z3033599@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174182
>Category:       ports
>Synopsis:       audio/hexter: Update to version 1.0.2
>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 Dec 05 18:10:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Update to version 1.0.2

Remove file:
files/patch-configure

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/hexter/Makefile audio/hexter/Makefile
--- /usr/ports/audio/hexter/Makefile	2012-11-08 05:44:50.000000000 +0900
+++ audio/hexter/Makefile	2012-12-03 23:35:39.000000000 +0900
@@ -1,26 +1,60 @@
-# New ports collection makefile for:	hexter
-# Date created:		2007-01-20
-# Whom:			trasz <trasz@pin.if.uz.zgora.pl>
-#
+# Created by: trasz <trasz@pin.if.uz.zgora.pl>
 # $FreeBSD: head/audio/hexter/Makefile 300895 2012-07-14 12:56:14Z beat $
-#
 
 PORTNAME=	hexter
-PORTVERSION=	0.6.2
-PORTREVISION=	5
+PORTVERSION=	1.0.2
 CATEGORIES=	audio
 MASTER_SITES=	SF/dssi/${PORTNAME}/${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	DSSI softsynth that models the sound generation of a Yamaha DX7
 
-LIB_DEPENDS=	dssialsacompat.0:${PORTSDIR}/audio/libdssialsacompat \
-		lo.7:${PORTSDIR}/audio/liblo \
-		jack.0:${PORTSDIR}/audio/jack
-BUILD_DEPENDS=	${LOCALBASE}/include/dssi.h:${PORTSDIR}/audio/dssi
+LICENSE=	GPLv2 # (or later)
+
+BUILD_DEPENDS=	dssi>0:${PORTSDIR}/audio/dssi \
+		ladspa>0:${PORTSDIR}/audio/ladspa
+LIB_DEPENDS=	dssialsacompat:${PORTSDIR}/audio/libdssialsacompat \
+		lo:${PORTSDIR}/audio/liblo
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+
+OPTIONS_DEFINE=	FLOAT GTK2 READLINE
+OPTIONS_DEFAULT=GTK2 READLINE
+FLOAT_DESC=	Enable floating point rendering
+READLINE_DESC=	Readline support
 
-GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
+GNU_CONFIGURE=	yes
+MAKE_JOBS_SAFE=	yes
+
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MFLOAT}
+CONFIGURE_ARGS+=--enable-floating-point
+.endif
+
+.if ${PORT_OPTIONS:MGTK2}
 USE_GNOME=	gtk20
+CONFIGURE_ARGS+=--with-gtk2
+PLIST_SUB+=	GTK2=""
+.else
+CONFIGURE_ARGS+=--without-gtk2
+PLIST_SUB+=	GTK2="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MREADLINE}
+USE_READLINE=	yes
+CONFIGURE_ARGS+=--with-textui
+PLIST_SUB+=	READLINE=""
+.else
+CONFIGURE_ARGS+=--without-textui
+PLIST_SUB+=	READLINE="@comment "
+.endif
+
+post-install:
+	@${MKDIR} ${PREFIX}/lib/dssi/hexter
+	@${ECHO_CMD} -n > ${PREFIX}/lib/dssi/hexter/.keep_me
 
 .include <bsd.port.mk>
diff -urN /usr/ports/audio/hexter/distinfo audio/hexter/distinfo
--- /usr/ports/audio/hexter/distinfo	2012-11-08 05:44:50.000000000 +0900
+++ audio/hexter/distinfo	2012-11-10 01:53:04.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (hexter-0.6.2.tar.gz) = b50c4fa077e2e42293739ff8166fcee4d2387267eabecf28cca3c087480b6fbf
-SIZE (hexter-0.6.2.tar.gz) = 435825
+SHA256 (hexter-1.0.2.tar.gz) = afc576177e3acaf1e1d55c6778792d6b3e401c2d03c56a1c5c0d94f4411b0dc9
+SIZE (hexter-1.0.2.tar.gz) = 517532
diff -urN /usr/ports/audio/hexter/files/patch-configure audio/hexter/files/patch-configure
--- /usr/ports/audio/hexter/files/patch-configure	2012-11-08 05:44:50.000000000 +0900
+++ audio/hexter/files/patch-configure	1970-01-01 09:00:00.000000000 +0900
@@ -1,11 +0,0 @@
---- configure.orig	Wed Jan 18 22:23:05 2006
-+++ configure	Wed Feb 14 07:51:19 2007
-@@ -20697,7 +20697,7 @@
- echo "GTK support: $with_gtk"
- 
- case "${host_os}" in
--darwin*)
-+darwin* | freebsd*)
-   darwin=yes
- 
-   succeeded=no
diff -urN /usr/ports/audio/hexter/pkg-plist audio/hexter/pkg-plist
--- /usr/ports/audio/hexter/pkg-plist	2012-11-08 05:44:50.000000000 +0900
+++ audio/hexter/pkg-plist	2012-10-31 20:26:06.000000000 +0900
@@ -1,6 +1,8 @@
-lib/dssi/hexter.so
 lib/dssi/hexter.la
-lib/dssi/hexter/hexter_gtk
+lib/dssi/hexter.so
+lib/dssi/hexter/.keep_me
+%%GTK2%%lib/dssi/hexter/hexter_gtk
+%%READLINE%%lib/dssi/hexter/hexter_text
 %%DATADIR%%/dx7_roms.dx7
 %%DATADIR%%/fb01_roms_converted_12.dx7
 %%DATADIR%%/fb01_roms_converted_34.dx7
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121206023048.63605ea07b1bcb2ce89aef0d>