Dagobert Michelsen wrote:

Swig is also unmaintained at the moment and outdated. Feel free to take it over or to ask for somebody else to update it if you need a newer version.

I'll take it.    Do I have svn commit privileges for it now?  May I commit?


I've updated to swig-1.3.39 in my local tree and tried to update the Makefile for latest GAR practices as I understand them, like trying to use the automatic
spec and depend mechanisms.  "make build" is ok, and "make package"
does a lot of work and seems happy, but doesn't leave me with a package in
the staging area?   Could someone look at the attached Makefile and tell
me what I'm doing wrong?

John
GARNAME = swig
GARVERSION = 1.3.39
CATEGORIES = devel

DESCRIPTION = A scripting interface generator for C/C++ code.
define BLURB
  SWIG is a software development tool that connects programs written in C and
  C++ with a variety of high-level programming languages. SWIG is primarily used
  with common scripting languages such as Perl, Python, Tcl/Tk, and Ruby,
  however the list of supported languages also includes non-scripting languages
  such as Java, OCAML and C#. Also several interpreted and compiled Scheme
  implementations (Guile, MzScheme, Chicken) are supported. SWIG is most
  commonly used to create high-level interpreted or compiled programming
  environments, user interfaces, and as a tool for testing and prototyping C/C++
  software. SWIG can also export its parse tree in the form of XML and Lisp
  s-expressions.
endef

MASTER_SITES = $(SF_MIRRORS)
DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
#DISTFILES += $(call admfiles,CSWswig,depend prototype)

# We define upstream file regex so we can be notifed of new upstream software 
release
UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz

# uncomment the next line. Otherwise it is set by default to the value of 
MASTER_SITES
# 1343 is the group_id for the swig project on sourceforge
UPSTREAM_MASTER_SITES = $(SF_PROJECT_SHOWFILE)=1645
UPSTREAM_USE_SF = 1

# Prevent automake from attempting to regenerate everything
#PATCHFILES += am.diff

#REQUIRED_PKGS = 

# Languages we *do* have
#DEPEND += lang/tcl lang/python lang/perl lang/guile
#DEPEND += lang/ruby lang/php4 lang/ocaml
#DEPEND += lang/lua

# Languages we don't have yet
#DEPEND += lang/pike lang/chicken lang/mono lang/mzscheme 

CONFIGURE_ARGS  = $(DIRPATHS)
CONFIGURE_ARGS += --with-tcl=$(prefix)

# Configure finds most things, but point to a more current Java
CONFIGURE_ARGS += --with-java=/usr/j2se/bin/java
CONFIGURE_ARGS += --with-javac=/usr/j2se/bin/javac
CONFIGURE_ARGS += --with-javaincl=/usr/j2se/include

# Not sure if this was meant to run by non-developers
TEST_TARGET = check
TEST_SCRIPTS =

include gar/category.mk

#post-install: install-swig-doc
#
#install-swig-doc:
#       @mkdir -p $(DESTDIR)$(docdir)/$(GARNAME)
#       @cp -R $(WORKSRC)/Doc $(DESTDIR)$(docdir)/$(GARNAME)
#       @cp -R $(WORKSRC)/Examples $(DESTDIR)$(docdir)/$(GARNAME)
#       @$(MAKECOOKIE)
#       $(DONADA)

_______________________________________________
maintainers mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/maintainers

Reply via email to