diff options
author | clement <clement@FreeBSD.org> | 2004-01-11 23:55:54 +0000 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-01-11 23:55:54 +0000 |
commit | a3c4a2e9f31549f1ef807f5eb6999fd506399093 (patch) | |
tree | a8c34be9de30b9c75ded4f8102a73a6011511612 /graphics | |
parent | 6b4922e35ba58e84cdd9362a9f48e77ee6a60289 (diff) | |
download | FreeBSD-ports-a3c4a2e9f31549f1ef807f5eb6999fd506399093.zip FreeBSD-ports-a3c4a2e9f31549f1ef807f5eb6999fd506399093.tar.gz |
Add libcaca 0.7, graphics library that outputs text instead of pixels.
PR: 61222
Submitted by: Vincent Tantardini <vinc@FreeBSD-fr.org>
Approved by: erwin (mentor) (implicitly)
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/libcaca/Makefile | 44 | ||||
-rw-r--r-- | graphics/libcaca/distinfo | 1 | ||||
-rw-r--r-- | graphics/libcaca/files/patch-Makefile.in | 18 | ||||
-rw-r--r-- | graphics/libcaca/files/patch-examples::Makefile.in | 11 | ||||
-rw-r--r-- | graphics/libcaca/pkg-descr | 7 | ||||
-rw-r--r-- | graphics/libcaca/pkg-plist | 18 |
7 files changed, 100 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 2a65a82..66bd305 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -197,6 +197,7 @@ SUBDIR += libart SUBDIR += libart_lgpl2 SUBDIR += libaux + SUBDIR += libcaca SUBDIR += libdjvu++ SUBDIR += libemf SUBDIR += libexif diff --git a/graphics/libcaca/Makefile b/graphics/libcaca/Makefile new file mode 100644 index 0000000..7bbf333 --- /dev/null +++ b/graphics/libcaca/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: libcaca +# Date created: 11 January 2004 +# Whom: Vincent Tantardini <vinc@FreeBSD-fr.org> +# +# $FreeBSD$ + +PORTNAME= libcaca +PORTVERSION= 0.7 +CATEGORIES= graphics +MASTER_SITES= http://sam.zoy.org/projects/libcaca/ + +MAINTAINER= vinc@FreeBSD-fr.org +COMMENT= Graphics library that outputs text instead of pixels + +GNU_CONFIGURE= yes +USE_REINPLACE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS+= --program-prefix="" \ + --enable-ncurses + +MAN1= caca-config.1 cacademo.1 cacaview.1 + +.if defined(NOPORTDOCS) +MAKE_ENV+= NOPORTDOCS=YES +.endif + +.if defined(WITHOUT_IMLIB2) +CONFIGURE_ARGS+= --disable-imlib2 +.else +LIB_DEPENDS+= Imlib2.2:${PORTSDIR}/graphics/imlib2 +.endif + +.include <bsd.port.pre.mk> + +.if defined(WITH_SLANG) || exists(${LOCALBASE}/lib/libslang.so) +LIB_DEPENDS+= slang.1:${PORTSDIR}/devel/libslang +CONFIGURE_ARGS+= --enable-slang +.endif + +post-patch: + ${REINPLACE_CMD} -e 's,libcaca-dev,libcaca,g' ${WRKSRC}/Makefile.in + +.include <bsd.port.post.mk> diff --git a/graphics/libcaca/distinfo b/graphics/libcaca/distinfo new file mode 100644 index 0000000..16d9016 --- /dev/null +++ b/graphics/libcaca/distinfo @@ -0,0 +1 @@ +MD5 (libcaca-0.7.tar.gz) = 8ff2970ceef1a1e3194615584c9747f2 diff --git a/graphics/libcaca/files/patch-Makefile.in b/graphics/libcaca/files/patch-Makefile.in new file mode 100644 index 0000000..113a762 --- /dev/null +++ b/graphics/libcaca/files/patch-Makefile.in @@ -0,0 +1,18 @@ +--- Makefile.in.orig Wed Jan 7 19:23:13 2004 ++++ Makefile.in Sun Jan 11 23:51:28 2004 +@@ -229,6 +229,7 @@ + uninstall-info-am: + docDATA_INSTALL = $(INSTALL_DATA) + install-docDATA: $(doc_DATA) ++. if !defined (NOPORTDOCS) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(docdir) + @list='$(doc_DATA)'; for p in $$list; do \ +@@ -237,6 +238,7 @@ + echo " $(docDATA_INSTALL) $$d$$p $(DESTDIR)$(docdir)/$$f"; \ + $(docDATA_INSTALL) $$d$$p $(DESTDIR)$(docdir)/$$f; \ + done ++. endif + + uninstall-docDATA: + @$(NORMAL_UNINSTALL) diff --git a/graphics/libcaca/files/patch-examples::Makefile.in b/graphics/libcaca/files/patch-examples::Makefile.in new file mode 100644 index 0000000..2f073b8 --- /dev/null +++ b/graphics/libcaca/files/patch-examples::Makefile.in @@ -0,0 +1,11 @@ +--- examples/Makefile.in.orig Sun Jan 11 19:15:41 2004 ++++ examples/Makefile.in Sun Jan 11 19:16:20 2004 +@@ -76,7 +76,7 @@ + LATEX = @LATEX@ + LATEX_FALSE = @LATEX_FALSE@ + LATEX_TRUE = @LATEX_TRUE@ +-LDFLAGS = @LDFLAGS@ ++LDFLAGS = -lm @LDFLAGS@ + LIBOBJS = @LIBOBJS@ + LIBS = @LIBS@ + LTLIBOBJS = @LTLIBOBJS@ diff --git a/graphics/libcaca/pkg-descr b/graphics/libcaca/pkg-descr new file mode 100644 index 0000000..a4aaf18 --- /dev/null +++ b/graphics/libcaca/pkg-descr @@ -0,0 +1,7 @@ +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. + +WWW: http://sam.zoy.org/projects/libcaca/ diff --git a/graphics/libcaca/pkg-plist b/graphics/libcaca/pkg-plist new file mode 100644 index 0000000..406e6a8 --- /dev/null +++ b/graphics/libcaca/pkg-plist @@ -0,0 +1,18 @@ +bin/caca-config +bin/cacaball +bin/cacademo +bin/cacafire +bin/cacaview +include/caca.h +lib/libcaca.a +lib/libcaca_pic.a +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/BUGS +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/NOTES +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/THANKS +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%DATADIR%%/caca.txt +@dirrm %%DATADIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% |