freebsd-ports/comms/libfec/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

46 lines
1.1 KiB
Makefile

# Created by: db
# $FreeBSD$
PORTNAME= libfec
PORTVERSION= 3.0.1
PORTREVISION= 4
CATEGORIES= comms astro hamradio math
MASTER_SITES= http://www.ka9q.net/code/fec/ \
LOCAL/db
DISTNAME= fec-${PORTVERSION}
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Several forward error correction (FEC) decoders
LICENSE= LGPL21
MAKEFILE= makefile
GNU_CONFIGURE= yes
USES= autoreconf compiler:c11 gmake tar:bzip2
USE_LDCONFIG= yes
PLIST_FILES= include/fec.h \
lib/libfec.so \
lib/libfec.a \
man/man3/dsp.3.gz \
man/man3/rs.3.gz \
man/man3/simd-viterbi.3.gz
# makefile tries to create libfec.so from object files compiled without -fPIC.
CFLAGS+= -fPIC
post-patch:
@${CP} ${FILESDIR}/cpu_mode.c ${WRKSRC}
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/include
@${MKDIR} ${STAGEDIR}${PREFIX}/lib
@${MKDIR} ${STAGEDIR}${MAN3PREFIX}/man/man3
${INSTALL_DATA} ${WRKSRC}/fec.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/libfec.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_LIB} ${WRKSRC}/libfec.so ${STAGEDIR}${PREFIX}/lib
.for _man in dsp.3 simd-viterbi.3 rs.3
${INSTALL_MAN} ${WRKSRC}/${_man} ${STAGEDIR}${MAN3PREFIX}/man/man3
.endfor
.include <bsd.port.mk>