aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2017-07-24 01:10:39 +0800
committertobik <tobik@FreeBSD.org>2017-07-24 01:10:39 +0800
commit53af252df341053bbe884ad7bcd12f84d6fdd391 (patch)
treeb3db51f7cf7b02d135f50c5bf6d869034c712df5 /graphics
parentd4c3ae4c05a0996513bbfed2c1ff3e54520132f0 (diff)
downloadfreebsd-ports-gnome-53af252df341053bbe884ad7bcd12f84d6fdd391.tar.gz
freebsd-ports-gnome-53af252df341053bbe884ad7bcd12f84d6fdd391.tar.zst
freebsd-ports-gnome-53af252df341053bbe884ad7bcd12f84d6fdd391.zip
graphics/farbfeld: Update to 3
PR: 220946 Submitted by: aaron@baugher.biz (maintainer)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/farbfeld/Makefile2
-rw-r--r--graphics/farbfeld/distinfo5
-rw-r--r--graphics/farbfeld/files/patch-config.mk13
-rw-r--r--graphics/farbfeld/pkg-plist6
4 files changed, 18 insertions, 8 deletions
diff --git a/graphics/farbfeld/Makefile b/graphics/farbfeld/Makefile
index b60add97eb16..d90066f48018 100644
--- a/graphics/farbfeld/Makefile
+++ b/graphics/farbfeld/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= farbfeld
-PORTVERSION= 2
+PORTVERSION= 3
CATEGORIES= graphics
MASTER_SITES= http://dl.suckless.org/farbfeld/
diff --git a/graphics/farbfeld/distinfo b/graphics/farbfeld/distinfo
index ac2152c00e8f..6c24d2758b39 100644
--- a/graphics/farbfeld/distinfo
+++ b/graphics/farbfeld/distinfo
@@ -1,2 +1,3 @@
-SHA256 (farbfeld-2.tar.gz) = a366e7628274fb9b4dc9508a7340a32b5e7557d99895b7ed7b5165241d613f58
-SIZE (farbfeld-2.tar.gz) = 6646
+TIMESTAMP = 1500781142
+SHA256 (farbfeld-3.tar.gz) = 5b953b86a72d3feaedf62698532c8888e5f6e2f6363193a4cc8cee0e38c378ad
+SIZE (farbfeld-3.tar.gz) = 10169
diff --git a/graphics/farbfeld/files/patch-config.mk b/graphics/farbfeld/files/patch-config.mk
index 13e9dddda49c..cfa89f8485d4 100644
--- a/graphics/farbfeld/files/patch-config.mk
+++ b/graphics/farbfeld/files/patch-config.mk
@@ -1,12 +1,15 @@
---- config.mk.orig 2016-03-15 17:46:09 UTC
+--- config.mk.orig 2017-07-23 04:09:50 UTC
+++ config.mk
-@@ -18,8 +18,8 @@ LIBS = -L${PNGLIB} -L${JPGLIB} -lpng -lj
+@@ -9,10 +9,10 @@ MANPREFIX = ${PREFIX}/man
# flags
CPPFLAGS = -D_DEFAULT_SOURCE
--CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
-+CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
- LDFLAGS = -s ${LIBS}
+-CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os
+-LDFLAGS = -s
++CFLAGS += -std=c99 -pedantic -Wall -Wextra -Os -I${LOCALBASE}/include
++LDFLAGS = -s -L${LOCALBASE}/lib
+ PNG-LDFLAGS = -lpng
+ JPG-LDFLAGS = -ljpeg
# compiler and linker
-CC = cc
diff --git a/graphics/farbfeld/pkg-plist b/graphics/farbfeld/pkg-plist
index 9c5b13d8ef85..3f1f2bcca7ba 100644
--- a/graphics/farbfeld/pkg-plist
+++ b/graphics/farbfeld/pkg-plist
@@ -1,9 +1,15 @@
bin/2ff
+bin/ff2jpg
+bin/ff2pam
bin/ff2png
+bin/ff2ppm
bin/jpg2ff
bin/png2ff
man/man1/2ff.1.gz
+man/man1/ff2jpg.1.gz
+man/man1/ff2pam.1.gz
man/man1/ff2png.1.gz
+man/man1/ff2ppm.1.gz
man/man1/jpg2ff.1.gz
man/man1/png2ff.1.gz
man/man5/farbfeld.5.gz