aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libdsp/Makefile
blob: 92a4f9ad2c153ec2956aaa18734f09f2f9ec7316 (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
37
38
39
40
# ex:ts=8
# New ports collection makefile for:    libdsp
# Date created:     Jan 16, 2001
# Whom:         Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   libdsp
PORTVERSION=    4.6.0
PORTREVISION=   1
CATEGORIES= devel audio
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ${PORTNAME}-src-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    C++ class library of common digital signal processing functions

WRKSRC=     ${WRKDIR}/libdsp-src/${PORTNAME:S/dsp/DSP/}-${PORTVERSION}

USE_AUTOTOOLS=  libtool:15:env
USE_GMAKE=  yes
MAKE_ENV=   CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" MKDIR="${MKDIR}" \
        INLINE_VER="${INLINE_VER}"
MAKEFILE=   Makefile.FreeBSD
INSTALLS_SHLIB= yes

INLINE_VER= 1.2.5

do-configure:
    @${DO_NADA}

.include <bsd.port.pre.mk>

.if ${ARCH} == "i386"
CFLAGS+=    -DDSP_X86
.endif

.include <bsd.port.post.mk>