aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libsndfile/Makefile
blob: 081b633d8058120cc49b84a5c45fe29c15c6ebda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# ex:ts=8
# New ports collection makefile for:    libsndfile
# Date created:         Jul 20, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   libsndfile
PORTVERSION=    1.0.7
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 lthack pkgconfig
USE_LIBTOOL=    yes
CONFIGURE_ARGS= --enable-justsrc --disable-gcc-pipe
INSTALLS_SHLIB= yes

MAN1=       sndfile-convert.1 sndfile-info.1 sndfile-play.1

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*" -cf - . | \
        ${TAR} -C ${DOCSDIR} --unlink -xf -
    @${CHOWN} ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
.endif

.include <bsd.port.mk>