diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1997-06-03 22:53:07 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1997-06-03 22:53:07 +0000 |
commit | b450d70a1eae7a819b5169349f54743decc11a19 (patch) | |
tree | 1cf66620d055b263aa01ab804da80104a3b1aafa /x11-toolkits/slingshot | |
parent | 0a0ec00cc5d56abc821a66929eeee5bc11363d26 (diff) | |
download | ports-b450d70a1eae7a819b5169349f54743decc11a19.tar.gz ports-b450d70a1eae7a819b5169349f54743decc11a19.zip |
Notes
Diffstat (limited to 'x11-toolkits/slingshot')
-rw-r--r-- | x11-toolkits/slingshot/Makefile | 34 | ||||
-rw-r--r-- | x11-toolkits/slingshot/distinfo | 1 | ||||
-rw-r--r-- | x11-toolkits/slingshot/files/patch-aa | 91 | ||||
-rw-r--r-- | x11-toolkits/slingshot/files/patch-ab | 21 | ||||
-rw-r--r-- | x11-toolkits/slingshot/files/patch-ba | 21 | ||||
-rw-r--r-- | x11-toolkits/slingshot/files/patch-bc | 15 | ||||
-rw-r--r-- | x11-toolkits/slingshot/files/patch-ca | 192 | ||||
-rw-r--r-- | x11-toolkits/slingshot/pkg-comment | 1 | ||||
-rw-r--r-- | x11-toolkits/slingshot/pkg-descr | 15 | ||||
-rw-r--r-- | x11-toolkits/slingshot/pkg-plist | 24 |
10 files changed, 415 insertions, 0 deletions
diff --git a/x11-toolkits/slingshot/Makefile b/x11-toolkits/slingshot/Makefile new file mode 100644 index 000000000000..9b3e7be6faf2 --- /dev/null +++ b/x11-toolkits/slingshot/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: SlingShot +# Version required: 2.1 +# Date created: 5 March 1997 +# Whom: pgiffuni@FPS.biblos.unal.edu.co +# +# $Id$ +# + +DISTNAME= SlingShot2.1 +PKGNAME= slingshot-2.1 +CATEGORIES= x11 +MASTER_SITES= ftp://ftp.cdrom.com/pub/X11/R5contrib/ +EXTRACT_SUFX= .tar.Z + +MAINTAINER= pgiffuni@FPS.biblos.unal.edu.co + +LIB_DEPENDS= xview\\.3\\.:${PORTSDIR}/x11/xview-lib + +WRKSRC= $(WRKDIR)/sspkg2.1 +USE_X11= yes +USE_GMAKE= yes +MAKE_ENV= OPENWINHOME=$(X11BASE) + +pre-patch: + ${CP} $(WRKSRC)/config.sunos4x $(WRKSRC)/config.fbsd + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/SlingShot + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/SlingShot + ${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${PREFIX}/share/doc/SlingShot +.endif + +.include <bsd.port.mk> diff --git a/x11-toolkits/slingshot/distinfo b/x11-toolkits/slingshot/distinfo new file mode 100644 index 000000000000..54c22d6ead5e --- /dev/null +++ b/x11-toolkits/slingshot/distinfo @@ -0,0 +1 @@ +MD5 (SlingShot2.1.tar.Z) = 4ac24274f94867268423bc35af658be2 diff --git a/x11-toolkits/slingshot/files/patch-aa b/x11-toolkits/slingshot/files/patch-aa new file mode 100644 index 000000000000..7b9561321d5f --- /dev/null +++ b/x11-toolkits/slingshot/files/patch-aa @@ -0,0 +1,91 @@ +*** Makefile.orig Thu Apr 24 20:12:18 1997 +--- Makefile Thu Apr 24 20:30:17 1997 +*************** +*** 2,8 **** + # @(#) Makefile 1.21 93/10/25 + + SSPKGHOME = . +! INSTALL_DIR = /home2/install + TARFILE = /home2/tmp/sspkgs-tar + + SRCDIR = $(SSPKGHOME)/src +--- 2,8 ---- + # @(#) Makefile 1.21 93/10/25 + + SSPKGHOME = . +! INSTALL_DIR = $(PREFIX) + TARFILE = /home2/tmp/sspkgs-tar + + SRCDIR = $(SSPKGHOME)/src +*************** +*** 16,29 **** + subdirs: $(INCLUDEDIR) $(SRCDIR) examples + + $(INCLUDEDIR): FORCE +! cd $@; make + + $(SRCDIR): FORCE Make.config +! cd $@; make + + + examples: FORCE +! cd $@; make + + # + # Make.config has things that are needed to build on various platforms. +--- 16,29 ---- + subdirs: $(INCLUDEDIR) $(SRCDIR) examples + + $(INCLUDEDIR): FORCE +! cd $@; $(MAKE) + + $(SRCDIR): FORCE Make.config +! cd $@; $(MAKE) + + + examples: FORCE +! cd $@; $(MAKE) + + # + # Make.config has things that are needed to build on various platforms. +*************** +*** 35,40 **** +--- 35,43 ---- + @ if [ -s /vmunix ]; then \ + echo cp config.sunos4x Make.config ; \ + cp config.sunos4x Make.config ; \ ++ elif [ -s /kernel ]; then \ ++ echo cp config.fbsd Make.config ; \ ++ cp config.fbsd Make.config ; \ + else \ + echo cp config.svr4 Make.config ; \ + cp config.svr4 Make.config ; \ +*************** +*** 45,57 **** + + clean: + -sccs clean +! (cd $(INCLUDEDIR); make clean) +! (cd $(SRCDIR); make clean) +! (cd examples; make clean) + rm -f Make.config + +! install: $(INSTALL_DIR) FORCE +! (cd $(INCLUDEDIR); make install INSTALL_DIR=$(INSTALL_DIR)) + (cp $(LIBDIR)/* $(INSTALL_DIR)/lib) + -ranlib $(INSTALL_DIR)/lib/libsspkg.a + -ranlib $(INSTALL_DIR)/lib/libsspkg.sa.* +--- 48,60 ---- + + clean: + -sccs clean +! (cd $(INCLUDEDIR); $(MAKE) clean) +! (cd $(SRCDIR); $(MAKE) clean) +! (cd examples; $(MAKE) clean) + rm -f Make.config + +! install: all $(INSTALL_DIR) FORCE +! (cd $(INCLUDEDIR); $(MAKE) install INSTALL_DIR=$(INSTALL_DIR)) + (cp $(LIBDIR)/* $(INSTALL_DIR)/lib) + -ranlib $(INSTALL_DIR)/lib/libsspkg.a + -ranlib $(INSTALL_DIR)/lib/libsspkg.sa.* diff --git a/x11-toolkits/slingshot/files/patch-ab b/x11-toolkits/slingshot/files/patch-ab new file mode 100644 index 000000000000..3717c79dd00b --- /dev/null +++ b/x11-toolkits/slingshot/files/patch-ab @@ -0,0 +1,21 @@ +*** config.sunos4x Fri Oct 22 12:35:02 1993 +--- config.fbsd Thu Apr 24 20:32:41 1997 +*************** +*** 1,8 **** + + # @(#) config.sunos4x 1.6 92/10/27 + +! CONFIGPIC = -pic +! CONFIGSHAREDLIBLD = ld -o $@ -assert pure-text $? + + SHAREDLIB = $(LIBDIR)/libsspkg.so.1.0 + SHAREDLIBDATA = $(LIBDIR)/libsspkg.sa.1.0 +--- 1,8 ---- + + # @(#) config.sunos4x 1.6 92/10/27 + +! CONFIGPIC = -fpic +! CONFIGSHAREDLIBLD = ld -o $@ -Bshareable $? + + SHAREDLIB = $(LIBDIR)/libsspkg.so.1.0 + SHAREDLIBDATA = $(LIBDIR)/libsspkg.sa.1.0 diff --git a/x11-toolkits/slingshot/files/patch-ba b/x11-toolkits/slingshot/files/patch-ba new file mode 100644 index 000000000000..5d7fba48c093 --- /dev/null +++ b/x11-toolkits/slingshot/files/patch-ba @@ -0,0 +1,21 @@ +*** src/Makefile.orig Mon Oct 25 13:37:43 1993 +--- src/Makefile Wed Apr 30 00:40:56 1997 +*************** +*** 15,22 **** + + INCDIR = $(SSPKGHOME)/include/sspkg + PRIVATEINCDIR = $(SSPKGHOME)/src +! #CFLAGS = -O +! CFLAGS = -g + CPPFLAGS = -I$(SSPKGHOME)/include -I$(PRIVATEINCDIR) -I$(OPENWINHOME)/include + + +--- 15,22 ---- + + INCDIR = $(SSPKGHOME)/include/sspkg + PRIVATEINCDIR = $(SSPKGHOME)/src +! CFLAGS = -O -DNO_SINCOS +! #CFLAGS = -g + CPPFLAGS = -I$(SSPKGHOME)/include -I$(PRIVATEINCDIR) -I$(OPENWINHOME)/include + + diff --git a/x11-toolkits/slingshot/files/patch-bc b/x11-toolkits/slingshot/files/patch-bc new file mode 100644 index 000000000000..66fe77a6917f --- /dev/null +++ b/x11-toolkits/slingshot/files/patch-bc @@ -0,0 +1,15 @@ +*** src/tacho.c.orig Thu Apr 24 20:48:57 1997 +--- src/tacho.c Thu Apr 24 20:56:55 1997 +*************** +*** 19,24 **** +--- 19,28 ---- + #include "drawobj_impl.h" + #include <math.h> + ++ #ifdef __FreeBSD__ ++ #define irint(x) ((int)rint((x))) ++ #endif ++ + Pkg_private int tacho_init(); + Pkg_private Xv_opaque tacho_set_avlist(); + Pkg_private Xv_opaque tacho_get_attr(); diff --git a/x11-toolkits/slingshot/files/patch-ca b/x11-toolkits/slingshot/files/patch-ca new file mode 100644 index 000000000000..72e446c4e9a6 --- /dev/null +++ b/x11-toolkits/slingshot/files/patch-ca @@ -0,0 +1,192 @@ +*** examples/Makefile.orig Tue Nov 2 14:18:49 1993 +--- examples/Makefile Wed Apr 30 00:42:39 1997 +*************** +*** 1,5 **** + +! # @(#) Makefile 1.21 93/11/02 + + SSPKGHOME = .. + +--- 1,5 ---- + +! # @(#) $(MAKE)file 1.21 93/11/02 + + SSPKGHOME = .. + +*************** +*** 8,94 **** + SSPKGLIB = $(SSPKGHOME)/lib/libsspkg.a + + +! DBXFLAGS = -g +! CFLAGS = $(DBXFLAGS) -I$(SSPKGHOME)/include -I$(OPENWINHOME)/include + LDFLAGS = -L$(LIBDIR) $(LIBS) $(SSPKGLIB) -lm + + all: icons array_tile clockobj color color2 \ +! dnd dnd2 drawarea drawimage drawline drawtext grip \ + group icons misc selection tacho thermo tree + + array_tile: FORCE +! cd $@; make + + clockobj: FORCE +! cd $@; make + + dnd: FORCE +! cd $@; make + + dnd2: FORCE +! cd $@; make + + drawarea: FORCE +! cd $@; make + + drawline: FORCE +! cd $@; make + + group: FORCE +! cd $@; make + + grip: FORCE +! cd $@; make + + icons: FORCE +! cd $@; make + + misc: FORCE +! cd $@; make + + selection: FORCE +! cd $@; make + + tree: FORCE +! cd $@; make + + drawtext: FORCE +! cd $@; make + + drawimage: FORCE +! cd $@; make + + tacho: FORCE +! cd $@; make + + color: FORCE +! cd $@; make + + color2: FORCE +! cd $@; make + + thermo: FORCE +! cd $@; make + + clean: +! -(cd array_tile; make clean; rm -f .make.state) +! -(cd color; make clean; rm -f .make.state) +! -(cd color2; make clean; rm -f .make.state) +! -(cd clockobj; make clean; rm -f .make.state) +! -(cd dnd; make clean; rm -f .make.state) +! -(cd dnd2; make clean; rm -f .make.state) +! -(cd drawarea; make clean; rm -f .make.state) +! -(cd drawimage; make clean; rm -f .make.state) +! -(cd drawline; make clean; rm -f .make.state) +! -(cd drawtext; make clean; rm -f .make.state) +! -(cd grip; make clean; rm -f .make.state) +! -(cd group; make clean; rm -f .make.state) +! -(cd icons; make clean; rm -f .make.state) +! -(cd misc; make clean; rm -f .make.state) +! -(cd selection; make clean; rm -f .make.state) +! -(cd tree; make clean; rm -f .make.state) +! -(cd tacho; make clean; rm -f .make.state) +! -(cd thermo; make clean; rm -f .make.state) + + FORCE: + +--- 8,94 ---- + SSPKGLIB = $(SSPKGHOME)/lib/libsspkg.a + + +! DBXFLAGS = -O +! CFLAGS = $(DBXFLAGS) -I$(SSPKGHOME)/../include -I$(OPENWINHOME)/include + LDFLAGS = -L$(LIBDIR) $(LIBS) $(SSPKGLIB) -lm + + all: icons array_tile clockobj color color2 \ +! dnd drawarea drawimage drawline drawtext grip \ + group icons misc selection tacho thermo tree + + array_tile: FORCE +! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)' + + clockobj: FORCE +! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)' + + dnd: FORCE +! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)' + + dnd2: FORCE +! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)' + + drawarea: FORCE +! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)' + + drawline: FORCE +! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)' + + group: FORCE +! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)' + + grip: FORCE +! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)' + + icons: FORCE +! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)' + + misc: FORCE +! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)' + + selection: FORCE +! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)' + + tree: FORCE +! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)' + + drawtext: FORCE +! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)' + + drawimage: FORCE +! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)' + + tacho: FORCE +! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)' + + color: FORCE +! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)' + + color2: FORCE +! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)' + + thermo: FORCE +! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)' + + clean: +! -(cd array_tile; $(MAKE) clean; rm -f .make.state) +! -(cd color; $(MAKE) clean; rm -f .make.state) +! -(cd color2; $(MAKE) clean; rm -f .make.state) +! -(cd clockobj; $(MAKE) clean; rm -f .make.state) +! -(cd dnd; $(MAKE) clean; rm -f .make.state) +! -(cd dnd2; $(MAKE) clean; rm -f .make.state) +! -(cd drawarea; $(MAKE) clean; rm -f .make.state) +! -(cd drawimage; $(MAKE) clean; rm -f .make.state) +! -(cd drawline; $(MAKE) clean; rm -f .make.state) +! -(cd drawtext; $(MAKE) clean; rm -f .make.state) +! -(cd grip; $(MAKE) clean; rm -f .make.state) +! -(cd group; $(MAKE) clean; rm -f .make.state) +! -(cd icons; $(MAKE) clean; rm -f .make.state) +! -(cd misc; $(MAKE) clean; rm -f .make.state) +! -(cd selection; $(MAKE) clean; rm -f .make.state) +! -(cd tree; $(MAKE) clean; rm -f .make.state) +! -(cd tacho; $(MAKE) clean; rm -f .make.state) +! -(cd thermo; $(MAKE) clean; rm -f .make.state) + + FORCE: + diff --git a/x11-toolkits/slingshot/pkg-comment b/x11-toolkits/slingshot/pkg-comment new file mode 100644 index 000000000000..3616813be137 --- /dev/null +++ b/x11-toolkits/slingshot/pkg-comment @@ -0,0 +1 @@ +Supplemental Libraries to extend Xview diff --git a/x11-toolkits/slingshot/pkg-descr b/x11-toolkits/slingshot/pkg-descr new file mode 100644 index 000000000000..1fd0f0ae2475 --- /dev/null +++ b/x11-toolkits/slingshot/pkg-descr @@ -0,0 +1,15 @@ +Slingshot provides rectangles (like the Xt Intrinsics' RectObj gadget), +drag-and-drop support, images, icons and text, trees, lines, arrows... +You can look at the documentation for the details, but here's a few +teasers: there are new objects (clock, bag, box). The grip and the +drawarea have had a few interesting features added. The documentation +has been improved dramatically. The drawtext can now be editible. + +CAVEATS +------- + +This is NOT an official or supported product of Sun Microsystems, Inc. +This software has been developed to leverage other efforts, and it is +being released because it is hoped others can get benefits from it too. +However, there ARE bugs in this software which may never be fixed, and +there is no guarantee of compatability between releases. diff --git a/x11-toolkits/slingshot/pkg-plist b/x11-toolkits/slingshot/pkg-plist new file mode 100644 index 000000000000..0cd2e744d46c --- /dev/null +++ b/x11-toolkits/slingshot/pkg-plist @@ -0,0 +1,24 @@ +include/sspkg/box.h +include/sspkg/tree.h +include/sspkg/rectobj.h +include/sspkg/list.h +include/sspkg/disp_list.h +include/sspkg/grip.h +include/sspkg/drawobj.h +include/sspkg/canshell.h +include/sspkg/array.h +include/sspkg/patchlevel.h +lib/libsspkg.so.1.0 +lib/libsspkg.so +lib/libsspkg.sa.1.0 +lib/libsspkg.a +share/doc/SlingShot/README +share/doc/SlingShot/appA.ps +share/doc/SlingShot/appB.ps +share/doc/SlingShot/appC.ps +share/doc/SlingShot/appD.ps +share/doc/SlingShot/appE.ps +share/doc/SlingShot/ch1.ps +share/doc/SlingShot/ch2.ps +share/doc/SlingShot/ch3.ps + |