ports/84398: Update port: audio/tse3 to 0.3.0

KATO Tsuguru tkato432 at yahoo.com
Sun Jul 31 18:10:21 UTC 2005


>Number:         84398
>Category:       ports
>Synopsis:       Update port: audio/tse3 to 0.3.0
>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:   Sun Jul 31 18:10:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Update to versoin 0.3.0

Remove file:
files/patch-configure

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/tse3/Makefile audio/tse3/Makefile
--- /usr/ports/audio/tse3/Makefile	Wed Jun  1 13:16:10 2005
+++ audio/tse3/Makefile	Sat Jul 30 01:44:45 2005
@@ -5,8 +5,7 @@
 # $FreeBSD: ports/audio/tse3/Makefile,v 1.5 2005/05/31 21:34:44 oliver Exp $
 
 PORTNAME=	tse3
-PORTVERSION=	0.2.7
-PORTREVISION=	2
+PORTVERSION=	0.3.0
 CATEGORIES=	audio
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -14,15 +13,16 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	A MIDI library
 
-LIB_DEPENDS=	artsc:${PORTSDIR}/audio/arts
-
+USE_REINPLACE=	yes
 USE_GMAKE=	yes
-USE_LIBTOOL_VER=15
+USE_LIBTOOL_VER=	15
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS=	--without-doc-install
+CONFIGURE_ENV=	CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
 INSTALLS_SHLIB=	yes
-USE_REINPLACE=	yes
 
-MAN1=	tse3play.1
-MAN3=	tse3.3
+MAN1=		tse3play.1
+MAN3=		tse3.3
 
 .include <bsd.port.pre.mk>
 
@@ -30,6 +30,12 @@
 BROKEN=		"Does not compile on !i386"
 .endif
 
+.if defined(WITH_ARTS)
+LIB_DEPENDS+=	artsmidi:${PORTSDIR}/multimedia/kdemultimedia3
+.else
+CONFIGURE_ARGS+=	--without-aRts
+.endif
+
 pre-everything::
 	@${ECHO_MSG}
 	@${ECHO_MSG} -n "checking for SNDCTL_SEQ_GETTIME in sys/soundcard.h... "
@@ -52,11 +58,16 @@
 	${ECHO_MSG} "Aborting."; exit 1;\
 	fi
 
-post-patch:
-	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e 's|prefix}/doc/$${PACKAGE}-$${VERSION}|prefix}/share/doc/$${PACKAGE}|'
-
-pre-configure:
-	@${FIND} ${WRKSRC} -type f | ${XARGS} -x -n 10 \
-	${REINPLACE_CMD} -e 's|_LDFLAGS =|_LDFLAGS = ${PTHREAD_LIBS}|g'
+post-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/*.gif ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/*.jpeg ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/*.png ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/History ${DOCSDIR}
+	@${MKDIR} ${DOCSDIR}/songs
+	${INSTALL_DATA} ${WRKSRC}/demos/*.tse3 ${DOCSDIR}/songs
+.endif
 
 .include <bsd.port.post.mk>
diff -urN /usr/ports/audio/tse3/distinfo audio/tse3/distinfo
--- /usr/ports/audio/tse3/distinfo	Tue Jul 27 01:03:11 2004
+++ audio/tse3/distinfo	Sat Jul 30 00:17:06 2005
@@ -1,2 +1,2 @@
-MD5 (tse3-0.2.7.tar.gz) = 6ccab942cc51a648af76653771479eed
-SIZE (tse3-0.2.7.tar.gz) = 603222
+MD5 (tse3-0.3.0.tar.gz) = fbf5ebe8b96fdc9886758a42d6b1c13a
+SIZE (tse3-0.3.0.tar.gz) = 716430
diff -urN /usr/ports/audio/tse3/files/patch-configure audio/tse3/files/patch-configure
--- /usr/ports/audio/tse3/files/patch-configure	Tue Jul 27 01:03:11 2004
+++ audio/tse3/files/patch-configure	Thu Jan  1 09:00:00 1970
@@ -1,10 +0,0 @@
---- configure.orig	Thu May 27 19:55:30 2004
-+++ configure	Thu May 27 19:55:39 2004
-@@ -7820,6 +7820,7 @@
- 
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
- 
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff -urN /usr/ports/audio/tse3/pkg-plist audio/tse3/pkg-plist
--- /usr/ports/audio/tse3/pkg-plist	Wed Jun  1 13:16:10 2005
+++ audio/tse3/pkg-plist	Sat Jul 30 01:45:36 2005
@@ -108,49 +108,46 @@
 lib/libtse3.a
 lib/libtse3.so
 lib/libtse3.so.0
-share/doc/tse3/AUTHORS
-share/doc/tse3/About.html
-share/doc/tse3/Article.html
-share/doc/tse3/Bugs.html
-share/doc/tse3/Build.html
-share/doc/tse3/COPYING
-share/doc/tse3/Commands.html
-share/doc/tse3/Copyright.html
-share/doc/tse3/Error.html
-share/doc/tse3/Examples.html
-share/doc/tse3/Feedback.html
-share/doc/tse3/HOWTO.html
-share/doc/tse3/History
-share/doc/tse3/History.html
-share/doc/tse3/InsFiles.html
-share/doc/tse3/KDOC.html
-share/doc/tse3/Mutex.html
-share/doc/tse3/Notifier.html
-share/doc/tse3/Playable.html
-share/doc/tse3/Porting.html
-share/doc/tse3/Psalm150.html
-share/doc/tse3/Song.html
-share/doc/tse3/Structure.html
-share/doc/tse3/TSE3MDL.html
-share/doc/tse3/Trax.html
-share/doc/tse3/Trouble.html
-share/doc/tse3/Version.html
-share/doc/tse3/Whitepaper.html
-share/doc/tse3/index.html
-share/doc/tse3/pete.jpeg
-share/doc/tse3/songs/Ambient.tse3
-share/doc/tse3/songs/Bry.tse3
-share/doc/tse3/songs/Demo.tse2
-share/doc/tse3/songs/Demo.tse3
-share/doc/tse3/songs/Enigma.tse3
-share/doc/tse3/songs/FunkyJob.tse3
-share/doc/tse3/songs/Humphry.tse3
-share/doc/tse3/songs/Trip.tse3
-share/doc/tse3/trax.gif
-share/doc/tse3/tse3.gif
-share/doc/tse3/tse3logo.png
- at dirrm share/doc/tse3/songs
- at dirrm share/doc/tse3
+%%PORTDOCS%%%%DOCSDIR%%/About.html
+%%PORTDOCS%%%%DOCSDIR%%/Article.html
+%%PORTDOCS%%%%DOCSDIR%%/Bugs.html
+%%PORTDOCS%%%%DOCSDIR%%/Build.html
+%%PORTDOCS%%%%DOCSDIR%%/Commands.html
+%%PORTDOCS%%%%DOCSDIR%%/Copyright.html
+%%PORTDOCS%%%%DOCSDIR%%/Error.html
+%%PORTDOCS%%%%DOCSDIR%%/Examples.html
+%%PORTDOCS%%%%DOCSDIR%%/Feedback.html
+%%PORTDOCS%%%%DOCSDIR%%/HOWTO.html
+%%PORTDOCS%%%%DOCSDIR%%/History
+%%PORTDOCS%%%%DOCSDIR%%/History.html
+%%PORTDOCS%%%%DOCSDIR%%/InsFiles.html
+%%PORTDOCS%%%%DOCSDIR%%/KDOC.html
+%%PORTDOCS%%%%DOCSDIR%%/Mutex.html
+%%PORTDOCS%%%%DOCSDIR%%/Notifier.html
+%%PORTDOCS%%%%DOCSDIR%%/Playable.html
+%%PORTDOCS%%%%DOCSDIR%%/Porting.html
+%%PORTDOCS%%%%DOCSDIR%%/Psalm150.html
+%%PORTDOCS%%%%DOCSDIR%%/Song.html
+%%PORTDOCS%%%%DOCSDIR%%/Structure.html
+%%PORTDOCS%%%%DOCSDIR%%/TSE3MDL.html
+%%PORTDOCS%%%%DOCSDIR%%/Trax.html
+%%PORTDOCS%%%%DOCSDIR%%/Trouble.html
+%%PORTDOCS%%%%DOCSDIR%%/Version.html
+%%PORTDOCS%%%%DOCSDIR%%/Whitepaper.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/pete.jpeg
+%%PORTDOCS%%%%DOCSDIR%%/songs/Ambient.tse3
+%%PORTDOCS%%%%DOCSDIR%%/songs/Bry.tse3
+%%PORTDOCS%%%%DOCSDIR%%/songs/Demo.tse3
+%%PORTDOCS%%%%DOCSDIR%%/songs/Enigma.tse3
+%%PORTDOCS%%%%DOCSDIR%%/songs/FunkyJob.tse3
+%%PORTDOCS%%%%DOCSDIR%%/songs/Humphry.tse3
+%%PORTDOCS%%%%DOCSDIR%%/songs/Trip.tse3
+%%PORTDOCS%%%%DOCSDIR%%/trax.gif
+%%PORTDOCS%%%%DOCSDIR%%/tse3.gif
+%%PORTDOCS%%%%DOCSDIR%%/tse3logo.png
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/songs
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm include/tse3/util
 @dirrm include/tse3/plt
 @dirrm include/tse3/listen/ins
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list