2907d55c8c
- Circumvents libtool build problem. - Removes xmms dependency from audio/flac.
43 lines
968 B
Makefile
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>
|