aboutsummaryrefslogtreecommitdiff
path: root/graphics/farbfeld
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2016-02-28 14:53:05 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2016-02-28 14:53:05 +0000
commit851388541c01987c926d807a141fb6af1f6719c2 (patch)
tree31c930168a284a084e0dce33be20c794d1049426 /graphics/farbfeld
parentc1003c1d5ba2c0f19ee98326749e49b05a721af4 (diff)
downloadports-851388541c01987c926d807a141fb6af1f6719c2.tar.gz
ports-851388541c01987c926d807a141fb6af1f6719c2.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
Notes
Notes: svn path=/head/; revision=409744
Diffstat (limited to 'graphics/farbfeld')
-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
5 files changed, 46 insertions, 0 deletions
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