42 lines
881 B
Makefile
42 lines
881 B
Makefile
# $OpenBSD: Makefile,v 1.41 2012/05/01 06:04:48 ajacoutot Exp $
|
|
|
|
COMMENT= SGI audiofile library clone
|
|
|
|
V= 0.3.4
|
|
SUBST_VARS= V
|
|
|
|
DISTNAME= audiofile-${V}
|
|
PKGNAME= lib${DISTNAME}
|
|
|
|
SHARED_LIBS += audiofile 1.0 # 1.0
|
|
|
|
CATEGORIES= devel audio
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
HOMEPAGE= http://www.68k.org/~michael/audiofile/
|
|
|
|
# GPLv2/LGPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB += c m stdc++
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
SEPARATE_BUILD= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV= ac_cv_path_ASCIIDOC=no
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
|
|
|
# audiofile-config is still needed by audio/normalize and devel/libspectrum
|
|
post-install:
|
|
${SUBST_CMD} -o ${BINOWN} -g ${BINGRP} -c ${FILESDIR}/audiofile-config \
|
|
${PREFIX}/bin/audiofile-config
|
|
chmod ${BINMODE} ${PREFIX}/bin/audiofile-config
|
|
|
|
.include <bsd.port.mk>
|