mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
c0de790bc8
Approved by: adamw (mentor)
40 lines
993 B
Makefile
40 lines
993 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: libsndfile
|
|
# Date created: Jul 20, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libsndfile
|
|
PORTVERSION= 1.0.11
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://www.mega-nerd.com/libsndfile/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Reading and writing files containing sampled sound (like WAV or AIFF)
|
|
|
|
USE_GNOME= gnomehack gnometarget pkgconfig
|
|
USE_LIBTOOL_VER=15
|
|
USE_REINPLACE= yes
|
|
CONFIGURE_ARGS= --enable-justsrc --disable-gcc-pipe
|
|
INSTALLS_SHLIB= yes
|
|
|
|
MAN1= sndfile-convert.1 sndfile-info.1 sndfile-play.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/ doc / /g' ${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in AUTHORS ChangeLog NEWS README TODO
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
${TAR} -C ${WRKSRC}/doc --exclude "*Makefile*" --exclude "*.in" \
|
|
-cf - . | ${TAR} -C ${DOCSDIR} --unlink -xf -
|
|
@${CHOWN} ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|