aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authornik <nik@FreeBSD.org>2001-05-19 00:32:25 +0800
committernik <nik@FreeBSD.org>2001-05-19 00:32:25 +0800
commit6148fd04f8c1c45dcff559ad4a69ee97af3dcd34 (patch)
tree9ffc6e40bd44aa11689273e479182d2962dada3b /graphics
parentce329a2182172d5acfdc0c4fb8fbffa513956c8d (diff)
downloadfreebsd-ports-gnome-6148fd04f8c1c45dcff559ad4a69ee97af3dcd34.tar.gz
freebsd-ports-gnome-6148fd04f8c1c45dcff559ad4a69ee97af3dcd34.tar.zst
freebsd-ports-gnome-6148fd04f8c1c45dcff559ad4a69ee97af3dcd34.zip
Add shot2png, which takes syscons screenshots generated by scrshot(1) and
turns 'em in to PNG files.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/shot2png/Makefile26
-rw-r--r--graphics/shot2png/distinfo1
-rw-r--r--graphics/shot2png/pkg-comment1
-rw-r--r--graphics/shot2png/pkg-descr2
-rw-r--r--graphics/shot2png/pkg-plist1
6 files changed, 32 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index d9a2544842ad..ea338cd49ccf 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -212,6 +212,7 @@
SUBDIR += sdl_image
SUBDIR += sdl_ttf
SUBDIR += seejpeg
+ SUBDIR += shot2png
SUBDIR += sketch
SUBDIR += smpeg
SUBDIR += smpeg-xmms
diff --git a/graphics/shot2png/Makefile b/graphics/shot2png/Makefile
new file mode 100644
index 000000000000..3ad4a225e64a
--- /dev/null
+++ b/graphics/shot2png/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: shot2png
+# Date created: 18 May 2001
+# Whom: nik
+#
+# $FreeBSD$
+#
+
+PORTNAME= shot2png
+PORTVERSION= 1.0
+CATEGORIES= graphics
+
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR=nik
+NO_WRKSUBDIR= yes
+
+MAINTAINER= nik@freebsd.org
+
+LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd
+
+MAN1= shot2png.1
+MANCOMPRESSED= yes
+
+do-install:
+ @cd ${WRKSRC}; ${MAKE} BINDIR=${LOCALBASE}/bin SHAREDIR=${LOCALBASE} install
+
+.include <bsd.port.mk>
diff --git a/graphics/shot2png/distinfo b/graphics/shot2png/distinfo
new file mode 100644
index 000000000000..6f9ae6f34e83
--- /dev/null
+++ b/graphics/shot2png/distinfo
@@ -0,0 +1 @@
+MD5 (shot2png-1.0.tar.gz) = c42d2fc9cee6dd2ec505695256fd77b5
diff --git a/graphics/shot2png/pkg-comment b/graphics/shot2png/pkg-comment
new file mode 100644
index 000000000000..ba9e384ccae7
--- /dev/null
+++ b/graphics/shot2png/pkg-comment
@@ -0,0 +1 @@
+Converts the output of scrshot(1) to PNG
diff --git a/graphics/shot2png/pkg-descr b/graphics/shot2png/pkg-descr
new file mode 100644
index 000000000000..14e8d364e893
--- /dev/null
+++ b/graphics/shot2png/pkg-descr
@@ -0,0 +1,2 @@
+shot2png takes a syscons screenshot generated by scrshot(1) and
+converts it in to a PNG image.
diff --git a/graphics/shot2png/pkg-plist b/graphics/shot2png/pkg-plist
new file mode 100644
index 000000000000..51aa4e0abd4d
--- /dev/null
+++ b/graphics/shot2png/pkg-plist
@@ -0,0 +1 @@
+bin/shot2png