From owner-svn-ports-head@FreeBSD.ORG Thu Jul 3 17:28:40 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C3DCD906; Thu, 3 Jul 2014 17:28:40 +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 B163020DB; Thu, 3 Jul 2014 17:28:40 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s63HSeJF073731; Thu, 3 Jul 2014 17:28:40 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s63HSej7073729; Thu, 3 Jul 2014 17:28:40 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201407031728.s63HSej7073729@svn.freebsd.org> From: Dmitry Marakasov Date: Thu, 3 Jul 2014 17:28:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360415 - head/graphics/quesa 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.18 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, 03 Jul 2014 17:28:41 -0000 Author: amdmi3 Date: Thu Jul 3 17:28:39 2014 New Revision: 360415 URL: http://svnweb.freebsd.org/changeset/ports/360415 QAT: https://qat.redports.org/buildarchive/r360415/ Log: - Switch to USES=libtool, drop .la files - Strip libraries - Stagify - Remove overcomplicated examples handling - if needed, these should be provided as a separate port Modified: head/graphics/quesa/Makefile head/graphics/quesa/pkg-plist Modified: head/graphics/quesa/Makefile ============================================================================== --- head/graphics/quesa/Makefile Thu Jul 3 17:25:30 2014 (r360414) +++ head/graphics/quesa/Makefile Thu Jul 3 17:28:39 2014 (r360415) @@ -3,69 +3,24 @@ PORTNAME= quesa PORTVERSION= 1.8 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics MASTER_SITES= SF -.ifdef (WITH_EXAMPLES) -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ - ${PORTNAME}examples-${PORTVERSION}${EXTRACT_SUFX} -.endif MAINTAINER= ports@FreeBSD.org COMMENT= High level 3D graphics library compatible with Apple's QuickDraw(TM) -USE_AUTOTOOLS= libtool +USES= libtool +GNU_CONFIGURE= yes USE_GL= glut USE_XORG= x11 ice xmu xi -.ifdef (WITH_EXAMPLES) -USE_GNOME= gtk12 -.endif +INSTALL_TARGET= install-strip USE_LDCONFIG= yes -WRKSRC_EXAMPLES= ${WRKDIR}/${PORTNAME}examples-${PORTVERSION} - -NO_STAGE= yes -.include - -.if !defined (WITH_EXAMPLES) -PLIST_SUB= WITH_EXAMPLES="@comment " -.else -PLIST_SUB= WITH_EXAMPLES="" -.endif - -.ifndef (WITH_EXAMPLES) -pre-everything:: - @${ECHO_CMD} "" - @${ECHO_CMD} "Define WITH_EXAMPLES=yes to build and install Quesa example programs" - @${ECHO_CMD} "" -.endif - -.ifdef (WITH_EXAMPLES) -post-patch: - @${REINPLACE_CMD} -e 's|-I/usr/local/include/quesa|-I${WRKSRC}/APIincludes|g; \ - s|-L/usr/local/lib|-L${LOCALBASE}/lib -L${WRKSRC}|g; \ - s|prefix = /usr/local/Quesa|prefix = ${EXAMPLESDIR}|' \ - ${WRKSRC_EXAMPLES}/Makefile.in -.endif - pre-configure: @${REINPLACE_CMD} -e 's|-std=c99||g' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|isfinite|finite|g' \ ${WRKSRC}/Source/Core/System/E3IOData.c \ ${WRKSRC}/Source/Core/System/E3View.c -.ifdef (WITH_EXAMPLES) -post-configure: - cd ${WRKSRC_EXAMPLES} && \ - ${SETENV} ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} - -post-build: - cd ${WRKSRC_EXAMPLES} && \ - ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET} - -post-install: - cd ${WRKSRC_EXAMPLES} && \ - ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET} -.endif - -.include +.include Modified: head/graphics/quesa/pkg-plist ============================================================================== --- head/graphics/quesa/pkg-plist Thu Jul 3 17:25:30 2014 (r360414) +++ head/graphics/quesa/pkg-plist Thu Jul 3 17:28:39 2014 (r360415) @@ -23,27 +23,7 @@ include/quesa/QuesaTransform.h include/quesa/QuesaView.h include/quesa/QuesaViewer.h lib/libquesa.a -lib/libquesa.la lib/libquesa.so lib/libquesa.so.0 -%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Images/1.tga -%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Images/2.tga -%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Images/3.tga -%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Images/4.tga -%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Images/5.tga -%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Images/6.tga -%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Images/Quesa.tga -%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Models/F15.3dmf -%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Models/F18.3dmf -%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Models/PodRacer.3dmf -%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Models/QuesaLogo.3dmf -%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/bin/cameratest -%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/bin/dumpgroup -%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/bin/geomtest -%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/bin/importtest -%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/bin/lighttest -%%WITH_EXAMPLES%%@dirrm %%EXAMPLESDIR%%/bin -%%WITH_EXAMPLES%%@dirrm %%EXAMPLESDIR%%/Models -%%WITH_EXAMPLES%%@dirrm %%EXAMPLESDIR%%/Images -%%WITH_EXAMPLES%%@dirrm %%EXAMPLESDIR%% +lib/libquesa.so.0.0.0 @dirrm include/quesa