diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2003-12-09 00:05:55 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2003-12-09 00:05:55 +0000 |
commit | fe5c5b99397d71640f7fb4c6d74622405b64d08c (patch) | |
tree | 7be561f290346293ca97e255dd09c167fd26b227 /x11/ggiterm | |
parent | db68adcd1a3d3cfb846dcbf4c9ee01e07af6a3fd (diff) | |
download | ports-fe5c5b99397d71640f7fb4c6d74622405b64d08c.tar.gz ports-fe5c5b99397d71640f7fb4c6d74622405b64d08c.zip |
Notes
Diffstat (limited to 'x11/ggiterm')
-rw-r--r-- | x11/ggiterm/Makefile | 58 | ||||
-rw-r--r-- | x11/ggiterm/distinfo | 1 | ||||
-rw-r--r-- | x11/ggiterm/files/patch-Makefile.am | 20 | ||||
-rw-r--r-- | x11/ggiterm/files/patch-ggiterm.c | 21 | ||||
-rw-r--r-- | x11/ggiterm/pkg-descr | 16 | ||||
-rw-r--r-- | x11/ggiterm/pkg-plist | 4 |
6 files changed, 120 insertions, 0 deletions
diff --git a/x11/ggiterm/Makefile b/x11/ggiterm/Makefile new file mode 100644 index 000000000000..244a2af8d567 --- /dev/null +++ b/x11/ggiterm/Makefile @@ -0,0 +1,58 @@ +# New ports collection makefile for: ggiterm +# Date created: 20 October 2003 +# Whom: andi_payn@speedymail.com +# +# $FreeBSD$ +# + +PORTNAME= ggiterm +PORTVERSION= 0.5.1 +CATEGORIES= x11 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ggiterm +DISTNAME= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= ports@FreeBSD.org +COMMENT= A terminal emulator for GGI + +LIB_DEPENDS= ggi.2:${PORTSDIR}/graphics/libggi +.if !defined(WITHOUT_FREETYPE) +LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 +LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv +.endif + +USE_GMAKE= yes +USE_X_PREFIX= yes +INSTALLS_SHLIB= yes + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-ggi=${LOCALBASE} +.if !defined(WITHOUT_FREETYPE) +CONFIGURE_ARGS+=--with-ft-prefix=${LOCALBASE} +.endif + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +pre-everything:: +.if !defined(WITHOUT_FREETYPE) + @${ECHO_MSG} "" + @${ECHO_MSG} "ggiterm can be built without Freetype support. However, as the author says," + @${ECHO_MSG} "'if you don't have freetype you lose much of the ggiterm reason for being,'" + @${ECHO_MSG} "so you probably don't want this. If you do, cancel now and build with:" + @${ECHO_MSG} " WITHOUT_FREETYPE=yes" + @${ECHO_MSG} "" +.else + @${ECHO_MSG} "" + @${ECHO_MSG} "You have chosen to build ggiterm without Freetype. If this wasn't your" + @${ECHO_MSG} "intention, cancel now and unset the 'WITHOUT_FREETYPE' variable." + @${ECHO_MSG} "" +.endif + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/x11/ggiterm/distinfo b/x11/ggiterm/distinfo new file mode 100644 index 000000000000..6fdce0a5ef60 --- /dev/null +++ b/x11/ggiterm/distinfo @@ -0,0 +1 @@ +MD5 (ggiterm-0.5.1.tar.gz) = fc1d37b2dfb82699dc54b6e080329241 diff --git a/x11/ggiterm/files/patch-Makefile.am b/x11/ggiterm/files/patch-Makefile.am new file mode 100644 index 000000000000..243f0888cfcd --- /dev/null +++ b/x11/ggiterm/files/patch-Makefile.am @@ -0,0 +1,20 @@ +diff -ruN ../ggiterm-0.5.1.bak/Makefile.am ./Makefile.am +--- ../ggiterm-0.5.1.bak/Makefile.am Mon Oct 20 18:04:02 2003 ++++ ./Makefile.am Mon Oct 20 18:24:29 2003 +@@ -1,3 +1,3 @@ + bin_PROGRAMS = ggiterm + ggiterm_SOURCES = ggiterm.c ft_support.c ansi.c iconv_support.c graphics.c ggiterm.h config.rpath +-ggiterm_LDFLAGS = @FT2_LIBS@ ++ggiterm_LDFLAGS = @FT2_LIBS@ @LIBICONV@ +diff -ruN ../ggiterm-0.5.1.bak/Makefile.in ./Makefile.in +--- ../ggiterm-0.5.1.bak/Makefile.in Mon Oct 20 18:04:02 2003 ++++ ./Makefile.in Mon Oct 20 18:26:21 2003 +@@ -119,7 +119,7 @@ + target_alias = @target_alias@ + bin_PROGRAMS = ggiterm + ggiterm_SOURCES = ggiterm.c ft_support.c ansi.c iconv_support.c graphics.c ggiterm.h config.rpath +-ggiterm_LDFLAGS = @FT2_LIBS@ ++ggiterm_LDFLAGS = @FT2_LIBS@ @LIBICONV@ + subdir = . + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs diff --git a/x11/ggiterm/files/patch-ggiterm.c b/x11/ggiterm/files/patch-ggiterm.c new file mode 100644 index 000000000000..e376da7dbee1 --- /dev/null +++ b/x11/ggiterm/files/patch-ggiterm.c @@ -0,0 +1,21 @@ +diff -ruN ../ggiterm-0.5.1.bak/ggiterm.c ./ggiterm.c +--- ../ggiterm-0.5.1.bak/ggiterm.c Mon Oct 20 18:04:02 2003 ++++ ./ggiterm.c Mon Oct 20 18:05:09 2003 +@@ -18,13 +18,10 @@ + #include <signal.h> + + /* for forkpty */ +-#ifdef HAVE_FORKPTY +-/* forkpty is in libc */ +-#include <util.h> +-#else +-/* forkpty is in libutil */ +-#include <pty.h> +-#endif /* HAVE_FORKPTY */ ++#include <libutil.h> ++ ++/* for struct winsize */ ++#include <termios.h> + + /* for strcmp */ + #include <string.h> diff --git a/x11/ggiterm/pkg-descr b/x11/ggiterm/pkg-descr new file mode 100644 index 000000000000..70ca8b77ff4d --- /dev/null +++ b/x11/ggiterm/pkg-descr @@ -0,0 +1,16 @@ +GGIterm is an ANSI-compatible terminal emulator (like xterm, rxvt, +gnome-terminal, konsole, etc.), but directed at LibGGI rather than +X11. This means that, unlike most terminal emulators, it can run on a +KGGI, SVGAlib, or other non-X target just as well as under X11. + +GGIterm uses freetype (by default) to render fonts, which means that +you can use TT, Type 1, etc. fonts on your terminal. + +At present, it's not complete--you probably don't want to replace +gnome-terminal or konsole yet under X, and it's only barely been +tested on other targets. But it works. + +WWW: http://ggiterm.sourceforge.net/ + +-- +andi_payn@speedymail.org diff --git a/x11/ggiterm/pkg-plist b/x11/ggiterm/pkg-plist new file mode 100644 index 000000000000..69a5c287dc1f --- /dev/null +++ b/x11/ggiterm/pkg-plist @@ -0,0 +1,4 @@ +bin/ggiterm +%%DOCSDIR%%/AUTHORS +%%DOCSDIR%%/README +@dirrm %%DOCSDIR%% |