mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
999fe9b96c
VDMFEC implements Block ECC using a Forward Error Correction (FEC) code based on Vandermonde (VDM) matrices in GF(2^8) due to Luigi Rizzo. Its primary application is intended to be in recovering data from unreliable media such as diskettes. Another example is wrapping 'zfs send' streams before dumping onto tape. The home page for FEC is http://www.iet.unipi.it/~luigi/fec.html WWW: http://members.tripod.com/professor_tom/archives/ PR: 197950 Submitted by: Harald Schmalzbauer <bugzilla.freebsd@omnilan.de>
37 lines
940 B
Makefile
37 lines
940 B
Makefile
# Created by: Harald Schmalzbauer <freebsd@omnilan.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= vdmfec
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= misc archivers
|
|
MASTER_SITES= http://members.tripod.com/professor_tom/archives/
|
|
|
|
MAINTAINER= freebsd@omnilan.de
|
|
COMMENT= ECC wrapper using Vandermonde matrices based FEC
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= tar:tgz
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
|
|
|
PORTDOCS= *
|
|
|
|
PLIST_FILES= bin/vdm_decode \
|
|
bin/vdm_encode \
|
|
bin/vdmfec \
|
|
man/man1/vdmfec.1.gz
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/README.fec ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vdmfec ${STAGEDIR}/${PREFIX}/bin
|
|
${LN} ${STAGEDIR}/${PREFIX}/bin/vdmfec ${STAGEDIR}/${PREFIX}/bin/vdm_encode
|
|
${LN} ${STAGEDIR}/${PREFIX}/bin/vdmfec ${STAGEDIR}/${PREFIX}/bin/vdm_decode
|
|
${INSTALL_MAN} ${WRKSRC}/vdmfec.1 ${STAGEDIR}/${PREFIX}/man/man1/
|
|
|
|
.include <bsd.port.mk>
|