diff options
-rw-r--r-- | x11/xforms/Makefile | 44 | ||||
-rw-r--r-- | x11/xforms/files/md5 | 4 | ||||
-rw-r--r-- | x11/xforms/files/mkconfig.h | 35 | ||||
-rw-r--r-- | x11/xforms/patches/patch-aa | 48 | ||||
-rw-r--r-- | x11/xforms/patches/patch-ab | 10 | ||||
-rw-r--r-- | x11/xforms/pkg/COMMENT | 1 | ||||
-rw-r--r-- | x11/xforms/pkg/DESCR | 8 | ||||
-rw-r--r-- | x11/xforms/pkg/PLIST | 91 |
8 files changed, 241 insertions, 0 deletions
diff --git a/x11/xforms/Makefile b/x11/xforms/Makefile new file mode 100644 index 00000000000..f81437ce20d --- /dev/null +++ b/x11/xforms/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: xforms +# Version required: 0.88 +# Date created: 24 January 1998 +# Whom: lamj@stat.cmu.edu +# +# $NetBSD: Makefile,v 1.1 1998/02/27 21:50:44 frueauf Exp $ +# + +DISTNAME= bxform-088 +PKGNAME= xforms-0.88 +WRKSRC= ${WRKDIR}/xforms +CATEGORIES= x11 +MASTER_SITES= ftp://bragg.phys.uwm.edu/pub/xforms/%SUBDIR%/ +.if (${MACHINE_ARCH} == "arm32") +MASTER_SITE_SUBDIR= netBSD-arm +.elif (${MACHINE_ARCH} == "i386") +MASTER_SITE_SUBDIR= netBSD +.else +MASTER_SITE_SUBDIR= netBSD-${MACHINE_ARCH} +.endif +EXTRACT_SUFX= .tgz + +MAINTAINER= lamj@stat.cmu.edu + +ONLY_FOR_ARCHS= arm32 i386 m68k sparc + +DIST_SUBDIR= xforms/${MASTER_SITE_SUBDIR} + +## Define OBJMACHINE so WRKDIR is defined to be ${MACHINE_ARCH}-specific. +OBJMACHINE= yes + +USE_X11= yes + +MAN1= fdesign.1 fd2ps.1 +MAN5= forms.5 xforms.5 + +post-patch: + ${MV} ${WRKSRC}/mkconfig.h ${WRKSRC}/mkconfig.h.orig + ${CP} ${FILESDIR}/mkconfig.h ${WRKSRC} + +post-install: + ${LDCONFIG} || ${TRUE} + +.include <bsd.port.mk> diff --git a/x11/xforms/files/md5 b/x11/xforms/files/md5 new file mode 100644 index 00000000000..ab667aa4808 --- /dev/null +++ b/x11/xforms/files/md5 @@ -0,0 +1,4 @@ +MD5 (xforms/netBSD-arm/bxform-088.tgz) = 709b4094b6cbcb718d66c979882de471 +MD5 (xforms/netBSD-m68k/bxform-088.tgz) = aac3b9873af7ed8c8daa6d79edf4d796 +MD5 (xforms/netBSD-sparc/bxform-088.tgz) = 0ce08b5fefc0876ac1e7e3904ff1045f +MD5 (xforms/netBSD/bxform-088.tgz) = 0e54cf437813298ccf6874d47fd01db1 diff --git a/x11/xforms/files/mkconfig.h b/x11/xforms/files/mkconfig.h new file mode 100644 index 00000000000..d68bd79fc4a --- /dev/null +++ b/x11/xforms/files/mkconfig.h @@ -0,0 +1,35 @@ +# +# NetBSD +# + +SHLIB_MAJOR= 0 +SHLIB_MINOR= 88 + +CC=cc +CCFLAG=-O -fPIC +LDFLAG= +RANLIB=ranlib +XINCLUDE=-I${X11BASE}/include +SYSLIB=-L${X11BASE}/lib -lX11 -lm + +# where the library should be installed + +LIB_DIR=${PREFIX}/lib +HEADER_DIR=${PREFIX}/include/X11 +BIN_DIR=${PREFIX}/bin + +MAN5_DIR=${PREFIX}/man/man5 +MAN1_DIR=${PREFIX}/man/man1 + +DEMO_DIR=${PREFIX}/share/examples/xforms + +# name and header of the library +FORMLIB=libforms.a +STATIC_NAME=libxforms.a +FORMHEADER=forms.h + +# shared library +SHARED_LIB=libforms.so.${SHLIB_MAJOR}.${SHLIB_MINOR} +SHARED_NAME=libxforms.so.${SHLIB_MAJOR}.${SHLIB_MINOR} + +LN=ln -fs diff --git a/x11/xforms/patches/patch-aa b/x11/xforms/patches/patch-aa new file mode 100644 index 00000000000..349feefb6ad --- /dev/null +++ b/x11/xforms/patches/patch-aa @@ -0,0 +1,48 @@ +--- Makefile.orig Sat Nov 15 00:36:00 1997 ++++ Makefile Mon Feb 23 23:49:25 1998 +@@ -21,28 +21,34 @@ + .include "mkconfig.h" + ##### don't change anything after this line #### + ++all: demo ++ + demo: + @(cd DEMOS; make) + + install: +- cp FORMS/$(FORMLIB) $(LIB_DIR);chmod $(LIBMODE) $(LIB_DIR)/$(FORMLIB) +- cp DESIGN/fdesign $(BIN_DIR); chmod $(BINMODE) $(BIN_DIR)/fdesign +- cp fd2ps/fd2ps $(BIN_DIR); chmod $(BINMODE) $(BIN_DIR)/fd2ps ++ ${BSD_INSTALL_DATA} FORMS/$(FORMLIB) $(LIB_DIR) ++ $(RANLIB) $(LIB_DIR)/$(FORMLIB) ++ if [ "$(STATIC_NAME)" != "" ]; then\ ++ $(LN) $(LIB_DIR)/$(FORMLIB) $(LIB_DIR)/$(STATIC_NAME);\ ++ fi ++ ${BSD_INSTALL_PROGRAM} DESIGN/fdesign $(BIN_DIR) ++ ${BSD_INSTALL_PROGRAM} fd2ps/fd2ps $(BIN_DIR) + -@if [ "$(SHARED_LIB)" != "" ]; then\ +- cp FORMS/$(SHARED_LIB) $(LIB_DIR); \ +- chmod $(LIBMODE) $(LIB_DIR)/$(SHARED_LIB);\ ++ ${BSD_INSTALL_DATA} FORMS/$(SHARED_LIB) $(LIB_DIR); \ + if [ "$(SHARED_NAME)" != "" ]; then\ + $(LN) $(LIB_DIR)/$(SHARED_LIB) $(LIB_DIR)/$(SHARED_NAME);\ + fi \ + fi +- cp FORMS/$(FORMHEADER) $(HEADER_DIR);\ +- chmod $(HEADERMODE) $(HEADER_DIR)/$(FORMHEADER) +- cp FORMS/xforms.5 $(MAN5_DIR); chmod $(MANMODE) $(MAN5_DIR)/xforms.5 +- cp DESIGN/fdesign.1 $(MAN1_DIR); chmod $(MANMODE) $(MAN1_DIR)/fdesign.1 +- cp fd2ps/fd2ps.1 $(MAN1_DIR); chmod $(MANMODE) $(MAN1_DIR)/fd2ps.1 ++ ${BSD_INSTALL_DATA} FORMS/$(FORMHEADER) $(HEADER_DIR) ++ ${BSD_INSTALL_MAN} FORMS/xforms.5 $(MAN5_DIR) ++ ${BSD_INSTALL_MAN} DESIGN/fdesign.1 $(MAN1_DIR) ++ ${BSD_INSTALL_MAN} fd2ps/fd2ps.1 $(MAN1_DIR) + @if [ ! -f $(MAN5_DIR)/forms.5 ]; then\ +- ln -s $(MAN5_DIR)/xforms.5 $(MAN5_DIR)/forms.5;\ ++ $(LN) $(MAN5_DIR)/xforms.5 $(MAN5_DIR)/forms.5;\ + fi ++ (cd DEMOS; make $@) ++ + clean: + (cd DEMOS; make $@) + empty: diff --git a/x11/xforms/patches/patch-ab b/x11/xforms/patches/patch-ab new file mode 100644 index 00000000000..3a0f1d7f081 --- /dev/null +++ b/x11/xforms/patches/patch-ab @@ -0,0 +1,10 @@ +--- DEMOS/Makefile.orig Fri Nov 14 22:39:53 1997 ++++ DEMOS/Makefile Sun Jan 25 20:08:04 1998 +@@ -83,3 +83,7 @@ + fi;\ + fi + ++install: ${DEMOS} ++ mkdir -p ${DEMO_DIR} ++ ${BSD_INSTALL_PROGRAM} ${DEMOS} ${DEMO_DIR} ++ ${BSD_INSTALL_DATA} demo.menu ${DEMO_DIR} diff --git a/x11/xforms/pkg/COMMENT b/x11/xforms/pkg/COMMENT new file mode 100644 index 00000000000..36931a72a20 --- /dev/null +++ b/x11/xforms/pkg/COMMENT @@ -0,0 +1 @@ +A graphical user interface toolkit for X Window System. diff --git a/x11/xforms/pkg/DESCR b/x11/xforms/pkg/DESCR new file mode 100644 index 00000000000..3613f0a048c --- /dev/null +++ b/x11/xforms/pkg/DESCR @@ -0,0 +1,8 @@ +This is the binary distribution of XForms, a graphical user interface +toolkit for X Window Systems. It should work under X11 R4, R5 & R6. + +Documentation on XForms is available from bragg.phys.uwm.edu /pub/xforms +via anonymous ftp. + +The entire XForms distribution is also accessible via +http://bloch.phys.uwm.edu/xforms diff --git a/x11/xforms/pkg/PLIST b/x11/xforms/pkg/PLIST new file mode 100644 index 00000000000..8a70a7fe826 --- /dev/null +++ b/x11/xforms/pkg/PLIST @@ -0,0 +1,91 @@ +@comment $NetBSD: PLIST,v 1.1 1998/02/27 21:50:44 frueauf Exp $ +bin/fd2ps +bin/fdesign +include/X11/forms.h +lib/libforms.a +@exec ln -sf %D/%F %D/lib/libxforms.a +@unexec rm -f %D/lib/libxforms.a +lib/libforms.so.0.88 +@exec ln -sf %D/%F %D/lib/libxforms.so.0.88 +@unexec rm -f %D/lib/libxforms.so.0.88 +@exec /sbin/ldconfig || /usr/bin/true +@unexec /sbin/ldconfig || /usr/bin/true +man/man1/fd2ps.1.gz +man/man1/fdesign.1.gz +man/man5/forms.5.gz +man/man5/xforms.5.gz +share/examples/xforms/arrowbutton +share/examples/xforms/borderwidth +share/examples/xforms/boxtype +share/examples/xforms/browserall +share/examples/xforms/browserop +share/examples/xforms/buttonall +share/examples/xforms/butttypes +share/examples/xforms/canvas +share/examples/xforms/chartall +share/examples/xforms/chartstrip +share/examples/xforms/choice +share/examples/xforms/colbrowser +share/examples/xforms/colsel +share/examples/xforms/colsel1 +share/examples/xforms/counter +share/examples/xforms/cursor +share/examples/xforms/demo +share/examples/xforms/demo.menu +share/examples/xforms/demo05 +share/examples/xforms/demo06 +share/examples/xforms/demo27 +share/examples/xforms/demo33 +share/examples/xforms/dirlist +share/examples/xforms/fbrowse +share/examples/xforms/fbrowse1 +share/examples/xforms/fdial +share/examples/xforms/flclock +share/examples/xforms/folder +share/examples/xforms/fonts +share/examples/xforms/free1 +share/examples/xforms/freedraw +share/examples/xforms/freedraw_leak +share/examples/xforms/goodies +share/examples/xforms/group +share/examples/xforms/iconify +share/examples/xforms/inputall +share/examples/xforms/invslider +share/examples/xforms/lalign +share/examples/xforms/ldial +share/examples/xforms/ll +share/examples/xforms/longlabel +share/examples/xforms/menu +share/examples/xforms/minput +share/examples/xforms/minput2 +share/examples/xforms/multilabel +share/examples/xforms/ndial +share/examples/xforms/objinactive +share/examples/xforms/objpos +share/examples/xforms/objreturn +share/examples/xforms/pmbrowse +share/examples/xforms/popup +share/examples/xforms/positioner +share/examples/xforms/positionerXOR +share/examples/xforms/preemptive +share/examples/xforms/pup +share/examples/xforms/pushbutton +share/examples/xforms/pushme +share/examples/xforms/rescale +share/examples/xforms/scrollbar +share/examples/xforms/secretinput +share/examples/xforms/sld_radio +share/examples/xforms/sldinactive +share/examples/xforms/sldsize +share/examples/xforms/sliderall +share/examples/xforms/strsize +share/examples/xforms/symbols +share/examples/xforms/timer +share/examples/xforms/timerprec +share/examples/xforms/touchbutton +share/examples/xforms/wwwl +share/examples/xforms/xyplotactive +share/examples/xforms/xyplotall +share/examples/xforms/xyplotover +share/examples/xforms/yesno +@dirrm share/examples/xforms |