1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/comms/libfec/Makefile
Jimmy Olgeni 4d865aab45 Add support for amd64.
PR:		ports/163305
Submitted by:	Howard Goldstein <hg@queue.to>
2011-12-19 15:55:42 +00:00

38 lines
756 B
Makefile

# ports collection makefile for: fec
# Date created: 7 July 2006
# Whom: db
#
# $FreeBSD$
PORTNAME= libfec
PORTVERSION= 3.0.1
CATEGORIES= comms astro hamradio math
MASTER_SITES= http://www.ka9q.net/code/fec/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= db
DISTNAME= fec-${PORTVERSION}
MAINTAINER= olgeni@FreeBSD.org
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 amd64
PLIST_FILES= include/fec.h lib/libfec.so lib/libfec.a
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
CFLAGS+= -fPIC
.endif
post-patch:
@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/makefile.in
.include <bsd.port.post.mk>