svn commit: r388592 - in head/sysutils/phantom: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Jun 5 16:30:01 UTC 2015


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 at 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


More information about the svn-ports-all mailing list