diff options
author | jmz <jmz@FreeBSD.org> | 1995-02-27 02:47:49 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 1995-02-27 02:47:49 +0000 |
commit | 6f4a1007fa9c68bcaa26e521b6d2c595c01c1b21 (patch) | |
tree | 94750802fa65a0fc213b7784fc5ea719dadaf544 /x11/xgrab | |
parent | 7674c14bcd47a8f4dadc36ec2c279763af2cefa3 (diff) | |
download | FreeBSD-ports-6f4a1007fa9c68bcaa26e521b6d2c595c01c1b21.zip FreeBSD-ports-6f4a1007fa9c68bcaa26e521b6d2c595c01c1b21.tar.gz |
xgrab, xgrabsc: an X-Windows image grabber
Diffstat (limited to 'x11/xgrab')
-rw-r--r-- | x11/xgrab/Makefile | 8 | ||||
-rw-r--r-- | x11/xgrab/distinfo | 1 | ||||
-rw-r--r-- | x11/xgrab/files/patch-aa | 19 | ||||
-rw-r--r-- | x11/xgrab/files/patch-ab | 24 | ||||
-rw-r--r-- | x11/xgrab/pkg-comment | 1 | ||||
-rw-r--r-- | x11/xgrab/pkg-descr | 3 | ||||
-rw-r--r-- | x11/xgrab/pkg-plist | 8 |
7 files changed, 64 insertions, 0 deletions
diff --git a/x11/xgrab/Makefile b/x11/xgrab/Makefile new file mode 100644 index 0000000..347e384 --- /dev/null +++ b/x11/xgrab/Makefile @@ -0,0 +1,8 @@ +DISTNAME= xgrabsc.2_3 +USE_IMAKE= yes +MASTER_SITES= ftp://ftp.sunet.se/pub/X11/R5contrib/ + +MAKE_FLAGS= BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/man/man1 \ + XAPPLOADDIR=${PREFIX}/lib/app-defaults -f + +.include <bsd.port.mk> diff --git a/x11/xgrab/distinfo b/x11/xgrab/distinfo new file mode 100644 index 0000000..2f65715 --- /dev/null +++ b/x11/xgrab/distinfo @@ -0,0 +1 @@ +MD5 (xgrabsc.2_3.tar.gz) = f6a0f087d78d1d1ba1614508d339dd55 diff --git a/x11/xgrab/files/patch-aa b/x11/xgrab/files/patch-aa new file mode 100644 index 0000000..5e61fea --- /dev/null +++ b/x11/xgrab/files/patch-aa @@ -0,0 +1,19 @@ +*** Imakefile~ Mon Jun 28 18:14:48 1993 +--- Imakefile Mon Feb 27 03:19:47 1995 +*************** +*** 21,27 **** + * DEFINES= $(SIGNAL_DEFINES) -DNO_RLE_CHECKS + */ + +! XRDB=/usr/bin/X11/xrdb + + CDebugFlags = -O + +--- 21,27 ---- + * DEFINES= $(SIGNAL_DEFINES) -DNO_RLE_CHECKS + */ + +! XRDB=/usr/X11R6/bin/xrdb + + CDebugFlags = -O + diff --git a/x11/xgrab/files/patch-ab b/x11/xgrab/files/patch-ab new file mode 100644 index 0000000..d0d0449 --- /dev/null +++ b/x11/xgrab/files/patch-ab @@ -0,0 +1,24 @@ +*** xgrabsc.c~ Mon Jun 28 18:14:49 1993 +--- xgrabsc.c Mon Feb 27 03:17:58 1995 +*************** +*** 246,251 **** +--- 246,252 ---- + int ScreenNumberOfScreen (scr) + register Screen *scr; + { ++ #ifdef BROKEN + register Display *dpy = scr->display; + register Screen *dpyscr = dpy->screens; + register int i; +*************** +*** 254,259 **** +--- 255,263 ---- + if (scr == dpyscr) return i; + } + return -1; ++ #else ++ return XScreenNumberOfScreen (scr); ++ #endif + } + + diff --git a/x11/xgrab/pkg-comment b/x11/xgrab/pkg-comment new file mode 100644 index 0000000..545a5fb --- /dev/null +++ b/x11/xgrab/pkg-comment @@ -0,0 +1 @@ +xgrab, xgrabsc: an X-Windows image grabber diff --git a/x11/xgrab/pkg-descr b/x11/xgrab/pkg-descr new file mode 100644 index 0000000..2ed019d --- /dev/null +++ b/x11/xgrab/pkg-descr @@ -0,0 +1,3 @@ +xgrab lets you grab arbitrary rectangular images from an X server and +writes them to files or commands (such as lpr) in a variety of +formats. diff --git a/x11/xgrab/pkg-plist b/x11/xgrab/pkg-plist new file mode 100644 index 0000000..6a27e0f --- /dev/null +++ b/x11/xgrab/pkg-plist @@ -0,0 +1,8 @@ +@cd /usr/local +@mode 755 +bin/xgrab +bin/xgrabsc +@mode 444 +lib/app-defaults/Xgrab +man/man1/xgrab.1.gz +man/man1/xgrabsc.1.gz |