2012-05-01 02:04:48 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.41 2012/05/01 06:04:48 ajacoutot Exp $
|
2001-04-17 21:49:50 -04:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= SGI audiofile library clone
|
1999-03-14 10:36:20 -05:00
|
|
|
|
2012-05-01 02:04:48 -04:00
|
|
|
V= 0.3.4
|
2012-01-16 06:01:47 -05:00
|
|
|
SUBST_VARS= V
|
2012-05-01 02:04:48 -04:00
|
|
|
|
2012-01-16 06:01:47 -05:00
|
|
|
DISTNAME= audiofile-${V}
|
2010-11-15 14:45:56 -05:00
|
|
|
PKGNAME= lib${DISTNAME}
|
2012-05-01 02:04:48 -04:00
|
|
|
|
|
|
|
SHARED_LIBS += audiofile 1.0 # 1.0
|
|
|
|
|
2002-03-13 11:37:50 -05:00
|
|
|
CATEGORIES= devel audio
|
2012-05-01 02:04:48 -04:00
|
|
|
|
2012-01-16 06:01:47 -05:00
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
1999-03-14 10:36:20 -05:00
|
|
|
|
2004-02-21 19:23:55 -05:00
|
|
|
HOMEPAGE= http://www.68k.org/~michael/audiofile/
|
1999-03-14 10:36:20 -05:00
|
|
|
|
2009-01-12 11:15:03 -05:00
|
|
|
# GPLv2/LGPLv2
|
2000-03-12 00:20:44 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2012-01-16 06:01:47 -05:00
|
|
|
|
|
|
|
WANTLIB += c m stdc++
|
2000-03-12 00:20:44 -05:00
|
|
|
|
2006-01-02 13:15:52 -05:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
|
2012-03-29 09:38:12 -04:00
|
|
|
SEPARATE_BUILD= Yes
|
1999-03-14 10:36:20 -05:00
|
|
|
|
2012-01-16 06:01:47 -05:00
|
|
|
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
|
2002-03-10 16:01:44 -05:00
|
|
|
|
1999-03-14 10:36:20 -05:00
|
|
|
.include <bsd.port.mk>
|