mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
fcbdbe0574
PR: 51716 Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: libsndfile
|
|
# Date created: Jul 20, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libsndfile
|
|
PORTVERSION= 1.0.5
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://www.zip.com.au/~erikd/libsndfile/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Reading and writing files containing sampled sound (like WAV or AIFF)
|
|
|
|
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
|
|
RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
|
|
|
|
USE_REINPLACE= yes
|
|
USE_LIBTOOL= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ARGS= --enable-justsrc --disable-gcc-pipe
|
|
INSTALLS_SHLIB= yes
|
|
|
|
MAN1= sndfile-convert.1 sndfile-info.1 sndfile-play.1
|
|
|
|
PORTDOCS= ChangeLog NEWS api.html bugs.html index.html libsndfile.jpg \
|
|
new_file_type.HOWTO sndfile_info.html
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|libdir[)]/pkgconfig|prefix)/libdata/pkgconfig|g' \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|