openbsd-ports/audio/flac/Makefile

43 lines
920 B
Makefile
Raw Normal View History

2005-03-09 09:41:18 -05:00
# $OpenBSD: Makefile,v 1.23 2005/03/09 14:41:18 naddy Exp $
COMMENT= "free lossless audio codec"
DISTNAME= flac-1.1.2
CATEGORIES= audio archivers
HOMEPAGE= http://flac.sourceforge.net/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# BSD, GPL, GFDL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=flac/}
WANTLIB= c m
2004-08-10 04:04:01 -04:00
MODULES= converters/libiconv
LIB_DEPENDS= ogg.5::audio/libogg
.if ${MACHINE_ARCH} == "i386"
BUILD_DEPENDS+= ::devel/nasm
.endif
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--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
# "obj" is magic to our make(1)
post-configure:
@rm -rf ${WRKSRC}/obj
post-install:
@cd ${PREFIX}/share/doc && mv ${DISTNAME} flac
.include <bsd.port.mk>