This commit is contained in:
parent
42c1f21cb4
commit
42804e84e1
22
devel/swig/Makefile
Normal file
22
devel/swig/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# OpenBSD makefile for: SWIG
|
||||
# Version required: 1.1b5p1
|
||||
# Date created: 1 Dec 1997
|
||||
# Whom: ejovi
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1997/12/01 22:23:25 joey Exp $
|
||||
#
|
||||
|
||||
DISTNAME= swig1.1
|
||||
PKGNAME= swig-1.1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ftp://ftp.cs.utah.edu/pub/beazley/SWIG/
|
||||
|
||||
MAINTAINER= joey@OpenBSD.ORG
|
||||
|
||||
WRKSRC= ${WRKDIR}/SWIG1.1
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
post-build:
|
||||
@cd ${WRKSRC}; make runtime
|
||||
|
||||
.include <bsd.port.mk>
|
1
devel/swig/files/md5
Normal file
1
devel/swig/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (swig1.1.tar.gz) = 76e09f2e75f1a4ab6ce9e0b28d336d2e
|
65
devel/swig/patches/patch-aa
Normal file
65
devel/swig/patches/patch-aa
Normal file
@ -0,0 +1,65 @@
|
||||
--- Makefile.in.orig Sun Jun 22 15:45:38 1997
|
||||
+++ Makefile.in Mon Aug 11 09:29:38 1997
|
||||
@@ -29,7 +29,7 @@
|
||||
# The SWIG library contains configuration files and library modules
|
||||
# so you should install it someplace where it can be easily accessed.
|
||||
|
||||
-SWIG_LIB = $(prefix)/lib/swig_lib
|
||||
+SWIG_LIB = $(prefix)/share/swig_lib
|
||||
|
||||
# Change these prefixes to set where you would like the
|
||||
# SWIG binary file (swig) and C library (libswig.a) installed.
|
||||
@@ -124,7 +124,7 @@
|
||||
|
||||
# Install the SWIG program
|
||||
|
||||
-INSTALL = ./install-sh -c
|
||||
+INSTALL = /usr/bin/install -c
|
||||
INSTALL_DATA = ${INSTALL} -m 644
|
||||
INSTALL_PROGRAM= ${INSTALL} -m 755
|
||||
|
||||
@@ -178,37 +178,37 @@
|
||||
@cd swig_lib; for i in *.i *.swg; \
|
||||
do \
|
||||
echo "Installing swig_lib/$$i"; \
|
||||
- ../$(INSTALL_DATA) $$i $(SWIG_LIB)/$$i; \
|
||||
+ $(INSTALL_DATA) $$i $(SWIG_LIB)/$$i; \
|
||||
done;
|
||||
@cd swig_lib/tcl; for i in *.i *.swg Makefile; \
|
||||
do \
|
||||
echo "Installing swig_lib/tcl/$$i"; \
|
||||
- ../../$(INSTALL_DATA) $$i $(SWIG_LIB)/tcl/$$i; \
|
||||
+ $(INSTALL_DATA) $$i $(SWIG_LIB)/tcl/$$i; \
|
||||
done;
|
||||
@cd swig_lib/perl4; for i in *.i; \
|
||||
do \
|
||||
echo "Installing swig_lib/perl4/$$i"; \
|
||||
- ../../$(INSTALL_DATA) $$i $(SWIG_LIB)/perl4/$$i; \
|
||||
+ $(INSTALL_DATA) $$i $(SWIG_LIB)/perl4/$$i; \
|
||||
done;
|
||||
@cd swig_lib/perl5; for i in *.i *.swg Makefile Makefile.pl; \
|
||||
do \
|
||||
echo "Installing swig_lib/perl5/$$i"; \
|
||||
- ../../$(INSTALL_DATA) $$i $(SWIG_LIB)/perl5/$$i; \
|
||||
+ $(INSTALL_DATA) $$i $(SWIG_LIB)/perl5/$$i; \
|
||||
done;
|
||||
@cd swig_lib/python; for i in *.i *.swg Makefile; \
|
||||
do \
|
||||
echo "Installing swig_lib/python/$$i"; \
|
||||
- ../../$(INSTALL_DATA) $$i $(SWIG_LIB)/python/$$i; \
|
||||
+ $(INSTALL_DATA) $$i $(SWIG_LIB)/python/$$i; \
|
||||
done;
|
||||
@cd swig_lib/guile; for i in *.i *.swg; \
|
||||
do \
|
||||
echo "Installing swig_lib/guile/$$i"; \
|
||||
- ../../$(INSTALL_DATA) $$i $(SWIG_LIB)/guile/$$i; \
|
||||
+ $(INSTALL_DATA) $$i $(SWIG_LIB)/guile/$$i; \
|
||||
done;
|
||||
@cd swig_lib/config; for i in *.swg; \
|
||||
do \
|
||||
echo "Installing swig_lib/config/$$i"; \
|
||||
- ../../$(INSTALL_DATA) $$i $(SWIG_LIB)/config/$$i; \
|
||||
+ $(INSTALL_DATA) $$i $(SWIG_LIB)/config/$$i; \
|
||||
done;
|
||||
@echo "Installing Makefile"
|
||||
$(INSTALL_DATA) Makefile.template $(SWIG_LIB)/Makefile
|
1
devel/swig/pkg/COMMENT
Normal file
1
devel/swig/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
Simplified Wrapper and Interface Generator.
|
13
devel/swig/pkg/DESCR
Normal file
13
devel/swig/pkg/DESCR
Normal file
@ -0,0 +1,13 @@
|
||||
SWIG is a tool for automatically generating the wrapper code needed
|
||||
to link collections of functions written in C/C++ with interpreted
|
||||
scripting languages. Currently, SWIG supports :
|
||||
|
||||
- Tcl
|
||||
- Perl4
|
||||
- Perl5
|
||||
- Guile-iii
|
||||
- Python 1.3
|
||||
|
||||
Using SWIG, it is possible to greatly simplify interface development
|
||||
and to put interesting interfaces on existing applications with
|
||||
little effort.
|
74
devel/swig/pkg/PLIST
Normal file
74
devel/swig/pkg/PLIST
Normal file
@ -0,0 +1,74 @@
|
||||
bin/swig
|
||||
lib/libswigtcl.a
|
||||
lib/libswigpl.a
|
||||
lib/libswigtcl.so
|
||||
lib/libswigpl.so
|
||||
include/swig.h
|
||||
man/man1/swig.1
|
||||
share/swig_lib/tcl/blt.i
|
||||
share/swig_lib/tcl/expect.i
|
||||
share/swig_lib/tcl/expectk.i
|
||||
share/swig_lib/tcl/ish.i
|
||||
share/swig_lib/tcl/itclsh.i
|
||||
share/swig_lib/tcl/itkwish.i
|
||||
share/swig_lib/tcl/iwish.i
|
||||
share/swig_lib/tcl/ptrlang.i
|
||||
share/swig_lib/tcl/tclsh.i
|
||||
share/swig_lib/tcl/tix.i
|
||||
share/swig_lib/tcl/typemaps.i
|
||||
share/swig_lib/tcl/wish.i
|
||||
share/swig_lib/tcl/class.swg
|
||||
share/swig_lib/tcl/configcode.swg
|
||||
share/swig_lib/tcl/delcmd.swg
|
||||
share/swig_lib/tcl/delcmd8.swg
|
||||
share/swig_lib/tcl/methodcmd.swg
|
||||
share/swig_lib/tcl/methodcmd8.swg
|
||||
share/swig_lib/tcl/objcmd.swg
|
||||
share/swig_lib/tcl/objcmd8.swg
|
||||
share/swig_lib/tcl/swigtcl.swg
|
||||
share/swig_lib/tcl/tcl8ptr.swg
|
||||
share/swig_lib/tcl/Makefile
|
||||
share/swig_lib/perl4/userinit.i
|
||||
share/swig_lib/perl5/perlmain.i
|
||||
share/swig_lib/perl5/ptrlang.i
|
||||
share/swig_lib/perl5/typemaps.i
|
||||
share/swig_lib/perl5/perl5.swg
|
||||
share/swig_lib/perl5/perl5mg.swg
|
||||
share/swig_lib/perl5/perl5ptr.swg
|
||||
share/swig_lib/perl5/Makefile
|
||||
share/swig_lib/perl5/Makefile.pl
|
||||
share/swig_lib/python/embed.i
|
||||
share/swig_lib/python/embed13.i
|
||||
share/swig_lib/python/embed14.i
|
||||
share/swig_lib/python/ptrlang.i
|
||||
share/swig_lib/python/typemaps.i
|
||||
share/swig_lib/python/defarg.swg
|
||||
share/swig_lib/python/pyexp.swg
|
||||
share/swig_lib/python/python.swg
|
||||
share/swig_lib/python/Makefile
|
||||
share/swig_lib/guile/guilemain.i
|
||||
share/swig_lib/guile/interpreter.i
|
||||
share/swig_lib/guile/guile.swg
|
||||
share/swig_lib/config/swigptr.swg
|
||||
share/swig_lib/array.i
|
||||
share/swig_lib/autodoc.i
|
||||
share/swig_lib/carray.i
|
||||
share/swig_lib/constraints.i
|
||||
share/swig_lib/ctype.i
|
||||
share/swig_lib/exception.i
|
||||
share/swig_lib/malloc.i
|
||||
share/swig_lib/math.i
|
||||
share/swig_lib/memory.i
|
||||
share/swig_lib/objc.i
|
||||
share/swig_lib/pointer.i
|
||||
share/swig_lib/stdlib.i
|
||||
share/swig_lib/timers.i
|
||||
share/swig_lib/swigptr.swg
|
||||
share/swig_lib/Makefile
|
||||
@dirrm share/swig_lib/tcl
|
||||
@dirrm share/swig_lib/perl4
|
||||
@dirrm share/swig_lib/perl5
|
||||
@dirrm share/swig_lib/python
|
||||
@dirrm share/swig_lib/guile
|
||||
@dirrm share/swig_lib/config
|
||||
@dirrm share/swig_lib
|
Loading…
Reference in New Issue
Block a user