diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2018-05-18 08:18:01 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2018-05-18 08:18:01 +0800 |
commit | 86f41580c0af93d9766593924f0dc3e27818ddde (patch) | |
tree | b2ecc6f568ef0c2d057ee68608f54d67f2a73439 /graphics | |
parent | 5f76fa7d9df690834f1c24ae6ce7a83b30443a59 (diff) | |
download | freebsd-ports-graphics-86f41580c0af93d9766593924f0dc3e27818ddde.tar.gz freebsd-ports-graphics-86f41580c0af93d9766593924f0dc3e27818ddde.tar.zst freebsd-ports-graphics-86f41580c0af93d9766593924f0dc3e27818ddde.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
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/scrot/Makefile | 17 | ||||
-rw-r--r-- | graphics/scrot/distinfo | 5 | ||||
-rw-r--r-- | graphics/scrot/files/patch-Makefile.in | 6 | ||||
-rw-r--r-- | graphics/scrot/files/patch-src-Makefile.in | 6 | ||||
-rw-r--r-- | graphics/scrot/pkg-descr | 16 |
5 files changed, 35 insertions, 15 deletions
diff --git a/graphics/scrot/Makefile b/graphics/scrot/Makefile index 41fea08a4ff..559e4ed8549 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 e6301c996e9..e565617fc9b 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 4a66dcb2880..3871d51d52b 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 478c88a37a4..a50b4ac6c5a 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 35cc8450bbc..caaf6e0f18e 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 |