aboutsummaryrefslogtreecommitdiffstats
path: root/audio/autools/Makefile
blob: 460b4c136bd5e4139e039e4a1e5e1c9ace91cfc9 (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
# Ports collection makefile for:    autools
# Date created:         Jul 4, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   autools
PORTVERSION=    1.2.4
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>