aboutsummaryrefslogtreecommitdiff
path: root/graphics/libcaca
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-07-05 18:08:18 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-07-05 18:08:18 +0000
commit9975fcf45cfd292f1687d356e451f07d8ab70388 (patch)
tree3a6fce4524f8c902d8075a3ab2edb7a744c84b83 /graphics/libcaca
parentc446b154c9363e6e75005838674d1859c0319be0 (diff)
downloadports-9975fcf45cfd292f1687d356e451f07d8ab70388.tar.gz
ports-9975fcf45cfd292f1687d356e451f07d8ab70388.zip
Notes
Diffstat (limited to 'graphics/libcaca')
-rw-r--r--graphics/libcaca/Makefile6
-rw-r--r--graphics/libcaca/distinfo4
-rw-r--r--graphics/libcaca/files/patch-configure11
-rw-r--r--graphics/libcaca/files/patch-examples::Makefile.in10
-rw-r--r--graphics/libcaca/pkg-plist2
5 files changed, 24 insertions, 9 deletions
diff --git a/graphics/libcaca/Makefile b/graphics/libcaca/Makefile
index dce1dd95eede..b413548d7740 100644
--- a/graphics/libcaca/Makefile
+++ b/graphics/libcaca/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= libcaca
-PORTVERSION= 0.7
+PORTVERSION= 0.9
CATEGORIES= graphics
MASTER_SITES= http://sam.zoy.org/projects/libcaca/
@@ -17,7 +17,8 @@ USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+= --program-prefix="" \
- --enable-ncurses
+ --enable-ncurses \
+ --disable-doc
MAN1= caca-config.1 cacademo.1 cacaview.1
@@ -40,5 +41,6 @@ CONFIGURE_ARGS+= --enable-slang
post-patch:
${REINPLACE_CMD} -e 's,libcaca-dev,libcaca,g' ${WRKSRC}/Makefile.in
+ ${REINPLACE_CMD} -e 's,resize_term,resizeterm,g' ${WRKSRC}/src/graphics.c
.include <bsd.port.post.mk>
diff --git a/graphics/libcaca/distinfo b/graphics/libcaca/distinfo
index 7ca1caaf13ac..b138f10b0b81 100644
--- a/graphics/libcaca/distinfo
+++ b/graphics/libcaca/distinfo
@@ -1,2 +1,2 @@
-MD5 (libcaca-0.7.tar.gz) = 8ff2970ceef1a1e3194615584c9747f2
-SIZE (libcaca-0.7.tar.gz) = 196512
+MD5 (libcaca-0.9.tar.gz) = 95a0a89fbd147f6610176fab66d0dd7c
+SIZE (libcaca-0.9.tar.gz) = 215622
diff --git a/graphics/libcaca/files/patch-configure b/graphics/libcaca/files/patch-configure
new file mode 100644
index 000000000000..8bcbd2555304
--- /dev/null
+++ b/graphics/libcaca/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Mon Feb 2 04:00:34 2004
++++ configure Sun Jul 4 21:16:49 2004
+@@ -4884,7 +4884,7 @@
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lslang $LIBS"
++LIBS="-lslang -lncurses $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
diff --git a/graphics/libcaca/files/patch-examples::Makefile.in b/graphics/libcaca/files/patch-examples::Makefile.in
index 2f073b8bd14f..3a2a446144df 100644
--- a/graphics/libcaca/files/patch-examples::Makefile.in
+++ b/graphics/libcaca/files/patch-examples::Makefile.in
@@ -1,9 +1,9 @@
---- 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 @@
+--- examples/Makefile.in.orig Mon Feb 2 04:00:44 2004
++++ examples/Makefile.in Mon Mar 15 10:38:44 2004
+@@ -72,7 +72,7 @@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LATEX = @LATEX@
- LATEX_FALSE = @LATEX_FALSE@
- LATEX_TRUE = @LATEX_TRUE@
-LDFLAGS = @LDFLAGS@
+LDFLAGS = -lm @LDFLAGS@
LIBOBJS = @LIBOBJS@
diff --git a/graphics/libcaca/pkg-plist b/graphics/libcaca/pkg-plist
index 406e6a82654e..6f77ddc5b189 100644
--- a/graphics/libcaca/pkg-plist
+++ b/graphics/libcaca/pkg-plist
@@ -2,6 +2,8 @@ bin/caca-config
bin/cacaball
bin/cacademo
bin/cacafire
+bin/cacamoir
+bin/cacaplas
bin/cacaview
include/caca.h
lib/libcaca.a