pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

farbfeld: Import farbfeld-1 as wip/farbfeld.



Module Name:	pkgsrc-wip
Committed By:	Christian Koch <cfkoch%edgebsd.org@localhost>
Pushed By:	cfkoch
Date:		Fri Jan 15 19:46:20 2016 -0800
Changeset:	42159138022cbdb7ba70819041ba604f6271e564

Modified Files:
	Makefile
Added Files:
	farbfeld/DESCR
	farbfeld/Makefile
	farbfeld/PLIST
	farbfeld/distinfo
	farbfeld/patches/patch-config.mk

Log Message:
farbfeld: Import farbfeld-1 as wip/farbfeld.

Farbfeld is a lossless image-format designed to be parsed and piped easily.
It can be compressed easily and beats PNG's filesize in many cases.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=42159138022cbdb7ba70819041ba604f6271e564

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                         |  1 +
 farbfeld/DESCR                   |  2 ++
 farbfeld/Makefile                | 14 ++++++++++++++
 farbfeld/PLIST                   | 10 ++++++++++
 farbfeld/distinfo                |  6 ++++++
 farbfeld/patches/patch-config.mk | 23 +++++++++++++++++++++++
 6 files changed, 56 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 90b21ae..036fea3 100755
--- a/Makefile
+++ b/Makefile
@@ -660,6 +660,7 @@ SUBDIR+=	facedetect
 SUBDIR+=	fairymax
 SUBDIR+=	fakenes
 SUBDIR+=	fala
+SUBDIR+=	farbfeld
 SUBDIR+=	farsi-ttf
 SUBDIR+=	farstream
 SUBDIR+=	fasm
diff --git a/farbfeld/DESCR b/farbfeld/DESCR
new file mode 100644
index 0000000..931422f
--- /dev/null
+++ b/farbfeld/DESCR
@@ -0,0 +1,2 @@
+Farbfeld is a lossless image-format designed to be parsed and piped easily.
+It can be compressed easily and beats PNG's filesize in many cases.
diff --git a/farbfeld/Makefile b/farbfeld/Makefile
new file mode 100644
index 0000000..f5fb66f
--- /dev/null
+++ b/farbfeld/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+DISTNAME=	farbfeld-1
+MASTER_SITES=	http://dl.suckless.org/farbfeld/
+CATEGORIES=	graphics
+LICENSE=	isc
+COMMENT=	Suckless image format with conversion tools
+
+USE_TOOLS+=	gmake
+NO_CONFIGURE=	yes
+
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/farbfeld/PLIST b/farbfeld/PLIST
new file mode 100644
index 0000000..dac1df5
--- /dev/null
+++ b/farbfeld/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD$
+bin/2ff
+bin/ff2png
+bin/jpg2ff
+bin/png2ff
+man/man1/2ff.1
+man/man1/ff2png.1
+man/man1/jpg2ff.1
+man/man1/png2ff.1
+man/man5/farbfeld.5
diff --git a/farbfeld/distinfo b/farbfeld/distinfo
new file mode 100644
index 0000000..718aa80
--- /dev/null
+++ b/farbfeld/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (farbfeld-1.tar.gz) = 06ad65ddf43f3b86174ab0de7316ac5580f9b9fe
+RMD160 (farbfeld-1.tar.gz) = 478fb4bc4ed81071634ac8c301ae56664ecff54d
+Size (farbfeld-1.tar.gz) = 6770 bytes
+SHA1 (patch-config.mk) = b3121df9e7ecacd3bda45eb1c725577288f0bc8c
diff --git a/farbfeld/patches/patch-config.mk b/farbfeld/patches/patch-config.mk
new file mode 100644
index 0000000..09229fd
--- /dev/null
+++ b/farbfeld/patches/patch-config.mk
@@ -0,0 +1,23 @@
+$NetBSD$
+--- ./config.mk.orig	2016-01-06 09:48:12.000000000 -0800
++++ ./config.mk	2016-01-15 19:41:38.000000000 -0800
+@@ -4,14 +4,13 @@
+ # Customize below to fit your system
+ 
+ # paths
+-PREFIX = /usr/local
+-MANPREFIX = ${PREFIX}/man
++MANPREFIX = ${PREFIX}/${PKGMANDIR}
+ 
+-PNGLIB = /usr/local/lib
+-PNGINC = /usr/local/include
++PNGLIB = ${PREFIX}/lib
++PNGINC = ${PREFIX}/include
+ 
+-JPGLIB = /usr/local/lib
+-JPGINC = /usr/local/include
++JPGLIB = ${PREFIX}/lib
++JPGINC = ${PREFIX}/include
+ 
+ INCS = -I${PNGINC} -I${JPGINC}
+ LIBS = -L${PNGLIB} -L${JPGLIB} -lpng -ljpeg


Home | Main Index | Thread Index | Old Index