2002-11-02 21:14:54 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2002/11/03 02:14:54 naddy Exp $
|
2002-02-01 10:44:31 -05:00
|
|
|
|
|
|
|
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
|
|
|
|
|
|
|
COMMENT= "XMMS input plugin for playing FLAC files"
|
|
|
|
|
2002-11-02 21:14:54 -05:00
|
|
|
VERSION= 1.0.4
|
2002-02-01 10:44:31 -05:00
|
|
|
PKGNAME= xmms-flac-${VERSION}
|
2002-07-07 15:09:28 -04:00
|
|
|
DISTNAME= flac-${VERSION}
|
2002-02-01 10:44:31 -05:00
|
|
|
CATEGORIES= audio
|
|
|
|
HOMEPAGE= http://flac.sourceforge.net/
|
|
|
|
|
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2002-07-07 15:09:28 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=flac/}
|
2002-02-01 10:44:31 -05:00
|
|
|
|
2002-07-07 15:09:28 -04:00
|
|
|
LIB_DEPENDS= xmms.3::audio/xmms \
|
2002-11-02 21:14:54 -05:00
|
|
|
FLAC.4::audio/flac
|
2002-02-01 10:44:31 -05:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIST}/src/plugin_xmms
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKDIST}
|
|
|
|
|
2002-11-02 21:14:54 -05:00
|
|
|
CONFIGURE_STYLE= gnu automake
|
|
|
|
CONFIGURE_ARGS= --without-id3lib
|
|
|
|
|
|
|
|
# libtool doesn't handle linking a module against a convenience library
|
|
|
|
|
|
|
|
PLUGIN_COMMON_FILES= all.h canonical_tag.c canonical_tag.h \
|
|
|
|
charset.c:charset_common.c charset.h:charset_common.h \
|
|
|
|
dither.c dither.h id3v1.c id3v1.h id3v2.c id3v2.h \
|
|
|
|
locale_hack.h vorbiscomment.c vorbiscomment.h
|
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
.for file in ${PLUGIN_COMMON_FILES}
|
|
|
|
@cp ${WRKDIST}/src/plugin_common/${file:C/:.*//} \
|
|
|
|
${WRKSRC}/${file:C/.*://}
|
|
|
|
.endfor
|
|
|
|
|
2002-02-01 10:44:31 -05:00
|
|
|
post-patch:
|
2002-11-02 21:14:54 -05:00
|
|
|
@cd ${WRKDIST}; automake -v -i src/plugin_xmms/Makefile
|
2002-02-01 10:44:31 -05:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@echo '#!/bin/sh' >${WRKSRC}/configure
|
|
|
|
@echo 'cd ../..; exec ./configure "$$@"' >>${WRKSRC}/configure
|
|
|
|
@chmod a+x ${WRKSRC}/configure
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|