summaryrefslogtreecommitdiff
path: root/devel/libdsp/Makefile
blob: 16d0f8f1f307014dcde65fadb1ff032047a6078e (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
41
42
# 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_LIBTOOL=	yes
LIBTOOLFILES=	# none
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

# There's no configure script, but we need libtool to build
do-configure:
	@${DO_NADA}

.include <bsd.port.pre.mk>

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

.include <bsd.port.post.mk>