svn commit: r470252 - in head/graphics/scrot: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri May 18 00:18:03 UTC 2018


Author: amdmi3
Date: Fri May 18 00:18:01 2018
New Revision: 470252
URL: https://svnweb.freebsd.org/changeset/ports/470252

Log:
   - Replace MASTER_SITES with GitHub (no code changes)
   - Add LICENSE
   - Add missing LIB_DEPENDS and USE_XORG
   - Regenerate patches
   - Improve pkg-descr
  
  PR:		228258
  Submitted by:	0mp

Modified:
  head/graphics/scrot/Makefile
  head/graphics/scrot/distinfo
  head/graphics/scrot/files/patch-Makefile.in
  head/graphics/scrot/files/patch-src-Makefile.in
  head/graphics/scrot/pkg-descr

Modified: head/graphics/scrot/Makefile
==============================================================================
--- head/graphics/scrot/Makefile	Fri May 18 00:15:13 2018	(r470251)
+++ head/graphics/scrot/Makefile	Fri May 18 00:18:01 2018	(r470252)
@@ -2,18 +2,25 @@
 # $FreeBSD$
 
 PORTNAME=	scrot
-PORTVERSION=	0.8
-PORTREVISION=	7
+DISTVERSIONPREFIX=	${PORTNAME}-
+DISTVERSION=	0.8
+PORTREVISION=	8
 CATEGORIES=	graphics
-MASTER_SITES=	http://linuxbrit.co.uk/downloads/ \
-		http://mirror.amdmi3.ru/distfiles/
 
 MAINTAINER=	amdmi3 at FreeBSD.org
 COMMENT=	Screen capture utility that utilizes Imlib2
 
-LIB_DEPENDS=	libgiblib.so:graphics/giblib
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/COPYING
 
+LIB_DEPENDS=	libgiblib.so:graphics/giblib \
+		libImlib2.so:graphics/imlib2
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	dreamer
+
 GNU_CONFIGURE=	yes
+USE_XORG=	x11
 
 PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
 PORTDOCS=	*

Modified: head/graphics/scrot/distinfo
==============================================================================
--- head/graphics/scrot/distinfo	Fri May 18 00:15:13 2018	(r470251)
+++ head/graphics/scrot/distinfo	Fri May 18 00:18:01 2018	(r470252)
@@ -1,2 +1,3 @@
-SHA256 (scrot-0.8.tar.gz) = 613d1cf524c2b62ce3c65f1232ea4f05c7daf248d5e82ff2a6892c98093994f2
-SIZE (scrot-0.8.tar.gz) = 74324
+TIMESTAMP = 1526342099
+SHA256 (dreamer-scrot-scrot-0.8_GH0.tar.gz) = ca9156a06b468334e18220040b2984da60136f6a2e0e979f668eda6e3f1e1c05
+SIZE (dreamer-scrot-scrot-0.8_GH0.tar.gz) = 73797

Modified: head/graphics/scrot/files/patch-Makefile.in
==============================================================================
--- head/graphics/scrot/files/patch-Makefile.in	Fri May 18 00:15:13 2018	(r470251)
+++ head/graphics/scrot/files/patch-Makefile.in	Fri May 18 00:18:01 2018	(r470252)
@@ -1,6 +1,6 @@
---- Makefile.in.orig	Wed Aug 29 13:57:11 2001
-+++ Makefile.in	Sun Jan 27 10:19:21 2002
-@@ -82,7 +82,7 @@
+--- Makefile.in.orig	2010-05-15 23:25:41 UTC
++++ Makefile.in
+@@ -82,7 +82,7 @@ INCLUDES = -I/usr/X11R6/include $(X_CFLAGS) -I$(prefix
  man_MANS = scrot.1
  
  docs_DATA = README AUTHORS ChangeLog TODO

Modified: head/graphics/scrot/files/patch-src-Makefile.in
==============================================================================
--- head/graphics/scrot/files/patch-src-Makefile.in	Fri May 18 00:15:13 2018	(r470251)
+++ head/graphics/scrot/files/patch-src-Makefile.in	Fri May 18 00:18:01 2018	(r470252)
@@ -1,6 +1,6 @@
---- src/Makefile.in.orig	Sat Dec 16 16:25:06 2000
-+++ src/Makefile.in	Sat Dec 16 23:32:08 2000
-@@ -70,7 +70,7 @@
+--- src/Makefile.in.orig	2010-05-15 23:25:41 UTC
++++ src/Makefile.in
+@@ -74,7 +74,7 @@ VERSION = @VERSION@
  MAINTAINERCLEANFILES = Makefile.in				
  
  LDFLAGS = -L/usr/X11R6/lib

Modified: head/graphics/scrot/pkg-descr
==============================================================================
--- head/graphics/scrot/pkg-descr	Fri May 18 00:15:13 2018	(r470251)
+++ head/graphics/scrot/pkg-descr	Fri May 18 00:18:01 2018	(r470252)
@@ -1,3 +1,15 @@
-A screen capture utility that utilizes Imlib2.
+A screen capture CLI utility that utilizes Imlib2.
 
-WWW: http://linuxbrit.co.uk/scrot/
+It has the following set of features:
+
+ - user-definable time delay
+ - image quality control
+ - interactive rectangular mouse selection of any screen part
+ - screen capture for individual windows
+ - scriptable screen shot processing
+
+Although scrot is no longer in active development, it is still widely used
+today. Similar programs, which were either based on or inspired by scrot, are
+graphics/maim and x11/slop.
+
+WWW: https://github.com/dreamer/scrot


More information about the svn-ports-all mailing list