diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-06-29 16:00:29 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-06-29 16:00:29 +0000 |
commit | 87f7e53b8caa46058994c67efe20589f9928e151 (patch) | |
tree | 028bee582b625c95588177273d1d7de0c391c6b9 /math/simd-viterbi/Makefile | |
parent | da9f7f90147dda802f02bee04b1b0b7da2fd93a9 (diff) |
Notes
Diffstat (limited to 'math/simd-viterbi/Makefile')
-rw-r--r-- | math/simd-viterbi/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/math/simd-viterbi/Makefile b/math/simd-viterbi/Makefile new file mode 100644 index 000000000000..03fde9765ec8 --- /dev/null +++ b/math/simd-viterbi/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: simd-viterbi +# Date created: 29 Jun 2005 +# Whom: Thomas Sandford <freebsduser@paradisegreen.co.uk> +# +# $FreeBSD$ +# + +PORTNAME= simd-viterbi +PORTVERSION= 2.0.3 +CATEGORIES= math +MASTER_SITES= http://www.ka9q.net/code/fec/ + +MAINTAINER= freebsduser@paradisegreen.co.uk +COMMENT= A fast Viterbi CODEC library + +USE_REINPLACE= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes +INSTALLS_SHLIB= yes +MAKEFILE= makefile + +MAN3= simd-viterbi.3 + +PLIST_FILES= include/parity.h include/viterbi27.h include/viterbi29.h \ + lib/libviterbi.a lib/libviterbi.so lib/libviterbi.so.2.0.1 +PLIST= ${WRKDIR}/pkg-plist + +.include <bsd.port.pre.mk> + +.if ${ARCH} != i386 || defined(PACKAGE_BUILDING) +CONFIGURE_ARGS+= --enable-port +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/makefile.in + +pre-install: +.for simd in sse2 sse mmx port + @if [ -f ${WRKSRC}/libviterbi_${simd}.a ]; then \ + ${ECHO_CMD} 'lib/libviterbi_${simd}.a' >> ${PLIST}; \ + fi +.endfor + +.include <bsd.port.post.mk> |