From owner-svn-ports-all@FreeBSD.ORG Tue May 27 09:30:28 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4104A48E; Tue, 27 May 2014 09:30:28 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 159DF2386; Tue, 27 May 2014 09:30:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4R9URAt000828; Tue, 27 May 2014 09:30:27 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4R9URUL000826; Tue, 27 May 2014 09:30:27 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201405270930.s4R9URUL000826@svn.freebsd.org> From: "Vanilla I. Shu" Date: Tue, 27 May 2014 09:30:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r355475 - in head/devel/libk8055: . files X-SVN-Group: ports-head 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.18 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: Tue, 27 May 2014 09:30:28 -0000 Author: vanilla Date: Tue May 27 09:30:27 2014 New Revision: 355475 URL: http://svnweb.freebsd.org/changeset/ports/355475 QAT: https://qat.redports.org/buildarchive/r355475/ Log: Stageify. Approved by: portmgr@ Modified: head/devel/libk8055/Makefile head/devel/libk8055/files/patch-Makefile Modified: head/devel/libk8055/Makefile ============================================================================== --- head/devel/libk8055/Makefile Tue May 27 08:40:46 2014 (r355474) +++ head/devel/libk8055/Makefile Tue May 27 09:30:27 2014 (r355475) @@ -10,19 +10,17 @@ MASTER_SITES= http://www.horizon9.org/~g MAINTAINER= jake@xz.cx COMMENT= Velleman K8055 USB experimental board support and command line tool -MAN1= k8055.1 -MANCOMPRESSED= yes USE_LDCONFIG= yes USE_CSTD= gnu89 PLIST_FILES= bin/k8055 \ + include/k8055.h \ lib/libk8055.c \ lib/libk8055.o \ lib/libk8055.so \ lib/libk8055.so.0.2 \ - include/k8055.h + man/man1/k8055.1.gz -NO_STAGE= yes post-patch: @${RM} ${WRKSRC}/libk8055.c.orig Modified: head/devel/libk8055/files/patch-Makefile ============================================================================== --- head/devel/libk8055/files/patch-Makefile Tue May 27 08:40:46 2014 (r355474) +++ head/devel/libk8055/files/patch-Makefile Tue May 27 09:30:27 2014 (r355475) @@ -1,5 +1,5 @@ ---- Makefile.orig 2011-12-31 03:12:14.464658120 +0000 -+++ Makefile 2011-12-31 03:12:42.754252842 +0000 +--- Makefile.orig 2006-07-29 18:03:43.000000000 +0800 ++++ Makefile 2014-05-27 17:29:02.806622803 +0800 @@ -1,22 +1,22 @@ -cc = gcc +CC ?= gcc @@ -32,7 +32,7 @@ -ln -sf libk8055.so.0.2 libk8055.so libk8055.c: k8055.h -@@ -24,10 +24,10 @@ +@@ -24,29 +24,29 @@ libk8055.c: k8055.h all: k8055_prog libk8055.so.0.1 %.o: %.c @@ -45,3 +45,32 @@ strip $(exec) clean: + rm -f *.o libk8055.so libk8055.so.0.2 $(exec) + + install: k8055_prog libk8055.so.0.1 +- cp -f $(exec) $(bindir)/ +- if !(test -d $(libdir)); then \ +- mkdir $(libdir); \ ++ cp -f $(exec) $(DESTDIR)$(bindir)/ ++ if !(test -d $(DESTDIR)$(libdir)); then \ ++ mkdir $(DESTDIR)$(libdir); \ + fi +- if !(test -d $(includedir)); then \ +- mkdir $(includedir); \ ++ if !(test -d $(DESTDIR)$(includedir)); then \ ++ mkdir $(DESTDIR)$(includedir); \ + fi +- cp -Pf lib* $(libdir) +- cp -f k8055.h $(includedir) +- if !(test -d $(mandir)); then \ +- mkdir $(mandir); \ ++ cp -Pf lib* $(DESTDIR)$(libdir) ++ cp -f k8055.h $(DESTDIR)$(includedir) ++ if !(test -d $(DESTDIR)$(mandir)); then \ ++ mkdir $(DESTDIR)$(mandir); \ + fi +- cp -f man/k8055.1.gz $(mandir)/ ++ cp -f man/k8055.1.gz $(DESTDIR)$(mandir)/ + + uninstall: + rm -f $(bindir)/$(exec) $(libdir)/libk8055* $(includedir)/k8055.h