From 32cb3f1df749afdd38c89c685defd512815c028a Mon Sep 17 00:00:00 2001 From: Christian Weisgerber Date: Sat, 19 Jan 2002 16:54:57 +0000 Subject: * Update to 1.0.2. Changes in this release include: - various bug fixes - support for encapsulating FLAC streams in an Ogg transport layer * Bump xmms library version number in dependency. Thanks to sf@ for i386 testing. --- audio/flac/Makefile | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to 'audio/flac/Makefile') diff --git a/audio/flac/Makefile b/audio/flac/Makefile index a2b947f5a39e..621a1bc2fac8 100644 --- a/audio/flac/Makefile +++ b/audio/flac/Makefile @@ -1,4 +1,3 @@ -# ex:ts=8 # New ports collection makefile for: flac # Date created: Mar 18, 2001 # Whom: Ying-Chieh Liao @@ -7,7 +6,7 @@ # PORTNAME= flac -PORTVERSION= 1.0 +PORTVERSION= 1.0.2 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,38 +14,43 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= naddy@FreeBSD.org +LIB_DEPENDS= ogg.3:${PORTSDIR}/audio/libogg + .if defined(WITH_XMMS) BUILD_DEPENDS+= xmms-config:${PORTSDIR}/audio/xmms -LIB_DEPENDS+= xmms.2:${PORTSDIR}/audio/xmms +LIB_DEPENDS+= xmms.3:${PORTSDIR}/audio/xmms PLIST_SUB= XMMS="" .else +CONFIGURE_ENV+= XMMS_CONFIG=/usr/bin/false # must be absolute path PLIST_SUB= XMMS="@comment " .endif .if ${MACHINE_ARCH} == "i386" BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm +CONFIGURE_ARGS+= --enable-sse --enable-3dnow .endif -USE_AUTOMAKE_VER=14 -AUTOMAKE_ARGS= --include-deps -USE_LIBTOOL= yes +GNU_CONFIGURE= yes +CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +MAKE_ENV= INCLUDES="-I${WRKSRC}/include" WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} INSTALLS_SHLIB= yes MAN1= flac.1 -post-extract: +pre-build: @${RM} -r ${WRKSRC}/obj post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/flac + cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html ${PREFIX}/share/doc/flac ${MKDIR} ${PREFIX}/share/doc/flac/images - ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/flac -.for file in 1x1.gif cafebug.gif logo.jpg - ${INSTALL_DATA} ${WRKSRC}/doc/images/${file} ${PREFIX}/share/doc/flac/images -.endfor + cd ${WRKSRC}/doc/images; \ + ${INSTALL_DATA} *.gif *.jpg ${PREFIX}/share/doc/flac/images .endif .include -- cgit v1.2.3