summaryrefslogtreecommitdiff
path: root/devel/ldpc/Makefile
blob: 72c7177fc9660b35202dad87fec74785b235c5c8 (plain)
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
35
36
37
# $NetBSD: Makefile,v 1.4 2019/11/03 10:39:15 rillig Exp $

DISTNAME=	LDPC-2006-02-08
PKGNAME=	ldpc-20060208
CATEGORIES=	devel
PKGREVISION=	1
MASTER_SITES=	http://www.cs.utoronto.ca/~radford/ftp/LDPC-2006-02-08/

MAINTAINER=	agc@NetBSD.org
HOMEPAGE=	http://www.cs.utoronto.ca/~radford/ftp/LDPC-2006-02-08/index.html
COMMENT=	Low Density Parity Check Codes
LICENSE=	ldpc-license

BUILD_TARGET=		progs

AUTO_MKDIRS=		yes

LDPCPROGS=	make-pchk alist-to-pchk pchk-to-alist make-ldpc print-pchk make-gen
LDPCPROGS+=	print-gen rand-src encode transmit decode extract verify

LDPCDOCS=	channel.html decode-detail.html decoding.html dep-H.html
LDPCDOCS+=	encoding.html examples.html index.html install.html mod2convert.html
LDPCDOCS+=	mod2dense.html mod2sparse.html modify.html modules.html pchk.html
LDPCDOCS+=	progs.html rand.html refs.html release.html sparse-LU.html
LDPCDOCS+=	support.html

LDPCRANDFILE=	randfile

do-install:
	for p in ${LDPCPROGS}; do					\
		${INSTALL_PROGRAM} ${WRKSRC}/$$p ${DESTDIR}${PREFIX}/bin; \
	done
	for d in ${LDPCDOCS} ${LDPCRANDFILE}; do			\
		${INSTALL_DATA} ${WRKSRC}/$$d ${DESTDIR}${PREFIX}/share/ldpc; \
	done

.include "../../mk/bsd.pkg.mk"