diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2021-01-18 18:44:05 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2021-01-18 18:44:05 +0000 |
commit | d3d4b23dac9aac1e0d10e6ffc0738b4b85acf3bd (patch) | |
tree | 74dabc0507bfeae36cc314b8ffabaee813d616a0 | |
parent | misc/openmvg: Use external CEREAL library; Add CONFLICTS_BUILD (diff) |
x11/bgs: Update 0.5 -> 0.8
PR: 252409
Submitted by: Zsolt Udvari <uzsolt@uzsolt.hu>
Approved by: jlaffaye (maintainer's timeout 14 days)
Notes
Notes:
svn path=/head/; revision=561957
-rw-r--r-- | x11/bgs/Makefile | 13 | ||||
-rw-r--r-- | x11/bgs/distinfo | 5 | ||||
-rw-r--r-- | x11/bgs/files/patch-config.mk | 40 | ||||
-rw-r--r-- | x11/bgs/pkg-descr | 2 |
4 files changed, 18 insertions, 42 deletions
diff --git a/x11/bgs/Makefile b/x11/bgs/Makefile index e2a4094e5970..efe749c0121e 100644 --- a/x11/bgs/Makefile +++ b/x11/bgs/Makefile @@ -2,20 +2,23 @@ # $FreeBSD$ PORTNAME= bgs -PORTVERSION= 0.5 -PORTREVISION= 5 +DISTVERSIONPREFIX= v +DISTVERSION= 0.8 CATEGORIES= x11 -MASTER_SITES= http://s01.de/~gottox/files/bgs/ \ - http://laffaye.free.fr/distfiles/ MAINTAINER= jlaffaye@FreeBSD.org COMMENT= Simple X11 BackGround Setter using Imlib2 +LICENSE= MIT + LIB_DEPENDS= libImlib2.so:graphics/imlib2 -USES= xorg +USES= pkgconfig xorg USE_XORG= x11 xinerama +USE_GITHUB= yes +GH_ACCOUNT= Gottox + PLIST_FILES= bin/bgs \ man/man1/bgs.1.gz diff --git a/x11/bgs/distinfo b/x11/bgs/distinfo index b63cc0329049..390cff83e167 100644 --- a/x11/bgs/distinfo +++ b/x11/bgs/distinfo @@ -1,2 +1,3 @@ -SHA256 (bgs-0.5.tar.gz) = 9c09d6bbdc8a8710f43fdfa5ba90c7a4bfb940d86c2da9dfbb925bfc844983ac -SIZE (bgs-0.5.tar.gz) = 4619 +TIMESTAMP = 1609769428 +SHA256 (Gottox-bgs-v0.8_GH0.tar.gz) = c52220a503f0ae1a200a2991893229ea981ae33722f41e9bc87bdf399f8d89e7 +SIZE (Gottox-bgs-v0.8_GH0.tar.gz) = 5122 diff --git a/x11/bgs/files/patch-config.mk b/x11/bgs/files/patch-config.mk index a42e74b5ffc3..cbc065bd7246 100644 --- a/x11/bgs/files/patch-config.mk +++ b/x11/bgs/files/patch-config.mk @@ -1,41 +1,13 @@ ---- config.mk.orig 2008-07-13 17:31:26.000000000 +0200 -+++ config.mk 2008-07-14 15:01:43.000000000 +0200 -@@ -4,14 +4,14 @@ +--- config.mk.orig 2021-01-04 14:17:43 UTC ++++ config.mk +@@ -4,8 +4,8 @@ VERSION = 0.8 # Customize below to fit your system - + # paths -PREFIX = /usr/local -MANPREFIX = ${PREFIX}/share/man +PREFIX ?= /usr/local +MANPREFIX = ${PREFIX}/man - --X11INC = /usr/X11R6/include --X11LIB = /usr/X11R6/lib -+X11INC = $(LOCALBASE)/include -+X11LIB = $(LOCALBASE)/lib - --IMLIB2INC = /usr/include/imlib2 --IMLIB2LIB = /usr/lib/imlib2/ -+IMLIB2INC = $(LOCALBASE)/imlib2 -+IMLIB2LIB = $(LOCALBASE)/lib/imlib2/ - + # Xinerama, comment if you don't want it - XINERAMALIBS = -L${X11LIB} -lXinerama -@@ -22,13 +22,13 @@ - LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS} -L ${IMLIB2LIB} -lImlib2 - - # flags --CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} --CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} --LDFLAGS = -s ${LIBS} -+CPPFLAGS += -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} -+CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} -+LDFLAGS += ${LIBS} - - # Solaris - #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" - #LDFLAGS = ${LIBS} - - # compiler and linker --CC = cc -+CC ?= cc + XINERAMALIBS = -lXinerama diff --git a/x11/bgs/pkg-descr b/x11/bgs/pkg-descr index bcdd3c60a771..1c48d8f80ee4 100644 --- a/x11/bgs/pkg-descr +++ b/x11/bgs/pkg-descr @@ -4,4 +4,4 @@ bgs uses imlib2 for image rendering and rotates the images automatically. It is made for dynamic Xinerama/Xrandr setups such as used with notebooks, but it works very fine in any setup. -WWW: http://s01.de/~gottox/index.cgi/proj_bgs +WWW: https://github.com/Gottox/bgs |