From owner-svn-ports-head@FreeBSD.ORG Tue Jan 21 20:42:03 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7D01E705; Tue, 21 Jan 2014 20:42:03 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 688371700; Tue, 21 Jan 2014 20:42:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0LKg36w050124; Tue, 21 Jan 2014 20:42:03 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0LKg3Lj050123; Tue, 21 Jan 2014 20:42:03 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201401212042.s0LKg3Lj050123@svn.freebsd.org> From: Antoine Brodin Date: Tue, 21 Jan 2014 20:42:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340656 - head/graphics/hppsmtools X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 20:42:03 -0000 Author: antoine Date: Tue Jan 21 20:42:02 2014 New Revision: 340656 URL: http://svnweb.freebsd.org/changeset/ports/340656 QAT: https://qat.redports.org/buildarchive/r340656/ Log: Stage support Modified: head/graphics/hppsmtools/Makefile Modified: head/graphics/hppsmtools/Makefile ============================================================================== --- head/graphics/hppsmtools/Makefile Tue Jan 21 20:38:23 2014 (r340655) +++ head/graphics/hppsmtools/Makefile Tue Jan 21 20:42:02 2014 (r340656) @@ -12,25 +12,22 @@ COMMENT= Tool for HP PhotoSmart C5340A & LICENSE= GPLv2 -PORTDOCS= README changes.txt PLIST_FILES= bin/psmdel bin/psmdir bin/psmget bin/psmsho +PORTDOCS= README changes.txt + +OPTIONS_DEFINE= DOCS -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|^CC=|#CC=|g ; \ s|-Wall -pedantic|$$(CFLAGS)|g' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '/typedef unsigned char/d' ${WRKSRC}/exif.h @${REINPLACE_CMD} -e '//d' ${WRKSRC}/psm*.c -.include - do-install: .for file in psmdel psmdir psmget psmsho - ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin .endfor -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include