diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2013-04-29 10:19:15 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2013-04-29 10:19:15 +0000 |
commit | 0188f3e903f5a40900323c9fbaa6bf9637e58027 (patch) | |
tree | 2d57f38456ee06002848431d6d4ce29c7bb31d33 | |
parent | 7dd6a4d5e7094eeb5f1bf37472ef0b41ad229fb3 (diff) |
Notes
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/icat/Makefile | 33 | ||||
-rw-r--r-- | graphics/icat/distinfo | 2 | ||||
-rw-r--r-- | graphics/icat/files/patch-Makefile | 24 | ||||
-rw-r--r-- | graphics/icat/pkg-descr | 4 |
5 files changed, 64 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 60bcc4643aa0..4f842a0adfc1 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -366,6 +366,7 @@ SUBDIR += hs-svgcairo SUBDIR += hsetroot SUBDIR += hugin + SUBDIR += icat SUBDIR += icc-profiles-basiccolor SUBDIR += icc-profiles-openicc SUBDIR += iccxml diff --git a/graphics/icat/Makefile b/graphics/icat/Makefile new file mode 100644 index 000000000000..53d8d61f5ee2 --- /dev/null +++ b/graphics/icat/Makefile @@ -0,0 +1,33 @@ +# Created by: Emanuel Haupt <ehaupt@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= icat +PORTVERSION= 0.4 +CATEGORIES= graphics + +MAINTAINER= ehaupt@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> diff --git a/graphics/icat/distinfo b/graphics/icat/distinfo new file mode 100644 index 000000000000..e12dc816ef52 --- /dev/null +++ b/graphics/icat/distinfo @@ -0,0 +1,2 @@ +SHA256 (icat-0.4.tar.gz) = 887678f5232dda6ede734f0e4d2872b760aa06c7c619b1261e6055ebbee3c0b0 +SIZE (icat-0.4.tar.gz) = 7871 diff --git a/graphics/icat/files/patch-Makefile b/graphics/icat/files/patch-Makefile new file mode 100644 index 000000000000..2414cf57e660 --- /dev/null +++ b/graphics/icat/files/patch-Makefile @@ -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) diff --git a/graphics/icat/pkg-descr b/graphics/icat/pkg-descr new file mode 100644 index 000000000000..ae88bab0a9b4 --- /dev/null +++ b/graphics/icat/pkg-descr @@ -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 |