From owner-svn-ports-head@FreeBSD.ORG Fri Jan 17 21:30:37 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 AFF2C1C0; Fri, 17 Jan 2014 21:30:37 +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 828131D5F; Fri, 17 Jan 2014 21:30:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0HLUbOw091645; Fri, 17 Jan 2014 21:30:37 GMT (envelope-from mva@svn.freebsd.org) Received: (from mva@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0HLUb75091644; Fri, 17 Jan 2014 21:30:37 GMT (envelope-from mva@svn.freebsd.org) Message-Id: <201401172130.s0HLUb75091644@svn.freebsd.org> From: Marcus von Appen Date: Fri, 17 Jan 2014 21:30:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340112 - head/graphics/glew 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: Fri, 17 Jan 2014 21:30:37 -0000 Author: mva Date: Fri Jan 17 21:30:37 2014 New Revision: 340112 URL: http://svnweb.freebsd.org/changeset/ports/340112 QAT: https://qat.redports.org/buildarchive/r340112/ Log: - Enable stagedir support - Add LICENSE Modified: head/graphics/glew/Makefile Modified: head/graphics/glew/Makefile ============================================================================== --- head/graphics/glew/Makefile Fri Jan 17 21:29:00 2014 (r340111) +++ head/graphics/glew/Makefile Fri Jan 17 21:30:37 2014 (r340112) @@ -11,6 +11,9 @@ EXTRACT_SUFX= .tgz MAINTAINER= mva@FreeBSD.org COMMENT= The OpenGL Extension Wrangler Library +LICENSE= MIT BSD3CLAUSE +LICENSE_COMB= dual + USES= gmake USE_XORG= x11 xext xi xmu USE_GL= yes @@ -18,30 +21,27 @@ USE_LDCONFIG= yes OPTIONS= DOCS -NO_STAGE= yes .include do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/glewinfo ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/bin/visualinfo ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/bin/glewinfo ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/bin/visualinfo ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/lib/libGLEW.so.${PORTVERSION} \ - ${PREFIX}/lib/libGLEW.so.1 + ${STAGEDIR}${PREFIX}/lib/libGLEW.so.1 ${INSTALL_PROGRAM} ${WRKSRC}/lib/libGLEWmx.so.${PORTVERSION} \ - ${PREFIX}/lib/libGLEWmx.so.1 - ${LN} -sf ${PREFIX}/lib/libGLEW.so.1 ${PREFIX}/lib/libGLEW.so - ${LN} -sf ${PREFIX}/lib/libGLEWmx.so.1 ${PREFIX}/lib/libGLEWmx.so - ${INSTALL_DATA} ${WRKSRC}/lib/libGLEW.a ${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}/lib/libGLEWmx.a ${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}/include/GL/*.h ${PREFIX}/include/GL - ${INSTALL_DATA} ${WRKSRC}/glew.pc ${PREFIX}/libdata/pkgconfig - ${INSTALL_DATA} ${WRKSRC}/glewmx.pc ${PREFIX}/libdata/pkgconfig - -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} + ${STAGEDIR}${PREFIX}/lib/libGLEWmx.so.1 + ${LN} -sf ${PREFIX}/lib/libGLEW.so.1 ${STAGEDIR}${PREFIX}/lib/libGLEW.so + ${LN} -sf ${PREFIX}/lib/libGLEWmx.so.1 ${STAGEDIR}${PREFIX}/lib/libGLEWmx.so + ${INSTALL_DATA} ${WRKSRC}/lib/libGLEW.a ${STAGEDIR}${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/lib/libGLEWmx.a ${STAGEDIR}${PREFIX}/lib + ${MKDIR} ${STAGEDIR}${PREFIX}/include/GL + ${INSTALL_DATA} ${WRKSRC}/include/GL/*.h ${STAGEDIR}${PREFIX}/include/GL + ${INSTALL_DATA} ${WRKSRC}/glew.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig + ${INSTALL_DATA} ${WRKSRC}/glewmx.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in css html jpg png - ${INSTALL_DATA} ${WRKSRC}/doc/*.${i} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/*.${i} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include