From owner-svn-ports-all@freebsd.org Sat Jun 16 17:55:02 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E040F101D905; Sat, 16 Jun 2018 17:55:02 +0000 (UTC) (envelope-from jwb@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 93C2E69C3C; Sat, 16 Jun 2018 17:55:02 +0000 (UTC) (envelope-from jwb@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 74EF41A62; Sat, 16 Jun 2018 17:55:02 +0000 (UTC) (envelope-from jwb@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5GHt2jp001796; Sat, 16 Jun 2018 17:55:02 GMT (envelope-from jwb@FreeBSD.org) Received: (from jwb@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5GHt2mA001795; Sat, 16 Jun 2018 17:55:02 GMT (envelope-from jwb@FreeBSD.org) Message-Id: <201806161755.w5GHt2mA001795@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jwb set sender to jwb@FreeBSD.org using -f From: "Jason W. Bacon" Date: Sat, 16 Jun 2018 17:55:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r472560 - in head/biology/bedtools: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jwb X-SVN-Commit-Paths: in head/biology/bedtools: . files X-SVN-Commit-Revision: 472560 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2018 17:55:03 -0000 Author: jwb Date: Sat Jun 16 17:55:01 2018 New Revision: 472560 URL: https://svnweb.freebsd.org/changeset/ports/472560 Log: biology/bedtools: Fix Makefile to respect PREFIX Approved by: jrm (mentor) Differential Revision: https://reviews.freebsd.org/D15851 Modified: head/biology/bedtools/Makefile head/biology/bedtools/files/patch-Makefile Modified: head/biology/bedtools/Makefile ============================================================================== --- head/biology/bedtools/Makefile Sat Jun 16 17:44:32 2018 (r472559) +++ head/biology/bedtools/Makefile Sat Jun 16 17:55:01 2018 (r472560) @@ -3,6 +3,7 @@ PORTNAME= bedtools DISTVERSIONPREFIX= v DISTVERSION= 2.27.1 +PORTREVISION= 1 CATEGORIES= biology MAINTAINER= jwb@FreeBSD.org Modified: head/biology/bedtools/files/patch-Makefile ============================================================================== --- head/biology/bedtools/files/patch-Makefile Sat Jun 16 17:44:32 2018 (r472559) +++ head/biology/bedtools/files/patch-Makefile Sat Jun 16 17:55:01 2018 (r472560) @@ -24,6 +24,15 @@ endif # If the user has specified to do so, tell the compile to use rand() (instead of mt19937). +@@ -33,7 +33,7 @@ endif + export LIBS = -lz + export BT_ROOT = src/utils/BamTools/ + +-prefix ?= /usr/local ++PREFIX ?= /usr/local + + SUBDIRS = $(SRC_DIR)/annotateBed \ + $(SRC_DIR)/bamToBed \ @@ -143,8 +143,8 @@ INCLUDES = -I$(SRC_DIR)/utils/bedFile \ all: print_banner $(OBJ_DIR) $(BIN_DIR) autoversion $(UTIL_SUBDIRS) $(SUBDIRS) @@ -35,6 +44,18 @@ @echo "done." @echo "- Creating executables for old CLI." +@@ -156,9 +156,9 @@ all: print_banner $(OBJ_DIR) $(BIN_DIR) + .PHONY: all + + install: all +- mkdir -p $(DESTDIR)$(prefix)/bin ++ mkdir -p $(DESTDIR)$(PREFIX)/bin + for file in bin/* ; do \ +- cp -f $$file $(DESTDIR)$(prefix)/bin; \ ++ cp -f $$file $(DESTDIR)$(PREFIX)/bin; \ + done + + print_banner: @@ -193,7 +193,7 @@ clean: .PHONY: clean