53 lines
1.6 KiB
Makefile
53 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2015/01/28 16:21:48 outpaddling Exp $
|
|
|
|
###########################################################
|
|
# Generated by fbsd2pkg #
|
|
###########################################################
|
|
|
|
###########################################################
|
|
# Unconverted and partially converted FreeBSD port syntax:
|
|
|
|
# .if ${ARCH} == i386
|
|
# MAKE_ENV+= POPCNT_CAPABILITY=0
|
|
# .endif
|
|
|
|
DISTNAME= bowtie-1.1.2
|
|
CATEGORIES= biology
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=BenLangmead/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= bacon@NetBSD.org
|
|
COMMENT= Ultrafast, memory-efficient short read aligner
|
|
LICENSE= artistic
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= gmake perl:run pax
|
|
REPLACE_PYTHON= bowtie bowtie-build bowtie-inspect
|
|
REPLACE_PERL= scripts/*.pl
|
|
|
|
SUBST_CLASSES+= lock_guard
|
|
SUBST_STAGE.lock_guard= post-patch
|
|
SUBST_FILES.lock_guard= hit.h log.h
|
|
SUBST_SED.lock_guard= -e 's|lock_guard<MUTEX_T>|tthread::lock_guard<MUTEX_T>|g'
|
|
|
|
DATADIR= ${PREFIX}/share/bowtie
|
|
DOCSDIR= ${PREFIX}/share/doc/bowtie
|
|
|
|
INSTALLATION_DIRS= bin share/bowtie share/docs/bowtie
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bowtie-*-[ls] ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_SCRIPT} \
|
|
${WRKSRC}/bowtie \
|
|
${WRKSRC}/bowtie-build \
|
|
${WRKSRC}/bowtie-inspect \
|
|
${WRKSRC}/scripts/*.sh \
|
|
${WRKSRC}/scripts/*.pl \
|
|
${DESTDIR}${PREFIX}/bin
|
|
${MKDIR} ${DESTDIR}${DATADIR}
|
|
(cd ${WRKSRC} && ${PAX} -wr genomes indexes reads ${DESTDIR}${DATADIR})
|
|
(cd ${WRKSRC}/doc && ${PAX} -wr * ${DESTDIR}${DOCSDIR})
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|