openbsd-ports/audio/xmms-flac/Makefile
naddy 2907d55c8c Create separate port for XMMS FLAC input plugin.
- Circumvents libtool build problem.
- Removes xmms dependency from audio/flac.
2002-02-01 15:44:31 +00:00

43 lines
968 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2002/02/01 15:44:31 naddy Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
COMMENT= "XMMS input plugin for playing FLAC files"
VERSION= 1.0.2
PKGNAME= xmms-flac-${VERSION}
DISTNAME= flac-${VERSION}-src
CATEGORIES= audio
NEED_VERSION= 1.504
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
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= flac
LIB_DEPENDS= xmms.2::audio/xmms \
FLAC.2::audio/flac
BUILD_DEPENDS= ::devel/automake
WRKDIST= ${WRKDIR}/flac-${VERSION}
WRKSRC= ${WRKDIST}/src/plugin_xmms
CONFIGURE_STYLE= gnu
MODGNU_CONFIG_GUESS_DIRS= ${WRKDIST}
post-patch:
cd ${WRKDIST}; automake -i
pre-configure:
@echo '#!/bin/sh' >${WRKSRC}/configure
@echo 'cd ../..; exec ./configure "$$@"' >>${WRKSRC}/configure
@chmod a+x ${WRKSRC}/configure
.include <bsd.port.mk>