ports/84153: New port: audio/moc - A featureful console music player

Integral rzinkov at gmail.com
Wed Jul 27 01:40:15 UTC 2005


>Number:         84153
>Category:       ports
>Synopsis:       New port: audio/moc - A featureful console music player
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 27 01:40:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Captain Fourier &
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD sewage.loco 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sat
Jun 18 00:36:44 EDT 2005
fourier at sewage.loco:/usr/src/sys/i386/compile/SEWAGE_KERNEL i386



>Description:
        MOC (music on console) is a console audio player for
LINUX/UNIX designed to be
        powerful and easy to use.

        You just need to select a file from some directory using the
menu similar to
        Midnight Commander, and MOC will start playing all files in
this directory
        beginning from the chosen file. There is no need to create
playlists like in
        other players.
>How-To-Repeat:
>Fix:

--- moc2 begins here ---
# 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:
#
#       moc
#       moc/Makefile
#       moc/distinfo
#       moc/pkg-plist
#       moc/pkg-descr
#
echo c - moc
mkdir -p moc > /dev/null 2>&1
echo x - moc/Makefile
sed 's/^X//' >moc/Makefile << 'END-of-moc/Makefile'
X# New ports collection makefile for:   moc
X# Date created:                24 July 2005
X# Whom:                        Revis Zinkov <rzinkov at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=3D      moc
XPORTVERSION=3D   2.3.0
XCATEGORIES=3D    audio
XMASTER_SITES=3D  ftp://ftp.daper.net/pub/soft/moc/stable/
X
XMAINTAINER=3D    rzinkov at gmail.com
XCOMMENT=3D       Is a console audio player designed to be powerful and
easy to use
X
XUSE_GETOPT_LONG=3D       yes
XUSE_GMAKE=3D     yes
XUSE_BZIP2=3D     yes
XGNU_CONFIGURE=3D yes
XCONFIGURE_ENV=3D CPPFLAGS=3D"${CPPFLAGS}" LDFLAGS=3D"${LDFLAGS}"
XCONFIGURE_ARGS=3D        --with-cxxflags=3D"${CXXFLAGS}"
X
XMAN8=3D          mocp.8
X
XCPPFLAGS=3D      -I${LOCALBASE}/include
XLDFLAGS=3D       -L${LOCALBASE}/lib
X
XOPTIONS=3D       MP3 "MP3 support" on \
X               SNDFILE "libsndfile support" off \
X               VORBIS "ogg Vorbis support" on \
X               FLAC "flac support" off \
X               CURL "libcurl support" on \
X               MUSE "musepack support" off
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 400010
XLIB_DEPENDS+=3D  ncurses.5:${PORTSDIR}/devel/ncurses
X.endif
X
X.if !defined(WITHOUT_MP3)
XLIB_DEPENDS+=3D  mad.2:${PORTSDIR}/audio/mad
X.else
XCONFIGURE_ARGS+=3D       --without-mp3
X.endif
X
X.if !defined(WITHOUT_SNDFILE)
XLIB_DEPENDS+=3D   sndfile.1:${PORTSDIR}/audio/libsndfile
X.else
XCONFIGURE_ARGS+=3D        --without-sndfile
X.endif
X
X.if defined(WITHOUT_VORBIS)
XCONFIGURE_ARGS+=3D       --without-ogg
X.else
XLIB_DEPENDS+=3D  vorbis.3:${PORTSDIR}/audio/libvorbis
X.endif
X
X.if defined(WITH_FLAC)
XLIB_DEPENDS+=3D   FLAC:${PORTSDIR}/audio/flac
X.else
XCONFIGURE_ARGS+=3D        --without-flac
X.endif
X
X.if !defined(WITHOUT_CURL)
XLIB_DEPENDS+=3D   curl.3:${PORTSDIR}/ftp/curl
X.else
XCONFIGURE_ARGS+=3D        --without-curl
X.endif
X
X.if defined(WITH_MUSE)
XLIB_DEPENDS+=3D   musepack:${PORTSDIR}/audio/musepack
X.else
XCONFIGURE_ARGS+=3D        --without-musepack
X.endif
X
Xpost-extract:
X       @${FIND} ${WRKSRC} -name "getopt*" -delete
X
X.include <bsd.port.post.mk>
END-of-moc/Makefile
echo x - moc/distinfo
sed 's/^X//' >moc/distinfo << 'END-of-moc/distinfo'
XMD5 (moc-2.3.0.tar.bz2) =3D 3d5d152c28f6e40162058fc1566c8109
XSIZE (moc-2.3.0.tar.bz2) =3D 402954
END-of-moc/distinfo
echo x - moc/pkg-plist
sed 's/^X//' >moc/pkg-plist << 'END-of-moc/pkg-plist'
Xbin/mocp
Xlib/moc/decoder_plugins/libmp3_decoder.la
Xlib/moc/decoder_plugins/libmp3_decoder.so
Xlib/moc/decoder_plugins/libogg_decoder.la
Xlib/moc/decoder_plugins/libogg_decoder.so
Xlib/moc/decoder_plugins/libsndfile_formats_decoder.la
Xlib/moc/decoder_plugins/libsndfile_formats_decoder.so
Xshare/doc/moc/README
Xshare/doc/moc/THANKS
Xshare/doc/moc/config.example
Xshare/doc/moc/keymap.example
Xshare/moc/themes/black_theme
Xshare/moc/themes/example_theme
Xshare/moc/themes/green_theme
Xshare/moc/themes/nightly_theme
Xshare/moc/themes/transparent-background
Xshare/moc/themes/yellow_red_theme
X at dirrm share/nls/en_US.US-ASCII
X at dirrm share/nls/POSIX
X at dirrm share/moc/themes
X at dirrm share/moc
X at dirrm share/doc/moc
X at dirrm lib/moc/decoder_plugins
X at dirrm lib/moc
END-of-moc/pkg-plist
echo x - moc/pkg-descr
sed 's/^X//' >moc/pkg-descr << 'END-of-moc/pkg-descr'
XMOC (music on console) is a console audio player for LINUX/UNIX designed t=
o be
Xpowerful and easy to use.
X
XMOC plays smoothly, regardless of system or I/O load because it uses the o=
utput
Xbuffer in a separate thread. It doesn't cause gaps between files, because =
the
Xnext file to be played is precached while playing the current file.
X
XSupported file formats are: mp3, Ogg Vorbis, FLAC, Musepack (mpc), Speex, =
WAVE,
XAIFF, AU, SVX, Sphere Nist WAV, IRCAM SF, Creative VOC.
X
XWWW: http://moc.daper.net/
END-of-moc/pkg-descr
exit
--- moc2 ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list