head	1.3;
access;
symbols
	pkgsrc-2026Q1:1.3.0.10
	pkgsrc-2026Q1-base:1.3
	pkgsrc-2025Q4:1.3.0.8
	pkgsrc-2025Q4-base:1.3
	pkgsrc-2025Q3:1.3.0.6
	pkgsrc-2025Q3-base:1.3
	pkgsrc-2025Q2:1.3.0.4
	pkgsrc-2025Q2-base:1.3
	pkgsrc-2025Q1:1.3.0.2
	pkgsrc-2025Q1-base:1.3
	pkgsrc-2024Q4:1.2.0.12
	pkgsrc-2024Q4-base:1.2
	pkgsrc-2024Q3:1.2.0.10
	pkgsrc-2024Q3-base:1.2
	pkgsrc-2024Q2:1.2.0.8
	pkgsrc-2024Q2-base:1.2
	pkgsrc-2024Q1:1.2.0.6
	pkgsrc-2024Q1-base:1.2
	pkgsrc-2023Q4:1.2.0.4
	pkgsrc-2023Q4-base:1.2
	pkgsrc-2023Q3:1.2.0.2
	pkgsrc-2023Q3-base:1.2;
locks; strict;
comment	@# @;


1.3
date	2025.03.06.01.19.05;	author bacon;	state Exp;
branches;
next	1.2;
commitid	ttX4UUbgIuqcEWLF;

1.2
date	2023.08.29.21.49.56;	author bacon;	state Exp;
branches;
next	1.1;
commitid	3t5B44MuRw1jiJCE;

1.1
date	2023.07.31.14.34.18;	author bacon;	state Exp;
branches;
next	;
commitid	qOkQl0Djtm2EOXyE;


desc
@@


1.3
log
@Multiple packages: OWNER -> MAINTAINER
@
text
@# $NetBSD: Makefile,v 1.2 2023/08/29 21:49:56 bacon Exp $

DISTNAME=	STAR-2.7.10b
PKGNAME=	rna-star-2.7.10b
CATEGORIES=	biology
MASTER_SITES=	${MASTER_SITE_GITHUB:=alexdobin/}
GITHUB_PROJECT=	STAR

MAINTAINER=	bacon@@NetBSD.org
HOMEPAGE=	https://github.com/alexdobin/STAR
COMMENT=	Spliced Transcripts Alignment to a Reference
LICENSE=	gnu-gpl-v3

SUBST_CLASSES+=		htslib
SUBST_STAGE.htslib=	pre-configure
SUBST_SED.htslib+=	-e 's|"htslib/htslib/sam.h"|<htslib/sam.h>|g'
SUBST_SED.htslib+=	-e 's|"htslib/htslib/kstring.h"|<htslib/kstring.h>|g'
SUBST_SED.htslib+=	-e 's|"htslib/htslib/bgzf.h"|<htslib/bgzf.h>|g'
SUBST_FILES.htslib+=	BAMfunctions.cpp
SUBST_FILES.htslib+=	IncludeDefine.h
SUBST_FILES.htslib+=	STAR.cpp
SUBST_FILES.htslib+=	bamRemoveDuplicates.cpp
SUBST_FILES.htslib+=	bam_cat.c
SUBST_FILES.htslib+=	bam_cat.h
SUBST_FILES.htslib+=	signalFromBAM.h

# May work on other 64-bit processors, but untested
ONLY_FOR_PLATFORM=	*-*-x86_64 *-*-aarch64 *-*-powerpc64

USE_LANGUAGES=	c c++
USE_TOOLS+=	gmake

WRKSRC=		${WRKDIR}/${DISTNAME}/source
MAKE_FLAGS=	HTSLIB=''

INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/STAR ${DESTDIR}${PREFIX}/bin

.include "../../mk/bsd.prefs.mk"

# Xcode supports -Xpreprocessor -fopenmp, but does not supply OpenMP libs
# parallel/openmp installs an entire llvm
# Maybe a libomp package would suffice?
.if ${OPSYS} == Darwin
SUBST_CLASSES+=		openmp
SUBST_SED.openmp=	-e 's|-fopenmp|-Xpreprocessor &|g'
SUBST_STAGE.openmp=	pre-configure
SUBST_FILES.openmp=	Makefile
LDFLAGS+= 		-L${PREFIX}/lib -lomp -lm
.include "../../parallel/openmp/buildlink3.mk"
.endif

.include "../../biology/htslib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.2
log
@biology/rna-star: Fix build on Darwin 21.6.0 x86

Remove extern "C" in file build with c++
@
text
@d1 1
a1 1
# $NetBSD$
d9 1
a9 1
OWNER=		bacon@@NetBSD.org
@


1.1
log
@biology/rna-star: Spliced Transcripts Align to a Ref

STAR (Spliced Transcripts Alignment to a Reference) aims to achieve
accurate alignment of high-throughput RNA-seq data.  STAR is based on
a previously undescribed RNA-seq alignment algorithm that uses
sequential maximum mappable seed search in uncompressed suffix arrays
followed by seed clustering and stitching procedure. STAR outperforms
other aligners by a factor of >50 in mapping speed, aligning to the
human genome 550 million 2 x 76 bp paired-end reads per hour on a modest
12-core server, while at the same time improving alignment sensitivity
and precision.
@
text
@@

