pkgsrc/audio/mserv/Makefile
martin ecf7860eb4 Extend id3v2 handling by adding (very simplistic) handling for unicode
tags, and also make it deal with gaps after the header or junk before the
actual start of mp3 data.
This makes it able to properly extract info from all mp3 files I have.
2009-09-26 21:16:57 +00:00

46 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.34 2009/09/26 21:16:57 martin Exp $
#
DISTNAME= mserv-0.35
PKGREVISION= 13
CATEGORIES= audio
MASTER_SITES= http://www.mserv.org/download/
MAINTAINER= martin@NetBSD.org
HOMEPAGE= http://www.mserv.org/
COMMENT= Local centralised music server environment
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/mserv
CONFIGURE_ENV+= COPTS="-g"
CONFIGURE_ENV+= MY_LIBS="-lvorbisfile -lvorbis"
USE_LIBTOOL= yes
USE_TOOLS+= perl:run
REPLACE_PERL= support/mservedit webclient/main.cgi \
webclient/margin.cgi webclient/mserv.cgi
LDFLAGS.SunOS+= -lnsl -lsocket
post-configure:
${MV} ${WRKSRC}/mserv/soundcard.h ${WRKSRC}/mserv/mservsoundcard.h
PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS+= share/doc/mserv share/mserv/webclient
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/support/mservedit ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} \
${WRKSRC}/INSTALL \
${WRKSRC}/LICENSE \
${DESTDIR}${PREFIX}/share/doc/mserv
${INSTALL_DATA} \
${WRKSRC}/webclient/* \
${DESTDIR}${PREFIX}/share/mserv/webclient
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"