1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/biology/bedtools/Makefile
Jason W. Bacon b8a67fb104 biology/bedtools: Fix Makefile to respect PREFIX
Approved by:    jrm (mentor)
Differential Revision:  https://reviews.freebsd.org/D15851
2018-06-16 17:55:01 +00:00

32 lines
656 B
Makefile

# $FreeBSD$
PORTNAME= bedtools
DISTVERSIONPREFIX= v
DISTVERSION= 2.27.1
PORTREVISION= 1
CATEGORIES= biology
MAINTAINER= jwb@FreeBSD.org
COMMENT= Toolset for genome set arithmetic such as intersect, union
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gmake python
USE_GITHUB= yes
GH_ACCOUNT= arq5x
GH_PROJECT= bedtools2
pre-build:
@${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|@\$$(CXX)|$$(CXX)|g' \
${WRKSRC}/*/Makefile \
${WRKSRC}/*/*/Makefile \
${WRKSRC}/*/*/*/Makefile \
${WRKSRC}/*/*/*/*/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bedtools
.include <bsd.port.mk>