From owner-svn-ports-head@FreeBSD.ORG Tue Jun 23 06:58:20 2015 Return-Path: Delivered-To: svn-ports-head@nevdull.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A345AD41; Tue, 23 Jun 2015 06:58:20 +0000 (UTC) (envelope-from bapt@FreeBSD.org) 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 91521625; Tue, 23 Jun 2015 06:58:20 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5N6wKVQ039592; Tue, 23 Jun 2015 06:58:20 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5N6wKi7039591; Tue, 23 Jun 2015 06:58:20 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201506230658.t5N6wKi7039591@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Tue, 23 Jun 2015 06:58:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r390356 - head/biology/protomol 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.20 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, 23 Jun 2015 06:58:20 -0000 Author: bapt Date: Tue Jun 23 06:58:19 2015 New Revision: 390356 URL: https://svnweb.freebsd.org/changeset/ports/390356 Log: Convert to COPYTREE_SHARE Use options helpers Modified: head/biology/protomol/Makefile Modified: head/biology/protomol/Makefile ============================================================================== --- head/biology/protomol/Makefile Tue Jun 23 06:20:42 2015 (r390355) +++ head/biology/protomol/Makefile Tue Jun 23 06:58:19 2015 (r390356) @@ -29,20 +29,17 @@ WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= GLUT OPTIONS_DEFAULT= GLUT -.include +GLUT_CONFIGURE_ON= --with-glut=yes +GLUT_USE= GL=glut +GLUT_CONFIGURE_OFF= --with-glut=no -.if ${PORT_OPTIONS:MGLUT} -CONFIGURE_ARGS+= --with-glut=yes -USE_GL= glut -.else -CONFIGURE_ARGS+= --with-glut=no -.endif +.include .if ${PORT_OPTIONS:MEXAMPLES} post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - cd ${WRKSRC}/examples && ${FIND} . | ${EGREP} -v '\.cvsignore' | \ - ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC}/examples ; \ + ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -name .cvsignore" .endif .include