From owner-svn-ports-head@FreeBSD.ORG Mon Mar 25 14:06:30 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id EB6C9D62; Mon, 25 Mar 2013 14:06:30 +0000 (UTC) (envelope-from makc@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id DDF3410B; Mon, 25 Mar 2013 14:06:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r2PE6UlA038911; Mon, 25 Mar 2013 14:06:30 GMT (envelope-from makc@svn.freebsd.org) Received: (from makc@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r2PE6Usj038909; Mon, 25 Mar 2013 14:06:30 GMT (envelope-from makc@svn.freebsd.org) Message-Id: <201303251406.r2PE6Usj038909@svn.freebsd.org> From: Max Brazhnikov Date: Mon, 25 Mar 2013 14:06:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r315227 - head/graphics/libcaca 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.14 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: Mon, 25 Mar 2013 14:06:31 -0000 Author: makc Date: Mon Mar 25 14:06:30 2013 New Revision: 315227 URL: http://svnweb.freebsd.org/changeset/ports/315227 Log: - Add dependence on libglut [1] - Convert to new option framework - Convert to USES/PKG_CONFIG - Pass more switches to configure script in order to avoid auto-detection - Trim Makefile header - Update and reformat description PR: ports/175963 [1] Submitted by: pawel Modified: head/graphics/libcaca/Makefile (contents, props changed) head/graphics/libcaca/pkg-descr (contents, props changed) Modified: head/graphics/libcaca/Makefile ============================================================================== --- head/graphics/libcaca/Makefile Mon Mar 25 14:05:23 2013 (r315226) +++ head/graphics/libcaca/Makefile Mon Mar 25 14:06:30 2013 (r315227) @@ -1,20 +1,18 @@ -# New ports collection makefile for: libcaca -# Date created: 11 January 2004 -# Whom: Vincent Tantardini -# +# Created by: Vincent Tantardini # $FreeBSD$ -# PORTNAME= libcaca DISTVERSION= 0.99.beta18 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= http://caca.zoy.org/raw-attachment/wiki/libcaca/ MAINTAINER= multimedia@FreeBSD.org COMMENT= Graphics library that outputs text instead of pixels -USE_GNOME= gnomehack ltverhack pkgconfig +USES= pathfix +USE_GNOME= ltverhack +USE_PKGCONFIG= build USE_LDCONFIG= yes USE_AUTOTOOLS= libtool CONFIGURE_ARGS= --disable-doc \ @@ -22,28 +20,35 @@ CONFIGURE_ARGS= --disable-doc \ --disable-java \ --disable-csharp \ --disable-ruby \ - --disable-python + --disable-python \ + --disable-cppunit \ + --disable-zzuf DOCS= AUTHORS COPYING COPYING.GPL COPYING.LGPL ChangeLog NEWS \ NOTES README THANKS MAN1= caca-config.1 cacademo.1 cacafire.1 cacaplay.1 cacaserver.1 \ cacaview.1 img2txt.1 -.if defined(WITHOUT_X11) -CONFIGURE_ARGS+=--disable-x11 -.else +OPTIONS_DEFINE= X11 IMLIB2 SLANG DOCS +OPTIONS_DEFAULT= X11 IMLIB2 +X11_DESC= X11 and OpenGL support + +.include + +.if ${PORT_OPTIONS:MX11} USE_XORG= x11 +USE_GL= glut +.else +CONFIGURE_ARGS+=--disable-x11 --disable-gl .endif -.if defined(WITHOUT_IMLIB2) -CONFIGURE_ARGS+=--disable-imlib2 -.else +.if ${PORT_OPTIONS:MIMLIB2} USE_EFL+= imlib2 +.else +CONFIGURE_ARGS+=--disable-imlib2 .endif -.include - -.if defined(WITH_SLANG) +.if ${PORT_OPTIONS:MSLANG} LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2 CONFIGURE_ARGS+=--enable-slang .else @@ -56,12 +61,10 @@ post-patch: @${REINPLACE_CMD} -e 's|: install-docDATA|:|g ; s| csharp||g' \ ${WRKSRC}/Makefile.in -.ifndef (NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} post-install: @${MKDIR} ${DOCSDIR} -.for i in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} -.endfor + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif -.include +.include Modified: head/graphics/libcaca/pkg-descr ============================================================================== --- head/graphics/libcaca/pkg-descr Mon Mar 25 14:05:23 2013 (r315226) +++ head/graphics/libcaca/pkg-descr Mon Mar 25 14:06:30 2013 (r315227) @@ -1,7 +1,9 @@ -The libcaca library is a graphics library that outputs text instead of -pixels, so that it can work on older video cards or text terminals. It -is not unlike the famous AAlib library. It also have 6 available colours -for character output, dithering of colour images and basic sprite -primitives. +libcaca is a graphics library that outputs text instead of pixels, +so that it can work on older video cards or text terminals. It is +not unlike the famous AAlib library, with the following improvements: + * Unicode support + * 2048 available colours (some devices can only handle 16) + * dithering of colour images + * advanced text canvas operations (blitting, rotations) WWW: http://caca.zoy.org/