From owner-svn-ports-head@FreeBSD.ORG Thu Feb 27 07:45:20 2014 Return-Path: Delivered-To: svn-ports-head@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 60B25F7C; Thu, 27 Feb 2014 07:45:20 +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 4B54A1450; Thu, 27 Feb 2014 07:45:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1R7jKuW096685; Thu, 27 Feb 2014 07:45:20 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1R7jKVG096684; Thu, 27 Feb 2014 07:45:20 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201402270745.s1R7jKVG096684@svn.freebsd.org> From: Emanuel Haupt Date: Thu, 27 Feb 2014 07:45:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346241 - head/print/alignmargins 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: Thu, 27 Feb 2014 07:45:20 -0000 Author: ehaupt Date: Thu Feb 27 07:45:19 2014 New Revision: 346241 URL: http://svnweb.freebsd.org/changeset/ports/346241 QAT: https://qat.redports.org/buildarchive/r346241/ Log: Support staging Modified: head/print/alignmargins/Makefile Modified: head/print/alignmargins/Makefile ============================================================================== --- head/print/alignmargins/Makefile Thu Feb 27 07:37:41 2014 (r346240) +++ head/print/alignmargins/Makefile Thu Feb 27 07:45:19 2014 (r346241) @@ -16,26 +16,20 @@ COMMENT= Utility script to generate cust NO_BUILD= yes USES= perl5 -NO_STAGE= yes do-extract: - @${RM} -rf ${WRKDIR} - @${MKDIR} ${WRKDIR} @${MKDIR} ${WRKSRC} - @for distfile in ${EXTRACT_ONLY}; do \ - if ! (cd ${WRKDIR} && ${CP} ${_DISTDIR}/$$distfile ${WRKSRC});\ - then \ - exit 1; \ - fi \ - done +.for f in ${DISTFILES} + @${CP} ${DISTDIR}/${DIST_SUBDIR}/${f} ${WRKSRC} +.endfor post-patch: - ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ -e 's|%%DATADIR%%|${DATADIR}|g' \ ${WRKSRC}/alignmargins do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/alignmargins ${LOCALBASE}/bin - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/align.ps ${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/align.ps ${STAGEDIR}${DATADIR} .include