aboutsummaryrefslogtreecommitdiffstats
path: root/audio/autools/Makefile
blob: 43b2d3aac2a2645c874d78d61e847ab368e74b93 (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
36
# ex:ts=8
# Ports collection makefile for:    autools
# Date created:         Jul 4, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   autools
PORTVERSION=    1.2.4
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   http://www.tnt.uni-hannover.de/~purnhage/software/
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    A collection of programs to manipulate audio files

BUILD_DEPENDS=  ${LOCALBASE}/lib/libtsp.a:${PORTSDIR}/audio/afsp

USE_REINPLACE=  yes
USE_GMAKE=  yes
MAKE_ENV=   AFSP_INCLUDE_PATH="${LOCALBASE}/include" \
        AFSP_LIBRARY_PATH="${LOCALBASE}/lib"

post-patch:
    @${REINPLACE_CMD} -e 's|^CFLAGS = -O3|CFLAGS +=|g ; \
        s|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>