pkgsrc-wip/bcftools/Makefile

63 lines
1.9 KiB
Makefile

# $NetBSD$
#
###########################################################
# Generated by fbsd2pkg #
# Sat Nov 10 09:59:07 CST 2018 #
###########################################################
###########################################################
# Unconverted and partially converted FreeBSD port syntax:
# TEST_DEPENDS= bash:shells/bash
# Unknown tool: USE_TOOLS= localbase
#USE_LDCONFIG= ${PREFIX}/libexec/${PORTNAME}
DISTNAME= bcftools-${PV}
CATEGORIES= biology
MASTER_SITES= ${MASTER_SITE_GITHUB:=samtools/}
GITHUB_PROJECT= bcftools
GITHUB_TAG= ${PV}
MAINTAINER= bacon@NetBSD.org
HOMEPAGE= https://www.htslib.org/
COMMENT= Tools for manipulating BCF (binary VCF) sequence files
LICENSE= mit
REPLACE_PERL= misc/*.pl misc/plot-vcfstats test/test.pl
REPLACE_PYTHON= misc/*.py
SUBST_CLASSES+= version
SUBST_STAGE.version= pre-configure
SUBST_SED.version+= -e 's|@PORTVERSION@|${PV}|g'
SUBST_FILES.version+= ${WRKSRC}/configure.ac
USE_LANGUAGES= c c++
USE_TOOLS+= autoconf automake autoreconf gmake perl
GNU_CONFIGURE= yes
MAKE_ENV+= USE_GPL=1
PV= 1.9
pre-configure:
cd ${WRKSRC} && autoreconf -if
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/samtools_misc/color-chrs.pl \
${DESTDIR}${PREFIX}/bin/color-chrs
${MV} ${DESTDIR}${PREFIX}/bin/samtools_misc/guess-ploidy.py\
${DESTDIR}${PREFIX}/bin/guess-ploidy
${MV} /${DESTDIR}${PREFIX}/bin/samtools_misc/plot-roh.py \
${DESTDIR}${PREFIX}/bin/plot-roh
${MV} ${DESTDIR}${PREFIX}/bin/samtools_misc/run-roh.pl \
${DESTDIR}${PREFIX}/bin/run-roh
${MV} ${DESTDIR}${PREFIX}/bin/samtools_misc/vcfutils.pl \
${DESTDIR}${PREFIX}/bin/vcfutils
${MV} ${DESTDIR}${PREFIX}/bin/samtools_misc/plot-vcfstats \
${DESTDIR}${PREFIX}/bin/
${RMDIR} ${DESTDIR}${PREFIX}/bin/samtools_misc/
.include "../../biology/htslib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"