1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

graphics/farbfeld: Update 3 -> 4

Port changes:
* Change to DISTVERSION
* Change MASTER_SITES to https
* Update COMMENT
* Add MANPREFIX fix to the patch

PR:		227449
Submitted by:	Aaron Baugher <aaron@baugher.biz> (maintainer)
This commit is contained in:
Yuri Victorovich 2018-04-12 09:44:13 +00:00
parent 0b48d2640d
commit 3eb64ea5c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=467138
3 changed files with 15 additions and 10 deletions

View File

@ -1,12 +1,12 @@
# $FreeBSD$
PORTNAME= farbfeld
PORTVERSION= 3
DISTVERSION= 4
CATEGORIES= graphics
MASTER_SITES= http://dl.suckless.org/farbfeld/
MASTER_SITES= https://dl.suckless.org/farbfeld/
MAINTAINER= aaron@baugher.biz
COMMENT= Lossless, uncompressed graphics format
COMMENT= Lossless image format which is easy to parse, pipe and compress
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1500781142
SHA256 (farbfeld-3.tar.gz) = 5b953b86a72d3feaedf62698532c8888e5f6e2f6363193a4cc8cee0e38c378ad
SIZE (farbfeld-3.tar.gz) = 10169
TIMESTAMP = 1523455293
SHA256 (farbfeld-4.tar.gz) = c7df5921edd121ca5d5b1cf6fb01e430aff9b31242262e4f690d3af72ccbe72a
SIZE (farbfeld-4.tar.gz) = 10340

View File

@ -1,6 +1,11 @@
--- config.mk.orig 2017-07-23 04:09:50 UTC
--- config.mk.orig 2018-04-11 10:59:06 UTC
+++ config.mk
@@ -9,10 +9,10 @@ MANPREFIX = ${PREFIX}/man
@@ -5,14 +5,14 @@ VERSION = 4
# paths
PREFIX = /usr/local
-MANPREFIX = $(PREFIX)/share/man
+MANPREFIX = $(PREFIX)/man
# flags
CPPFLAGS = -D_DEFAULT_SOURCE
@ -8,8 +13,8 @@
-LDFLAGS = -s
+CFLAGS += -std=c99 -pedantic -Wall -Wextra -Os -I${LOCALBASE}/include
+LDFLAGS = -s -L${LOCALBASE}/lib
PNG-LDFLAGS = -lpng
JPG-LDFLAGS = -ljpeg
PNG-LDLIBS = -lpng
JPG-LDLIBS = -ljpeg
# compiler and linker
-CC = cc