From owner-svn-ports-all@FreeBSD.ORG Sat Apr 12 09:46:22 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 7FB1FB1B; Sat, 12 Apr 2014 09:46:22 +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 6C81A12A5; Sat, 12 Apr 2014 09:46:22 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3C9kM50062007; Sat, 12 Apr 2014 09:46:22 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3C9kMqf062006; Sat, 12 Apr 2014 09:46:22 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201404120946.s3C9kMqf062006@svn.freebsd.org> From: Pawel Pekala Date: Sat, 12 Apr 2014 09:46:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351081 - head/games/magiccube4d 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.17 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, 12 Apr 2014 09:46:22 -0000 Author: pawel Date: Sat Apr 12 09:46:21 2014 New Revision: 351081 URL: http://svnweb.freebsd.org/changeset/ports/351081 QAT: https://qat.redports.org/buildarchive/r351081/ Log: - Add staging support - Switch to PLIST_FILES, PORTDOCS - Define DOCS option - Respect CXXFLAGS Deleted: head/games/magiccube4d/pkg-plist Modified: head/games/magiccube4d/Makefile Modified: head/games/magiccube4d/Makefile ============================================================================== --- head/games/magiccube4d/Makefile Sat Apr 12 09:19:28 2014 (r351080) +++ head/games/magiccube4d/Makefile Sat Apr 12 09:46:21 2014 (r351081) @@ -15,19 +15,19 @@ COMMENT= MagicCube4D is a four-dimension USE_XORG= x11 xext xt sm ice xaw GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/${PORTNAME}-src-${PORTVERSION:S/./_/} -DOCS= ChangeLog Intro.txt MagicCube4D-unix.txt \ + +PLIST_FILES= bin/magiccube4d +PORTDOCS= ChangeLog Intro.txt MagicCube4D-unix.txt \ ideas.txt readme-unix.txt -NO_STAGE= yes -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/magiccube4d ${PREFIX}/bin -.if !defined(NOPORTDOCS) - @${INSTALL} -d -m 0755 ${DOCSDIR} -.for f in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} -.endfor -.endif +OPTIONS_DEFINE= DOCS -.include +post-patch: + @${REINPLACE_CMD} 's|@DFLAGS@|${CXXFLAGS}|' ${WRKSRC}/Makefile.in + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/magiccube4d ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} -.include +.include