svn commit: r316793 - in head/graphics: . icat icat/files

Emanuel Haupt ehaupt at FreeBSD.org
Mon Apr 29 10:19:16 UTC 2013


Author: ehaupt
Date: Mon Apr 29 10:19:15 2013
New Revision: 316793
URL: http://svnweb.freebsd.org/changeset/ports/316793

Log:
  Add icat, displays images in 256-color capable terminals.

Added:
  head/graphics/icat/
  head/graphics/icat/Makefile   (contents, props changed)
  head/graphics/icat/distinfo   (contents, props changed)
  head/graphics/icat/files/
  head/graphics/icat/files/patch-Makefile   (contents, props changed)
  head/graphics/icat/pkg-descr   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Mon Apr 29 09:55:29 2013	(r316792)
+++ head/graphics/Makefile	Mon Apr 29 10:19:15 2013	(r316793)
@@ -366,6 +366,7 @@
     SUBDIR += hs-svgcairo
     SUBDIR += hsetroot
     SUBDIR += hugin
+    SUBDIR += icat
     SUBDIR += icc-profiles-basiccolor
     SUBDIR += icc-profiles-openicc
     SUBDIR += iccxml

Added: head/graphics/icat/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/icat/Makefile	Mon Apr 29 10:19:15 2013	(r316793)
@@ -0,0 +1,33 @@
+# Created by: Emanuel Haupt <ehaupt at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	icat
+PORTVERSION=	0.4
+CATEGORIES=	graphics
+
+MAINTAINER=	ehaupt at FreeBSD.org
+COMMENT=	Displays images in 256-color capable terminals
+
+USE_GMAKE=	yes
+USE_DOS2UNIX=	Makefile
+USE_EFL=	imlib2
+USE_GITHUB=	yes
+GH_ACCOUNT=	atextor
+GH_TAGNAME=	v${PORTVERSION}
+GH_COMMIT=	e8bee81
+
+MAKE_JOBS_SAFE=	yes
+
+CFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
+WRKSRC=		${WRKDIR}/${GH_ACCOUNT}-${PORTNAME}-${GH_COMMIT}
+
+PLIST_FILES=	bin/icat
+
+CONFLICTS=	sleuthkit-[0-9]*
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+.include <bsd.port.mk>

Added: head/graphics/icat/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/icat/distinfo	Mon Apr 29 10:19:15 2013	(r316793)
@@ -0,0 +1,2 @@
+SHA256 (icat-0.4.tar.gz) = 887678f5232dda6ede734f0e4d2872b760aa06c7c619b1261e6055ebbee3c0b0
+SIZE (icat-0.4.tar.gz) = 7871

Added: head/graphics/icat/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/icat/files/patch-Makefile	Mon Apr 29 10:19:15 2013	(r316793)
@@ -0,0 +1,24 @@
+--- ./Makefile.orig	2013-04-29 11:51:10.242627983 +0200
++++ ./Makefile	2013-04-29 11:51:26.370242683 +0200
+@@ -1,16 +1,16 @@
+-GCC=gcc
+-CCFLAGS=-Wall -pedantic -std=c99 -D_BSD_SOURCE
+-LDFLAGS=-lImlib2
++CC?=gcc
++CFLAGS+=-Wall -pedantic -std=c99 -D_BSD_SOURCE
++LDFLAGS+=-lImlib2
+ PROG=icat
+ MODS=icat.o
+ 
+ all: $(PROG)
+ 
+ %.o: %.c
+-	$(GCC) -c $(CCFLAGS) -o $@ $<
++	$(CC) -c $(CFLAGS) -o $@ $<
+ 
+ $(PROG): $(MODS)
+-	$(GCC) -o $@ $< $(LDFLAGS)
++	$(CC) -o $@ $< $(LDFLAGS)
+ 
+ clean:
+ 	-rm -f $(PROG) $(MODS)

Added: head/graphics/icat/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/icat/pkg-descr	Mon Apr 29 10:19:15 2013	(r316793)
@@ -0,0 +1,4 @@
+Displays an image in a 256-color enabled terminal with UTF-8 locale, such as
+gnome-terminal, konsole, uxterm or rxvt-unicode (urxvt).
+
+WWW: https://github.com/atextor/icat


More information about the svn-ports-all mailing list