pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-pysam: link against biology/htslib



Module Name:	pkgsrc-wip
Committed By:	Adam Ciarciński <aciarcinski%teonite.com@localhost>
Pushed By:	adam
Date:		Tue Nov 20 10:27:08 2018 +0100
Changeset:	f3efe1adc93c60b431ccbe6f898c91f072658334

Modified Files:
	py-pysam/Makefile

Log Message:
py-pysam: link against biology/htslib

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f3efe1adc93c60b431ccbe6f898c91f072658334

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-pysam/Makefile | 24 ++++++++----------------
 1 file changed, 8 insertions(+), 16 deletions(-)

diffs:
diff --git a/py-pysam/Makefile b/py-pysam/Makefile
index 833dec57d7..b5efb6bbbf 100644
--- a/py-pysam/Makefile
+++ b/py-pysam/Makefile
@@ -1,13 +1,8 @@
 # $NetBSD$
-#
-###########################################################
-#                  Generated by fbsd2pkg                  #
-#              Mon Nov  5 13:27:01 CST 2018               #
-###########################################################
 
-DISTNAME=	pysam-${PV}
-PKGNAME=	${PYPKGPREFIX}-pysam-${PV}
-CATEGORIES=	biology
+DISTNAME=	pysam-0.15.1
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	biology python
 MASTER_SITES=	${MASTER_SITE_PYPI:=p/pysam/}
 
 MAINTAINER=	bacon%NetBSD.org@localhost
@@ -17,17 +12,14 @@ LICENSE=	mit
 
 USE_TOOLS+=	gmake
 
+MAKE_ENV+=	HTSLIB_INCLUDE_DIR=${BUILDLINK_PREFIX.htslib}/include
+MAKE_ENV+=	HTSLIB_LIBRARY_DIR=${BUILDLINK_PREFIX.htslib}/lib
+
 # FIXME: Why is this necessary?
 LDFLAGS+=	-L${DESTDIR}${PREFIX}/${PYSITELIB}/pysam
 LDFLAGS+=	${COMPILER_RPATH_FLAG}${PREFIX}/${PYSITELIB}/pysam
 
-PV=		0.15.1
-
-.include "../../lang/python/egg.mk"
-.include "../../devel/ncurses/buildlink3.mk"
+.include "../../biology/htslib/buildlink3.mk"
 .include "../../devel/py-cython/buildlink3.mk"
-.include "../../www/curl/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../archivers/bzip2/buildlink3.mk"
-.include "../../archivers/xz/buildlink3.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index