From owner-svn-ports-all@freebsd.org Thu Dec 29 10:38:19 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C7E3C95EFC; Thu, 29 Dec 2016 10:38:19 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 42122139C; Thu, 29 Dec 2016 10:38:19 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBTAcIbb041304; Thu, 29 Dec 2016 10:38:18 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBTAcIYN041303; Thu, 29 Dec 2016 10:38:18 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201612291038.uBTAcIYN041303@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 29 Dec 2016 10:38:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r429886 - head/graphics/quesoglc 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.23 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: Thu, 29 Dec 2016 10:38:19 -0000 Author: amdmi3 Date: Thu Dec 29 10:38:18 2016 New Revision: 429886 URL: https://svnweb.freebsd.org/changeset/ports/429886 Log: - Add LICENSE - Switch to USES=localbase - Remove unneeded glut dependency - Add missing libX11 dependency - Support tests properly - Switch to options helpers Modified: head/graphics/quesoglc/Makefile Modified: head/graphics/quesoglc/Makefile ============================================================================== --- head/graphics/quesoglc/Makefile Thu Dec 29 10:21:01 2016 (r429885) +++ head/graphics/quesoglc/Makefile Thu Dec 29 10:38:18 2016 (r429886) @@ -3,34 +3,47 @@ PORTNAME= quesoglc PORTVERSION= 0.7.2 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Free implementation of the OpenGL Character Renderer +LICENSE= LGPL21+ +LICENSE_FILE= ${WRKSRC}/COPYING + LIB_DEPENDS= libfribidi.so:converters/fribidi \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig -USES= tar:bzip2 pathfix gmake libtool +USES= gmake libtool localbase pathfix pkgconfig tar:bzip2 GNU_CONFIGURE= yes -USE_GL= gl glu glut +USE_GL= gl glu +USE_XORG= x11 INSTALL_TARGET= install-strip USE_LDCONFIG= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib # needs GLEW MX (multiple rendering contexts), so system glew won't go CONFIGURE_ARGS= --without-glew --with-fribidi PORTDOCS= README -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS TEST + +TEST_CONFIGURE_ENABLE= executables +# these libs are only required for building tests, which are not +# installed, so no LIB_DEPENDS; tests also require X11 display +# and are interactive +TEST_BUILD_DEPENDS= ${LOCALBASE}/lib/libglut.so:graphics/freeglut \ + ${LOCALBASE}/lib/libSM.so:x11/libSM \ + ${LOCALBASE}/lib/libICE.so:x11/libICE \ + ${LOCALBASE}/lib/libXi.so:x11/libXi \ + ${LOCALBASE}/lib/libXmu.so:x11-toolkits/libXmu +TEST_TEST_TARGET= check -post-install: - ${MKDIR} ${STAGEDIR}${DOCSDIR} +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include