37 lines
793 B
Makefile
37 lines
793 B
Makefile
# $OpenBSD: Makefile,v 1.12 2013/03/10 22:55:06 espie Exp $
|
|
|
|
COMMENT = audio codec for lossless, lossy and hybrid compression
|
|
|
|
DISTNAME = wavpack-4.60.1
|
|
REVISION = 0
|
|
CATEGORIES = audio
|
|
|
|
HOMEPAGE = http://www.wavpack.com/
|
|
|
|
SHARED_LIBS += wavpack 0.1 # .2.4
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB = c m
|
|
|
|
MASTER_SITES = ${HOMEPAGE}
|
|
EXTRACT_SUFX = .tar.bz2
|
|
|
|
MODULES = converters/libiconv
|
|
|
|
SEPARATE_BUILD= Yes
|
|
USE_LIBTOOL = Yes
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS = ${CONFIGURE_SHARED} \
|
|
--with-libiconv-prefix="${LOCALBASE}"
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
USE_GROFF = Yes
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/wavpack
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/wavpack
|
|
|
|
.include <bsd.port.mk>
|