summaryrefslogtreecommitdiff
path: root/devel/ldpc/Makefile
blob: 460cb494cd1ff89184d009509202f9a7f31bcba4 (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
38
39
# $NetBSD: Makefile,v 1.2 2011/02/10 16:15:36 agc 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

PKG_DESTDIR_SUPPORT=	user-destdir

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"