2001-07-20 04:45:18 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: libsndfile
|
|
|
|
# Date created: Jul 20, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libsndfile
|
2001-11-23 18:32:50 +01:00
|
|
|
PORTVERSION= 0.0.27
|
2001-07-20 04:45:18 +02:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= http://www.zip.com.au/~erikd/libsndfile/
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
|
2001-08-25 01:16:41 +02:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ARGS= --enable-justsrc --disable-gcc-pipe
|
2001-07-20 04:45:18 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2001-08-25 01:16:41 +02:00
|
|
|
PORTDOCS= ChangeLog NEWS api.html bugs.html index.html libsndfile.jpg \
|
2001-11-23 18:32:50 +01:00
|
|
|
new_file_type.HOWTO sndfile_info.html
|
2001-08-25 01:16:41 +02:00
|
|
|
|
|
|
|
pre-patch:
|
2001-10-06 16:50:33 +02:00
|
|
|
@${PERL} -pi -e 's|-g -O2 ||g' ${WRKSRC}/configure
|
2001-08-25 01:16:41 +02:00
|
|
|
|
2001-07-20 04:45:18 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2001-08-25 01:16:41 +02:00
|
|
|
.for file in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
|
|
|
|
.endfor
|
2001-07-20 04:45:18 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|