summaryrefslogtreecommitdiff
path: root/biology/lucy/Makefile
blob: 44f353efc46805b07a5b25738c5b262045f9a463 (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
# $NetBSD: Makefile,v 1.12 2020/05/20 06:09:06 rillig Exp $
#

DISTNAME=		${PKGNAME:S/-//}
PKGNAME=		lucy-1.20
CATEGORIES=		biology
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=lucy/}

MAINTAINER=		dprice@cs.nmsu.edu
HOMEPAGE=		http://lucy.sourceforge.net/
COMMENT=		Sequence Cleanup Program
#LICENSE=		LICENSE file say "artistic", but bit differ.

WRKSRC=			${WRKDIR}/${PKGNAME_NOREV}p

AUTO_MKDIRS=		yes
PTHREAD_AUTO_VARS=	yes

# abi.c: In function 'abi_align':
# abi.c:195:16: error: array subscript has type 'char' [-Werror=char-subscripts]
#      if (badness[a[i]][b[j]]) {
#                 ^
# Maybe fix this later.
BUILDLINK_TRANSFORM+=	rm:-Werror=char-subscripts

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/lucy ${DESTDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/lucy.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
	cd ${WRKSRC} && ${INSTALL_DATA} PUC19 PUC19splice PUC19splice.for \
		PUC19splice.rev atie.seq atie.qul atie.2nd pSPORT1splice \
		pSPORT1vector ARMTM40TR.seq ARMTM40TR.qul lucy.ps lucy.debug \
		${DESTDIR}${PREFIX}/share/examples/lucy

.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"