aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2016-02-28 22:53:05 +0800
committerrakuco <rakuco@FreeBSD.org>2016-02-28 22:53:05 +0800
commit5bc0bce14f6ee3b2f6f14b81f46e3c5a18965401 (patch)
tree31c930168a284a084e0dce33be20c794d1049426 /graphics
parentdf90a479b898cf988b9b776aa9b584f9c44d8d43 (diff)
downloadfreebsd-ports-gnome-5bc0bce14f6ee3b2f6f14b81f46e3c5a18965401.tar.gz
freebsd-ports-gnome-5bc0bce14f6ee3b2f6f14b81f46e3c5a18965401.tar.zst
freebsd-ports-gnome-5bc0bce14f6ee3b2f6f14b81f46e3c5a18965401.zip
New port: graphics/farbfeld.
Farbfeld is a lossless image format which is easy to parse, pipe and compress. WWW: http://tools.suckless.org/farbfeld/ PR: 207461 Submitted by: aaron@baugher.biz
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/farbfeld/Makefile18
-rw-r--r--graphics/farbfeld/distinfo2
-rw-r--r--graphics/farbfeld/files/patch-config.mk13
-rw-r--r--graphics/farbfeld/pkg-descr4
-rw-r--r--graphics/farbfeld/pkg-plist9
6 files changed, 47 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 6694e1a0b2f8..695933f7cbbc 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -172,6 +172,7 @@
SUBDIR += exiftran
SUBDIR += exiv2
SUBDIR += exrtools
+ SUBDIR += farbfeld
SUBDIR += feh
SUBDIR += ffff
SUBDIR += fig2sxd
diff --git a/graphics/farbfeld/Makefile b/graphics/farbfeld/Makefile
new file mode 100644
index 000000000000..aaeb75aaad6b
--- /dev/null
+++ b/graphics/farbfeld/Makefile
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+PORTNAME= farbfeld
+PORTVERSION= 1
+CATEGORIES= graphics
+MASTER_SITES= http://dl.suckless.org/farbfeld/
+
+MAINTAINER= aaron@baugher.biz
+COMMENT= Lossless, uncompressed graphics format
+
+LICENSE= ISCL
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
+
+USES= jpeg
+
+.include <bsd.port.mk>
diff --git a/graphics/farbfeld/distinfo b/graphics/farbfeld/distinfo
new file mode 100644
index 000000000000..f339ea8e3277
--- /dev/null
+++ b/graphics/farbfeld/distinfo
@@ -0,0 +1,2 @@
+SHA256 (farbfeld-1.tar.gz) = 34faf878ee9bf20a690604b2e09f97ce517b20bb7b5e37433997941825c0b46e
+SIZE (farbfeld-1.tar.gz) = 6770
diff --git a/graphics/farbfeld/files/patch-config.mk b/graphics/farbfeld/files/patch-config.mk
new file mode 100644
index 000000000000..f07e9b4f4f65
--- /dev/null
+++ b/graphics/farbfeld/files/patch-config.mk
@@ -0,0 +1,13 @@
+--- config.mk.orig 2016-02-19 12:59:50.769556000 -0600
++++ config.mk 2016-02-19 12:56:15.846580000 -0600
+@@ -18,8 +18,8 @@
+
+ # flags
+ CPPFLAGS = -D_DEFAULT_SOURCE
+-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
++CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+ LDFLAGS = -s ${LIBS}
+
+ # compiler and linker
+-CC = cc
++CC ?= cc
diff --git a/graphics/farbfeld/pkg-descr b/graphics/farbfeld/pkg-descr
new file mode 100644
index 000000000000..f8c594e2f05a
--- /dev/null
+++ b/graphics/farbfeld/pkg-descr
@@ -0,0 +1,4 @@
+Farbfeld is a lossless image format which is easy to parse, pipe and
+compress.
+
+WWW: http://tools.suckless.org/farbfeld/
diff --git a/graphics/farbfeld/pkg-plist b/graphics/farbfeld/pkg-plist
new file mode 100644
index 000000000000..9c5b13d8ef85
--- /dev/null
+++ b/graphics/farbfeld/pkg-plist
@@ -0,0 +1,9 @@
+bin/2ff
+bin/ff2png
+bin/jpg2ff
+bin/png2ff
+man/man1/2ff.1.gz
+man/man1/ff2png.1.gz
+man/man1/jpg2ff.1.gz
+man/man1/png2ff.1.gz
+man/man5/farbfeld.5.gz