Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Aug 2001 04:18:38 +0200 (CEST)
From:      Cyrille Lefevre <clefevre@citeweb.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        yoshiaki@kt.rim.or.jp
Subject:   ports/29858: Updated port: audio/lame (3.89b)
Message-ID:  <200108190218.f7J2IcM48328@gits.dyndns.org>

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

>Number:         29858
>Category:       ports
>Synopsis:       Updated port: audio/lame (3.89b)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 18 19:20:23 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Cyrille Lefevre
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
ACME
>Environment:

System: FreeBSD gits 4.3-STABLE FreeBSD 4.3-STABLE #28: Wed Jul 25 09:04:25 CEST 2001 root@gits:/disk2/4.x-stable/src/sys/compile/CUSTOM i386

>Description:

	Makefile
		version bumped.
		VORBIS support added.
		pre-everything added.
		NOPORTDOCS added.
		post-install is almost the same but rewritten.

	distinfo
		updated as needed.

	pkg-plist
		updated as needed.
		PORTDOCS added.

	files/patch-*
		deleted.

>How-To-Repeat:
	n/a
>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/lame/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- Makefile	2001/01/08 00:54:29	1.18
+++ Makefile	2001/08/15 02:06:52
@@ -6,35 +6,68 @@
 #
 
 PORTNAME=	lame
-PORTVERSION=	3.70
-PORTREVISION=	2
+PORTVERSION=	3.89b
 CATEGORIES=	audio
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
 		ftp://lame.sourceforge.net/pub/
 MASTER_SITE_SUBDIR=	lame/src
-DISTNAME=	${PORTNAME}${PORTVERSION}
+DISTNAME=	${PORTNAME}${PORTVERSION:S/b/beta/}
 
 MAINTAINER=	yoshiaki@kt.rim.or.jp
 
+BUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm
+.if !defined(WITHOUT_VORBIS)
+LIB_DEPENDS=	vorbis.0:${PORTSDIR}/audio/libvorbis
+.endif
+
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:S/b//}
+
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--enable-nasm \
+		--enable-mp3x \
+		--enable-mp3rtp
 USE_GMAKE=	yes
+USE_LIBTOOL=	yes
 WANT_GTK=	yes
-ALL_TARGET=	lame
 
 MAN1=		lame.1
 
+DOC_DIR=	${PREFIX}/share/doc/${PKGNAME}
+
 .include <bsd.port.pre.mk>
 
 .if defined(HAVE_GTK)
 USE_GTK=	yes
+.else
+CONFIGURE_ARGS+=	--disable-gtktest
+.endif
+
+.if !defined(WITHOUT_VORBIS)
+CONFIGURE_ARGS+=	--with-vorbis
+CONFIGURE_ENV+=		CFLAGS=-I${LOCALBASE}/include \
+			LDFLAGS=-L${LOCALBASE}/lib \
+			LIBS=-logg
+.endif
+
+.if !defined(WITHOUT_VORBIS)
+pre-everything::
+	@${ECHO_MSG}
+	@${ECHO_MSG} "If you don't want to compile with Vorbis support."
+	@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITHOUT_VORBIS=yes\""
+	@${ECHO_MSG}
 .endif
 
+.if defined(NOPORTDOCS)
+# post-install:
+# 	@${RM} -rf ${DOC_DIR}
+# or
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/lame ${PREFIX}/bin
-	@${INSTALL_MAN} ${WRKSRC}/doc/man/lame.1 ${PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${PREFIX}/share/doc/lame
-	@${INSTALL_DATA} ${WRKSRC}/doc/html/*.html \
-		${WRKSRC}/doc/html/*.css ${PREFIX}/share/doc/lame
+	@cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \
+		${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-exec
+	@cd ${INSTALL_WRKSRC}/include && ${SETENV} ${MAKE_ENV} ${GMAKE} \
+		${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-data
+	@cd ${INSTALL_WRKSRC}/doc/man && ${SETENV} ${MAKE_ENV} ${GMAKE} \
+		${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-data
 .endif
 
 .include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/audio/lame/distinfo,v
retrieving revision 1.8
diff -u -r1.8 distinfo
--- distinfo	2000/10/29 13:30:39	1.8
+++ distinfo	2001/08/14 14:17:39
@@ -1 +1 @@
-MD5 (lame3.70.tar.gz) = 44e29880a21535a7c935046a531e15af
+MD5 (lame3.89beta.tar.gz) = b90b549e2a77f980f0d13d7630b8307a
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/audio/lame/pkg-plist,v
retrieving revision 1.7
diff -u -r1.7 pkg-plist
--- pkg-plist	2001/07/08 07:25:54	1.7
+++ pkg-plist	2001/08/19 02:14:00
@@ -1,12 +1,21 @@
+@comment $FreeBSD$
 bin/lame
-%%PORTDOCS%%share/doc/lame/contributors.html
-%%PORTDOCS%%share/doc/lame/examples.html
-%%PORTDOCS%%share/doc/lame/history.html
-%%PORTDOCS%%share/doc/lame/id3.html
-%%PORTDOCS%%share/doc/lame/index.html
-%%PORTDOCS%%share/doc/lame/lame.css
-%%PORTDOCS%%share/doc/lame/node5.html
-%%PORTDOCS%%share/doc/lame/node6.html
-%%PORTDOCS%%share/doc/lame/node7.html
-%%PORTDOCS%%share/doc/lame/switchs.html
+bin/mp3rtp
+bin/mp3x
+include/lame/lame.h
+lib/libmp3lame.a
+lib/libmp3lame.so.0
+@exec ln -fs %F %B/libmp3lame.so
+%%PORTDOCS%%share/doc/lame/html/basic.html
+%%PORTDOCS%%share/doc/lame/html/contributors.html
+%%PORTDOCS%%share/doc/lame/html/examples.html
+%%PORTDOCS%%share/doc/lame/html/history.html
+%%PORTDOCS%%share/doc/lame/html/id3.html
+%%PORTDOCS%%share/doc/lame/html/index.html
+%%PORTDOCS%%share/doc/lame/html/lame.css
+%%PORTDOCS%%share/doc/lame/html/modes.html
+%%PORTDOCS%%share/doc/lame/html/node6.html
+%%PORTDOCS%%share/doc/lame/html/switchs.html
+%%PORTDOCS%%@dirrm share/doc/lame/html
 %%PORTDOCS%%@dirrm share/doc/lame
+@dirrm include/lame
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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