ports/109122: [NEW PORT] Add port of audio/bmp-musepack

Zhen REN bg1tpt at gmail.com
Tue Feb 13 07:30:07 UTC 2007


>Number:         109122
>Category:       ports
>Synopsis:       [NEW PORT] Add port of audio/bmp-musepack
>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:   Tue Feb 13 07:30:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Zhen REN
>Release:        7.0-CURRENT
>Organization:
SINA
>Environment:
FreeBSD tango 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Tue Feb 6 17:40:25 CST 2007 root at tango:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Add a new port of audio/bmp-musepack

The shared library(libbmp-mpc.so) is not expected to be used in any program other than the multimedia/beep-media-player which will find it by itself. So, there is no USE_LDCONFIG in the Makefile.
>How-To-Repeat:
N/A
>Fix:
see the attachment

Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/audio/bmp-musepack
#	/usr/ports/audio/bmp-musepack/pkg-descr
#	/usr/ports/audio/bmp-musepack/distinfo
#	/usr/ports/audio/bmp-musepack/Makefile
#	/usr/ports/audio/bmp-musepack/pkg-plist
#
echo c - /usr/ports/audio/bmp-musepack
mkdir -p /usr/ports/audio/bmp-musepack > /dev/null 2>&1
echo x - /usr/ports/audio/bmp-musepack/pkg-descr
sed 's/^X//' >/usr/ports/audio/bmp-musepack/pkg-descr << 'END-of-/usr/ports/audio/bmp-musepack/pkg-descr'
XThis plugin is needed to play MPC files with Beep Media Player.
X
XWWW: http://www.musepack.net/index.php?pg=lin
END-of-/usr/ports/audio/bmp-musepack/pkg-descr
echo x - /usr/ports/audio/bmp-musepack/distinfo
sed 's/^X//' >/usr/ports/audio/bmp-musepack/distinfo << 'END-of-/usr/ports/audio/bmp-musepack/distinfo'
XMD5 (bmp-musepack-1.2.tar.bz2) = 5fe0c9d341ca37d05c780a478f829a5f
XSHA256 (bmp-musepack-1.2.tar.bz2) = a58395ef681a201695a53532257821fcf41186cdb2b45c1531efee474b472740
XSIZE (bmp-musepack-1.2.tar.bz2) = 217862
END-of-/usr/ports/audio/bmp-musepack/distinfo
echo x - /usr/ports/audio/bmp-musepack/Makefile
sed 's/^X//' >/usr/ports/audio/bmp-musepack/Makefile << 'END-of-/usr/ports/audio/bmp-musepack/Makefile'
X# New ports collection makefile for:	bmp-musepack
X# Date Created:		12 February 2007
X# Whom:			Zhen REN <bg1tpt at gmail.com>
X#
X# $FreeBSD$
X
XPORTNAME=	musepack
XPORTVERSION=	1.2
XCATEGORIES=	audio
XMASTER_SITES=	http://files.musepack.net/linux/plugins/
XPKGNAMEPREFIX=	bmp-
XDISTNAME=	${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=	bg1tpt at gmail.com
XCOMMENT=	Musepack decoder for beep-media-player
X
XLIB_DEPENDS=	beep.2:${PORTSDIR}/multimedia/beep-media-player \
X		mpcdec:${PORTSDIR}/audio/libmpcdec \
X		tag:${PORTSDIR}/audio/taglib
X
XUSE_X_PREFIX=	yes
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XCPPFLAGS+=	"-I${LOCALBASE}/include"
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}"
XUSE_AUTOTOOLS=	autoconf:259 libtool:15
XPLUGDIR=	lib/bmp/Input
XPLUGFILE=	libbmp-mpc.so
X
Xdo-install:
X	${MKDIR} ${PREFIX}/${PLUGDIR}
X	${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/libmpc.so ${PREFIX}/${PLUGDIR}/${PLUGFILE}
X
X.include <bsd.port.mk>
END-of-/usr/ports/audio/bmp-musepack/Makefile
echo x - /usr/ports/audio/bmp-musepack/pkg-plist
sed 's/^X//' >/usr/ports/audio/bmp-musepack/pkg-plist << 'END-of-/usr/ports/audio/bmp-musepack/pkg-plist'
Xlib/bmp/Input/libbmp-mpc.so
X at dirrmtry lib/bmp/Input
END-of-/usr/ports/audio/bmp-musepack/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list