diff --git a/x11/xgrab/Makefile b/x11/xgrab/Makefile new file mode 100644 index 000000000000..347e384046ef --- /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 diff --git a/x11/xgrab/distinfo b/x11/xgrab/distinfo new file mode 100644 index 000000000000..2f65715b21a0 --- /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 000000000000..5e61feaa88f2 --- /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 000000000000..d0d0449d5a31 --- /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 000000000000..545a5fbb14e1 --- /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 000000000000..2ed019d2c45c --- /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 000000000000..6a27e0ff78aa --- /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