Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jun 2015 16:30:01 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r388592 - in head/sysutils/phantom: . files
Message-ID:  <201506051630.t55GU1dj098749@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Jun  5 16:30:00 2015
New Revision: 388592
URL: https://svnweb.freebsd.org/changeset/ports/388592

Log:
  - Fix binary installation
  - Switch to USES=tar
  
  Approved by:	portmgr blanket

Modified:
  head/sysutils/phantom/Makefile
  head/sysutils/phantom/files/patch-Makefile

Modified: head/sysutils/phantom/Makefile
==============================================================================
--- head/sysutils/phantom/Makefile	Fri Jun  5 16:29:41 2015	(r388591)
+++ head/sysutils/phantom/Makefile	Fri Jun  5 16:30:00 2015	(r388592)
@@ -3,15 +3,16 @@
 
 PORTNAME=	phantom
 PORTVERSION=	1.2
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.vanheusden.com/Linux/
-EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ota@j.email.ne.jp
 COMMENT=	Phantomblock generator (converts existing files to sparse files)
 
 LICENSE=	GPLv2
 
+USES=		tar:tgz
 ALL_TARGET=	all
 PLIST_FILES=	bin/phantom
 

Modified: head/sysutils/phantom/files/patch-Makefile
==============================================================================
--- head/sysutils/phantom/files/patch-Makefile	Fri Jun  5 16:29:41 2015	(r388591)
+++ head/sysutils/phantom/files/patch-Makefile	Fri Jun  5 16:30:00 2015	(r388592)
@@ -1,5 +1,5 @@
---- Makefile.orig	2005-07-08 17:30:27.000000000 +0800
-+++ Makefile	2014-06-27 23:13:45.387524232 +0800
+--- Makefile.orig	2005-07-08 09:30:27 UTC
++++ Makefile
 @@ -1,8 +1,8 @@
  VERSION=1.2
  
@@ -16,7 +16,7 @@
  
  install: phantom
 -	cp phantom $(DESTDIR)/usr/bin
-+	${INSTALL} -m 755 phantom $(DESTDIR)${PREFIX}/bin
++	${BSD_INSTALL_PROGRAM} phantom $(DESTDIR)${PREFIX}/bin
  
  clean:
  	rm -f $(OBJS) core phantom



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506051630.t55GU1dj098749>