2007-03-28 14:06:16 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.30 2007/03/28 18:06:16 naddy Exp $
|
2001-03-28 07:27:20 -05:00
|
|
|
|
|
|
|
COMMENT= "free lossless audio codec"
|
|
|
|
|
2005-03-08 19:15:13 -05:00
|
|
|
DISTNAME= flac-1.1.2
|
2006-01-13 14:12:15 -05:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2001-03-28 07:27:20 -05:00
|
|
|
CATEGORIES= audio archivers
|
|
|
|
HOMEPAGE= http://flac.sourceforge.net/
|
2006-10-28 06:30:41 -04:00
|
|
|
SHARED_LIBS += FLAC 7.0 # .7.0
|
|
|
|
SHARED_LIBS += FLAC++ 6.0 # .5.0
|
|
|
|
SHARED_LIBS += OggFLAC 3.0 # .3.0
|
|
|
|
SHARED_LIBS += OggFLAC++ 3.0 # .2.0
|
2005-12-29 07:32:23 -05:00
|
|
|
|
2001-03-28 07:27:20 -05:00
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
|
|
|
|
2005-03-08 19:15:13 -05:00
|
|
|
# BSD, GPL, GFDL
|
2001-03-28 07:27:20 -05:00
|
|
|
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/}
|
2001-03-28 07:27:20 -05:00
|
|
|
|
2005-03-08 19:15:13 -05:00
|
|
|
WANTLIB= c m
|
|
|
|
|
2004-08-10 04:04:01 -04:00
|
|
|
MODULES= converters/libiconv
|
2006-08-01 07:17:55 -04:00
|
|
|
LIB_DEPENDS= ogg.>=5::audio/libogg
|
2001-10-09 11:05:20 -04:00
|
|
|
|
2001-06-07 16:17:49 -04:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
2001-11-10 10:00:47 -05:00
|
|
|
BUILD_DEPENDS+= ::devel/nasm
|
2001-06-07 16:17:49 -04:00
|
|
|
.endif
|
|
|
|
|
2005-10-18 19:24:25 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2005-03-08 19:15:13 -05:00
|
|
|
CONFIGURE_STYLE=gnu
|
2002-02-01 10:18:01 -05:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
2002-10-31 16:15:08 -05:00
|
|
|
--with-libiconv-prefix="${LOCALBASE}" \
|
|
|
|
--with-ogg="${LOCALBASE}"
|
2005-03-09 09:41:18 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${WRKSRC}/include" \
|
|
|
|
ac_cv_path_XMMS_CONFIG=no
|
2007-03-28 14:06:16 -04:00
|
|
|
MAKE_ENV= MAKEOBJDIR=/nonexistent # ignore ${WRKSRC}/obj
|
2002-10-31 16:15:08 -05:00
|
|
|
|
2001-03-28 07:27:20 -05:00
|
|
|
post-install:
|
2002-07-07 15:09:28 -04:00
|
|
|
@cd ${PREFIX}/share/doc && mv ${DISTNAME} flac
|
2001-03-28 07:27:20 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|