Index: head/x11/hsetroot/Makefile =================================================================== --- head/x11/hsetroot/Makefile (revision 505559) +++ head/x11/hsetroot/Makefile (revision 505560) @@ -1,33 +1,31 @@ # Created by: Vincent Tantardini # $FreeBSD$ PORTNAME= hsetroot -PORTVERSION= 1.0.2 -PORTREVISION= 14 +PORTVERSION= 1.0.3 CATEGORIES= x11 MAINTAINER= danfe@FreeBSD.org COMMENT= Wallpaper manipulation utility for X11 LICENSE= GPLv2 LIB_DEPENDS= libImlib2.so:graphics/imlib2 RUN_DEPENDS= xrandr:x11/xrandr USE_GITHUB= yes GH_ACCOUNT= himdel -GH_TAGNAME= 47d887b -USES= pkgconfig +USES= gmake pkgconfig USE_XORG= x11 PLIST_FILES= bin/hsetroot PORTDOCS= README.md OPTIONS_DEFINE= DOCS do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/*.md ${STAGEDIR}${DOCSDIR} .include Index: head/x11/hsetroot/distinfo =================================================================== --- head/x11/hsetroot/distinfo (revision 505559) +++ head/x11/hsetroot/distinfo (revision 505560) @@ -1,3 +1,3 @@ -TIMESTAMP = 1455408551 -SHA256 (himdel-hsetroot-1.0.2-47d887b_GH0.tar.gz) = 5d84b6f34e9c6d2e33a6bbe7a41be5b3100782603b1a4b07e8705a204b39d9be -SIZE (himdel-hsetroot-1.0.2-47d887b_GH0.tar.gz) = 5827 +TIMESTAMP = 1561725415 +SHA256 (himdel-hsetroot-1.0.3_GH0.tar.gz) = ab40a7723080f72bbaf55be546c62f69d5e73d3ccdfa8bb7b6995e8c1798242a +SIZE (himdel-hsetroot-1.0.3_GH0.tar.gz) = 6509 Index: head/x11/hsetroot/files/patch-Makefile =================================================================== --- head/x11/hsetroot/files/patch-Makefile (revision 505559) +++ head/x11/hsetroot/files/patch-Makefile (revision 505560) @@ -1,28 +1,22 @@ ---- Makefile.orig 2016-02-14 00:09:11 UTC +--- Makefile.orig 2019-06-28 12:36:55 UTC +++ Makefile -@@ -1,4 +1,4 @@ --CC=gcc -+CC?=gcc +@@ -18,16 +18,16 @@ LDFLAGS+=$(shell $(PKG_CONFIG) x11 --libs) + CFLAGS+=$(shell $(PKG_CONFIG) imlib2 --cflags) + LDFLAGS+=$(shell $(PKG_CONFIG) imlib2 --libs) - CFLAGS?=-g -O2 -Wall - LDFLAGS?= -@@ -9,14 +9,17 @@ LDFLAGS+=`pkg-config x11 --libs` - CFLAGS+=`pkg-config imlib2 --cflags` - LDFLAGS+=`pkg-config imlib2 --libs` - +all: hsetroot + hsetroot: hsetroot.o outputs_xrandr.o -+ $(CC) $(LDFLAGS) -o $@ $> hsetroot.o: hsetroot.c outputs.h -outputs.o: outputs.c outputs.h -+outputs_xrandr.o: outputs_xrandr.c outputs.h +- + outputs_xrandr.o: outputs_xrandr.c outputs.h install: hsetroot - install -st /usr/local/bin/ hsetroot -+ $(BSD_INSTALL_PROGRAM) $> $(DESTDIR)$(PREFIX)/bin ++ $(BSD_INSTALL_PROGRAM) $^ $(DESTDIR)$(PREFIX)/bin clean: rm -f hsetroot *.o