xforms 0.88, GUI toolkit for X

This commit is contained in:
form 1998-07-08 09:47:15 +00:00
parent b7e39dc0c4
commit a7cd5a2bbc
7 changed files with 137 additions and 0 deletions

35
x11/xforms/Makefile Normal file
View File

@ -0,0 +1,35 @@
# New ports collection makefile for: xforms library
# Version required: 0.88.1
# Date created: 08 July 1998
# Whom: form@vs.itam.nsc.ru
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/07/08 09:47:15 form Exp $
#
DISTNAME= bxform-088
PKGNAME= xforms-0.88
WRKSRC= ${WRKDIR}/xforms
CATEGORIES= x11
MASTER_SITES= ftp://bragg.phys.uwm.edu/pub/xforms/%SUBDIR%/
MASTER_SITE_SUBDIR= openBSD-${MACHINE_ARCH}
EXTRACT_SUFX= .tgz
MAINTAINER= form@vs.itam.nsc.ru
ONLY_FOR_ARCHS= i386 sparc m68k
DIST_SUBDIR= xforms/${MASTER_SITE_SUBDIR}
## Define OBJMACHINE so WRKDIR is defined to be ${MACHINE_ARCH}-specific.
OBJMACHINE= yes
NO_BUILD= yes
USE_X11= yes
post-patch:
${MV} ${WRKSRC}/mkconfig.h ${WRKSRC}/mkconfig.h.orig
${CP} ${FILESDIR}/mkconfig.h ${WRKSRC}
post-install:
${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>

2
x11/xforms/files/md5 Normal file
View File

@ -0,0 +1,2 @@
MD5 (xforms/openBSD-i386/bxform-088.tgz) = f42143e3622d69d1dd498ac047d54a39
MD5 (xforms/openBSD-sparc/bxform-088.tgz) = a27759350e1ad4734e5f35f56e72dd6d

View File

@ -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

View File

@ -0,0 +1,41 @@
--- Makefile.orig Thu Feb 26 04:03:26 1998
+++ Makefile Fri May 8 15:56:29 1998
@@ -25,24 +25,27 @@
@(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
+
clean:
(cd DEMOS; make $@)
empty:

1
x11/xforms/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
A graphical user interface toolkit for X Window System.

8
x11/xforms/pkg/DESCR Normal file
View File

@ -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

15
x11/xforms/pkg/PLIST Normal file
View File

@ -0,0 +1,15 @@
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 if [ -x /sbin/ldconfig ]; then /sbin/ldconfig -m; fi
@unexec if [ -x /sbin/ldconfig ]; then /sbin/ldconfig; fi
man/man1/fd2ps.1
man/man1/fdesign.1
man/man5/forms.5
man/man5/xforms.5