From owner-svn-ports-all@FreeBSD.ORG Sat Jun 7 04:51:44 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 9356AE9B; Sat, 7 Jun 2014 04:51:44 +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 8058E299E; Sat, 7 Jun 2014 04:51:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s574pi0I084431; Sat, 7 Jun 2014 04:51:44 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s574pino084430; Sat, 7 Jun 2014 04:51:44 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201406070451.s574pino084430@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Sat, 7 Jun 2014 04:51:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r356879 - head/devel/arduino-glcd 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: Sat, 07 Jun 2014 04:51:44 -0000 Author: danilo Date: Sat Jun 7 04:51:43 2014 New Revision: 356879 URL: http://svnweb.freebsd.org/changeset/ports/356879 QAT: https://qat.redports.org/buildarchive/r356879/ Log: - Add stage support [1] while here - Add EXAMPLES option - Install examples unconditionally PR: ports/190727 Submitted by: leres@ee.lbl.gov [1] Modified: head/devel/arduino-glcd/Makefile Modified: head/devel/arduino-glcd/Makefile ============================================================================== --- head/devel/arduino-glcd/Makefile Sat Jun 7 04:12:54 2014 (r356878) +++ head/devel/arduino-glcd/Makefile Sat Jun 7 04:51:43 2014 (r356879) @@ -3,7 +3,7 @@ PORTNAME= arduino-glcd PORTVERSION= 3.20111205 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://glcd-arduino.googlecode.com/files/ DISTNAME= glcd-20111205 @@ -19,7 +19,8 @@ WRKSRC= ${WRKDIR}/glcd USES= zip dos2unix NO_BUILD= yes -NO_STAGE= yes + +OPTIONS_DEFINE= EXAMPLES FILES= \ Buildinfo.txt \ @@ -38,16 +39,14 @@ FILES= \ include \ readme.txt +PLIST_SUB+= EXAMPLESDIR_REL=${EXAMPLESDIR_REL} + do-install: - ${MKDIR} ${PREFIX}/arduino/libraries/glcd + @${MKDIR} ${STAGEDIR}${PREFIX}/arduino/libraries/glcd (cd ${WRKDIR}/glcd && ${COPYTREE_SHARE} "${FILES}" \ - ${PREFIX}/arduino/libraries/glcd "! -name *\.orig") -.if !defined(NOPORTEXAMPLES) - ${MKDIR} ${EXAMPLESDIR} + ${STAGEDIR}${PREFIX}/arduino/libraries/glcd "! -name *\.orig") + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKDIR}/glcd/examples && ${COPYTREE_SHARE} . \ - ${EXAMPLESDIR} "! -name *\.orig") -.endif - -PLIST_SUB+= EXAMPLESDIR_REL=${EXAMPLESDIR_REL} + ${STAGEDIR}${EXAMPLESDIR} "! -name *\.orig") .include