2015-01-28 17:21:48 +01:00
|
|
|
# $NetBSD: Makefile,v 1.9 2015/01/28 16:21:48 outpaddling Exp $
|
2013-08-24 15:48:36 +02:00
|
|
|
|
2015-01-28 17:21:48 +01:00
|
|
|
###########################################################
|
|
|
|
# Generated by fbsd2pkg #
|
|
|
|
###########################################################
|
|
|
|
|
|
|
|
###########################################################
|
|
|
|
# Unconverted and partially converted FreeBSD port syntax:
|
|
|
|
|
|
|
|
# .if ${ARCH} == i386
|
|
|
|
# MAKE_ENV+= POPCNT_CAPABILITY=0
|
|
|
|
# .endif
|
|
|
|
# .include <bsd.port.post.mk>
|
|
|
|
|
2015-10-12 21:05:20 +02:00
|
|
|
DISTNAME= bowtie-1.0.1
|
|
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
2013-08-24 15:48:36 +02:00
|
|
|
CATEGORIES= biology
|
2015-10-12 21:05:20 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=BenLangmead/}
|
2013-08-24 15:48:36 +02:00
|
|
|
|
|
|
|
MAINTAINER= jwbacon@tds.net
|
2015-01-28 17:21:48 +01:00
|
|
|
|
2013-08-24 15:48:36 +02:00
|
|
|
COMMENT= Ultrafast, memory-efficient short read aligner
|
2015-01-28 17:21:48 +01:00
|
|
|
LICENSE= artistic
|
|
|
|
|
|
|
|
# Pessimistic assumption. Test and change if possible.
|
|
|
|
MAKE_JOBS_SAFE= no
|
2013-08-24 15:48:36 +02:00
|
|
|
|
2015-01-28 17:21:48 +01:00
|
|
|
# Just assuming C and C++: Adjust this!
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_TOOLS+= gmake perl:run pax
|
|
|
|
REPLACE_PERL= scripts/*.pl
|
2013-08-24 15:48:36 +02:00
|
|
|
|
2015-01-28 17:21:48 +01:00
|
|
|
# Adapt REINPLACE commands to SUBST:
|
|
|
|
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'
|
2013-08-24 15:48:36 +02:00
|
|
|
|
2015-01-28 17:21:48 +01:00
|
|
|
DATADIR= ${PREFIX}/share/bowtie
|
2013-08-24 15:48:36 +02:00
|
|
|
|
2015-01-28 17:21:48 +01:00
|
|
|
AUTO_MKDIRS= yes
|
2013-09-01 18:08:58 +02:00
|
|
|
|
2013-08-24 15:48:36 +02:00
|
|
|
do-install:
|
2015-01-28 17:21:48 +01:00
|
|
|
${INSTALL_PROGRAM} \
|
|
|
|
${WRKSRC}/bowtie \
|
|
|
|
${WRKSRC}/bowtie-build \
|
|
|
|
${WRKSRC}/bowtie-inspect \
|
2013-08-24 15:48:36 +02:00
|
|
|
${DESTDIR}${PREFIX}/bin
|
2015-01-28 17:21:48 +01:00
|
|
|
${INSTALL_SCRIPT} \
|
|
|
|
${WRKSRC}/scripts/*.sh \
|
|
|
|
${WRKSRC}/scripts/*.pl \
|
2013-08-24 15:48:36 +02:00
|
|
|
${DESTDIR}${PREFIX}/bin
|
2015-01-28 17:21:48 +01:00
|
|
|
${MKDIR} ${DESTDIR}${DATADIR}
|
|
|
|
cd ${WRKSRC} && ${PAX} -wr genomes indexes reads \
|
|
|
|
${DESTDIR}${DATADIR}
|
|
|
|
cd ${WRKSRC}/doc && ${PAX} -wr * \
|
|
|
|
${DESTDIR}${DOCSDIR}
|
2013-08-24 15:48:36 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|