aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-05-18 00:18:01 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-05-18 00:18:01 +0000
commit3b389e4423a547bb18bfa83a55da551a91e3f382 (patch)
treeb2ecc6f568ef0c2d057ee68608f54d67f2a73439 /graphics
parenteb127ed8a94219a19bd0272ec270a8c77b8616f0 (diff)
downloadports-3b389e4423a547bb18bfa83a55da551a91e3f382.tar.gz
ports-3b389e4423a547bb18bfa83a55da551a91e3f382.zip
- 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
Notes
Notes: svn path=/head/; revision=470252
Diffstat (limited to 'graphics')
-rw-r--r--graphics/scrot/Makefile17
-rw-r--r--graphics/scrot/distinfo5
-rw-r--r--graphics/scrot/files/patch-Makefile.in6
-rw-r--r--graphics/scrot/files/patch-src-Makefile.in6
-rw-r--r--graphics/scrot/pkg-descr16
5 files changed, 35 insertions, 15 deletions
diff --git a/graphics/scrot/Makefile b/graphics/scrot/Makefile
index 41fea08a4ff4..559e4ed85494 100644
--- a/graphics/scrot/Makefile
+++ b/graphics/scrot/Makefile
@@ -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@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= *
diff --git a/graphics/scrot/distinfo b/graphics/scrot/distinfo
index e6301c996e99..e565617fc9bc 100644
--- a/graphics/scrot/distinfo
+++ b/graphics/scrot/distinfo
@@ -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
diff --git a/graphics/scrot/files/patch-Makefile.in b/graphics/scrot/files/patch-Makefile.in
index 4a66dcb2880b..3871d51d52bd 100644
--- a/graphics/scrot/files/patch-Makefile.in
+++ b/graphics/scrot/files/patch-Makefile.in
@@ -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
diff --git a/graphics/scrot/files/patch-src-Makefile.in b/graphics/scrot/files/patch-src-Makefile.in
index 478c88a37a44..a50b4ac6c5a0 100644
--- a/graphics/scrot/files/patch-src-Makefile.in
+++ b/graphics/scrot/files/patch-src-Makefile.in
@@ -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
diff --git a/graphics/scrot/pkg-descr b/graphics/scrot/pkg-descr
index 35cc8450bbc1..caaf6e0f18e0 100644
--- a/graphics/scrot/pkg-descr
+++ b/graphics/scrot/pkg-descr
@@ -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