aboutsummaryrefslogtreecommitdiffstats
path: root/comms/libfec/Makefile
blob: dc6da1c9584f95dd69f66ad6859b2cade1ac9b5e (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
# ports collection makefile for:    fec
# Date created:     7 July 2006
# Whom:         db
#
# $FreeBSD$

PORTNAME=   libfec
PORTVERSION=    3.0
CATEGORIES= comms astro hamradio math
MASTER_SITES=   http://www.ka9q.net/code/fec/
DISTNAME=   fec-${PORTVERSION}

MAINTAINER= db@db.net
COMMENT=    Several forward error correction (FEC) decoders

MAKEFILE=   makefile
MAN3=       simd-viterbi.3 rs.3 dsp.3

USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_LDCONFIG=   yes
ONLY_FOR_ARCHS= i386

post-patch:
    ${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/makefile.in

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
USE_GCC=    3.4+
.endif

.include <bsd.port.post.mk>