2013-06-03 12:05:17 +02:00
|
|
|
# $NetBSD: Makefile,v 1.50 2013/06/03 10:05:27 wiz Exp $
|
Initial import of sather.
Sather is an object oriented language which designed to be simple,
efficient, safe, and non-proprietary. It aims to meet the needs of
modern research groups and to foster the development of a large,
freely available, high-quality library of efficient well-written
classes for a wide variety of computational tasks. It was originally
based on Eiffel but now incorporates ideas and approaches from several
languages. One way of placing it in the "space of languages" is to say
that it attempts to be as efficient as C, C++, or Fortran, as elegant
and safe as Eiffel or CLU, and to support higher-order functions as
well as Common Lisp, Scheme, or Smalltalk.
Sather has garbage collection, statically-checked strong typing,
multiple inheritance, separate implementation and type inheritance,
parameterized classes, dynamic dispatch, iteration abstraction,
higher-order routines and iters, exception handling, assertions,
preconditions, postconditions, and class invariants. Sather code can
be compiled into C code and can efficiently link with C object files.
2002-05-04 02:45:28 +02:00
|
|
|
|
2008-07-14 03:23:52 +02:00
|
|
|
DISTNAME= sather-1.2.3
|
2013-06-03 12:05:17 +02:00
|
|
|
PKGREVISION= 4
|
Initial import of sather.
Sather is an object oriented language which designed to be simple,
efficient, safe, and non-proprietary. It aims to meet the needs of
modern research groups and to foster the development of a large,
freely available, high-quality library of efficient well-written
classes for a wide variety of computational tasks. It was originally
based on Eiffel but now incorporates ideas and approaches from several
languages. One way of placing it in the "space of languages" is to say
that it attempts to be as efficient as C, C++, or Fortran, as elegant
and safe as Eiffel or CLU, and to support higher-order functions as
well as Common Lisp, Scheme, or Smalltalk.
Sather has garbage collection, statically-checked strong typing,
multiple inheritance, separate implementation and type inheritance,
parameterized classes, dynamic dispatch, iteration abstraction,
higher-order routines and iters, exception handling, assertions,
preconditions, postconditions, and class invariants. Sather code can
be compiled into C code and can efficiently link with C object files.
2002-05-04 02:45:28 +02:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=sather/}
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2005-06-30 16:55:03 +02:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/sather/
|
Initial import of sather.
Sather is an object oriented language which designed to be simple,
efficient, safe, and non-proprietary. It aims to meet the needs of
modern research groups and to foster the development of a large,
freely available, high-quality library of efficient well-written
classes for a wide variety of computational tasks. It was originally
based on Eiffel but now incorporates ideas and approaches from several
languages. One way of placing it in the "space of languages" is to say
that it attempts to be as efficient as C, C++, or Fortran, as elegant
and safe as Eiffel or CLU, and to support higher-order functions as
well as Common Lisp, Scheme, or Smalltalk.
Sather has garbage collection, statically-checked strong typing,
multiple inheritance, separate implementation and type inheritance,
parameterized classes, dynamic dispatch, iteration abstraction,
higher-order routines and iters, exception handling, assertions,
preconditions, postconditions, and class invariants. Sather code can
be compiled into C code and can efficiently link with C object files.
2002-05-04 02:45:28 +02:00
|
|
|
COMMENT= Compiler for the Sather object oriented programming language
|
2008-07-14 03:23:52 +02:00
|
|
|
#LICENSE= gnu-gpl-v3 gnu-lgpl-v3
|
Initial import of sather.
Sather is an object oriented language which designed to be simple,
efficient, safe, and non-proprietary. It aims to meet the needs of
modern research groups and to foster the development of a large,
freely available, high-quality library of efficient well-written
classes for a wide variety of computational tasks. It was originally
based on Eiffel but now incorporates ideas and approaches from several
languages. One way of placing it in the "space of languages" is to say
that it attempts to be as efficient as C, C++, or Fortran, as elegant
and safe as Eiffel or CLU, and to support higher-order functions as
well as Common Lisp, Scheme, or Smalltalk.
Sather has garbage collection, statically-checked strong typing,
multiple inheritance, separate implementation and type inheritance,
parameterized classes, dynamic dispatch, iteration abstraction,
higher-order routines and iters, exception handling, assertions,
preconditions, postconditions, and class invariants. Sather code can
be compiled into C code and can efficiently link with C object files.
2002-05-04 02:45:28 +02:00
|
|
|
|
2009-06-30 02:07:09 +02:00
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
2008-07-14 04:03:12 +02:00
|
|
|
USE_TOOLS+= gmake makeinfo pax perl:run
|
Initial import of sather.
Sather is an object oriented language which designed to be simple,
efficient, safe, and non-proprietary. It aims to meet the needs of
modern research groups and to foster the development of a large,
freely available, high-quality library of efficient well-written
classes for a wide variety of computational tasks. It was originally
based on Eiffel but now incorporates ideas and approaches from several
languages. One way of placing it in the "space of languages" is to say
that it attempts to be as efficient as C, C++, or Fortran, as elegant
and safe as Eiffel or CLU, and to support higher-order functions as
well as Common Lisp, Scheme, or Smalltalk.
Sather has garbage collection, statically-checked strong typing,
multiple inheritance, separate implementation and type inheritance,
parameterized classes, dynamic dispatch, iteration abstraction,
higher-order routines and iters, exception handling, assertions,
preconditions, postconditions, and class invariants. Sather code can
be compiled into C code and can efficiently link with C object files.
2002-05-04 02:45:28 +02:00
|
|
|
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= full optional
|
2013-04-06 22:27:16 +02:00
|
|
|
INFO_FILES= yes
|
Initial import of sather.
Sather is an object oriented language which designed to be simple,
efficient, safe, and non-proprietary. It aims to meet the needs of
modern research groups and to foster the development of a large,
freely available, high-quality library of efficient well-written
classes for a wide variety of computational tasks. It was originally
based on Eiffel but now incorporates ideas and approaches from several
languages. One way of placing it in the "space of languages" is to say
that it attempts to be as efficient as C, C++, or Fortran, as elegant
and safe as Eiffel or CLU, and to support higher-order functions as
well as Common Lisp, Scheme, or Smalltalk.
Sather has garbage collection, statically-checked strong typing,
multiple inheritance, separate implementation and type inheritance,
parameterized classes, dynamic dispatch, iteration abstraction,
higher-order routines and iters, exception handling, assertions,
preconditions, postconditions, and class invariants. Sather code can
be compiled into C code and can efficiently link with C object files.
2002-05-04 02:45:28 +02:00
|
|
|
|
2003-09-02 15:38:44 +02:00
|
|
|
REPLACE_PERL= Browser/Web/ps2gif
|
2003-04-30 01:40:02 +02:00
|
|
|
|
2004-03-07 10:29:04 +01:00
|
|
|
SUBST_CLASSES+= sather-configure
|
2004-11-28 20:19:51 +01:00
|
|
|
SUBST_STAGE.sather-configure= post-wrapper
|
2006-04-22 11:22:05 +02:00
|
|
|
SUBST_MESSAGE.sather-configure= Configuring sources
|
2004-03-07 10:29:04 +01:00
|
|
|
SUBST_FILES.sather-configure= \
|
|
|
|
Boot/sacomp.code/Makefile \
|
|
|
|
Library/System/unix.sa \
|
|
|
|
System/Common/CONFIG.proto \
|
2006-01-12 01:05:04 +01:00
|
|
|
System/Platforms/${LOWER_OPSYS}/CONFIG \
|
2004-03-07 10:29:04 +01:00
|
|
|
System/Platforms/X/Platform.module \
|
|
|
|
debian/bin-wrapper \
|
|
|
|
Browser/Web/convert-1.1 \
|
|
|
|
Browser/Web/gen_html_class_index \
|
|
|
|
Browser/Web/gen_html_sa_files \
|
|
|
|
Browser/Web/gen_html_shortflat \
|
|
|
|
Browser/Web/gen_html_top_level \
|
|
|
|
Browser/Web/gen_mml_sa_files \
|
|
|
|
Browser/Web/gen_mml_shortflat \
|
|
|
|
Browser/Web/graph2dot
|
2013-04-06 23:07:31 +02:00
|
|
|
SUBST_SED.sather-configure= -e 's:@CC@:${CC}:g'
|
|
|
|
SUBST_SED.sather-configure+= -e 's:@CFLAGS@:${CFLAGS}:g'
|
|
|
|
SUBST_SED.sather-configure+= -e 's:@GMAKE@:${GMAKE}:g'
|
|
|
|
SUBST_SED.sather-configure+= -e 's:@PREFIX@:${PREFIX}:g'
|
|
|
|
SUBST_SED.sather-configure+= -e 's:@X11BASE@:${X11BASE}:g'
|
|
|
|
SUBST_SED.sather-configure+= -e 's:@GC_PREFIX@:${BUILDLINK_PREFIX.boehm-gc}:g'
|
|
|
|
SUBST_SED.sather-configure+= -e 's:@TCL_PREFIX@:${BUILDLINK_PREFIX.tcl}:g'
|
|
|
|
SUBST_SED.sather-configure+= -e 's:@TK_PREFIX@:${BUILDLINK_PREFIX.tk}:g'
|
|
|
|
SUBST_SED.sather-configure+= -e 's:@LINKER_RPATH_FLAG@:${LINKER_RPATH_FLAG}:g'
|
|
|
|
SUBST_SED.sather-configure+= -e 's:@COMPILER_RPATH_FLAG@:${COMPILER_RPATH_FLAG}:g'
|
Initial import of sather.
Sather is an object oriented language which designed to be simple,
efficient, safe, and non-proprietary. It aims to meet the needs of
modern research groups and to foster the development of a large,
freely available, high-quality library of efficient well-written
classes for a wide variety of computational tasks. It was originally
based on Eiffel but now incorporates ideas and approaches from several
languages. One way of placing it in the "space of languages" is to say
that it attempts to be as efficient as C, C++, or Fortran, as elegant
and safe as Eiffel or CLU, and to support higher-order functions as
well as Common Lisp, Scheme, or Smalltalk.
Sather has garbage collection, statically-checked strong typing,
multiple inheritance, separate implementation and type inheritance,
parameterized classes, dynamic dispatch, iteration abstraction,
higher-order routines and iters, exception handling, assertions,
preconditions, postconditions, and class invariants. Sather code can
be compiled into C code and can efficiently link with C object files.
2002-05-04 02:45:28 +02:00
|
|
|
|
2008-04-07 19:52:07 +02:00
|
|
|
INSTALLATION_DIRS= bin ${PKGINFODIR} ${PKGMANDIR}/man1 lib/sather \
|
|
|
|
share/doc/sather share/emacs/site-lisp
|
2005-06-16 08:57:37 +02:00
|
|
|
|
2006-01-12 01:05:04 +01:00
|
|
|
post-patch:
|
2007-11-28 08:37:46 +01:00
|
|
|
ln -s netbsd ${WRKSRC}/System/Platforms/dragonfly
|
2006-01-12 01:05:04 +01:00
|
|
|
|
Initial import of sather.
Sather is an object oriented language which designed to be simple,
efficient, safe, and non-proprietary. It aims to meet the needs of
modern research groups and to foster the development of a large,
freely available, high-quality library of efficient well-written
classes for a wide variety of computational tasks. It was originally
based on Eiffel but now incorporates ideas and approaches from several
languages. One way of placing it in the "space of languages" is to say
that it attempts to be as efficient as C, C++, or Fortran, as elegant
and safe as Eiffel or CLU, and to support higher-order functions as
well as Common Lisp, Scheme, or Smalltalk.
Sather has garbage collection, statically-checked strong typing,
multiple inheritance, separate implementation and type inheritance,
parameterized classes, dynamic dispatch, iteration abstraction,
higher-order routines and iters, exception handling, assertions,
preconditions, postconditions, and class invariants. Sather code can
be compiled into C code and can efficiently link with C object files.
2002-05-04 02:45:28 +02:00
|
|
|
post-build:
|
2006-04-05 08:27:41 +02:00
|
|
|
cd ${WRKSRC}/Emacs; \
|
|
|
|
makeinfo sather.texinfo; \
|
|
|
|
makeinfo sather-tutorial.texinfo; \
|
|
|
|
makeinfo sather-mode.texinfo
|
2003-04-30 01:40:02 +02:00
|
|
|
${RM} -fr ${WRKSRC}/System/Platforms/dualgui/dual_gui_server.code
|
|
|
|
|
Initial import of sather.
Sather is an object oriented language which designed to be simple,
efficient, safe, and non-proprietary. It aims to meet the needs of
modern research groups and to foster the development of a large,
freely available, high-quality library of efficient well-written
classes for a wide variety of computational tasks. It was originally
based on Eiffel but now incorporates ideas and approaches from several
languages. One way of placing it in the "space of languages" is to say
that it attempts to be as efficient as C, C++, or Fortran, as elegant
and safe as Eiffel or CLU, and to support higher-order functions as
well as Common Lisp, Scheme, or Smalltalk.
Sather has garbage collection, statically-checked strong typing,
multiple inheritance, separate implementation and type inheritance,
parameterized classes, dynamic dispatch, iteration abstraction,
higher-order routines and iters, exception handling, assertions,
preconditions, postconditions, and class invariants. Sather code can
be compiled into C code and can efficiently link with C object files.
2002-05-04 02:45:28 +02:00
|
|
|
do-install:
|
2008-03-04 17:38:11 +01:00
|
|
|
${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/lib/sather/Bin
|
2008-04-07 19:52:07 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Bin/sacomp ${WRKSRC}/Bin/sabrowse \
|
2008-03-04 17:38:11 +01:00
|
|
|
${DESTDIR}${PREFIX}/lib/sather/Bin
|
2008-04-07 19:52:07 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/Bin/PP ${WRKSRC}/Bin/gen_html \
|
|
|
|
${WRKSRC}/Bin/saprep ${DESTDIR}${PREFIX}/lib/sather/Bin
|
Initial import of sather.
Sather is an object oriented language which designed to be simple,
efficient, safe, and non-proprietary. It aims to meet the needs of
modern research groups and to foster the development of a large,
freely available, high-quality library of efficient well-written
classes for a wide variety of computational tasks. It was originally
based on Eiffel but now incorporates ideas and approaches from several
languages. One way of placing it in the "space of languages" is to say
that it attempts to be as efficient as C, C++, or Fortran, as elegant
and safe as Eiffel or CLU, and to support higher-order functions as
well as Common Lisp, Scheme, or Smalltalk.
Sather has garbage collection, statically-checked strong typing,
multiple inheritance, separate implementation and type inheritance,
parameterized classes, dynamic dispatch, iteration abstraction,
higher-order routines and iters, exception handling, assertions,
preconditions, postconditions, and class invariants. Sather code can
be compiled into C code and can efficiently link with C object files.
2002-05-04 02:45:28 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/debian/bin-wrapper \
|
2008-03-04 17:38:11 +01:00
|
|
|
${DESTDIR}${PREFIX}/lib/sather/Bin
|
2008-04-07 19:52:07 +02:00
|
|
|
${LN} -sf ../lib/sather/Bin/bin-wrapper ${DESTDIR}${PREFIX}/bin/sacomp
|
|
|
|
${LN} -sf ../lib/sather/Bin/bin-wrapper ${DESTDIR}${PREFIX}/bin/sabrowse
|
2008-05-26 04:13:14 +02:00
|
|
|
cd ${WRKSRC} && pax -s ',.*\.sav,,' -rw Library \
|
2004-03-07 10:29:04 +01:00
|
|
|
System/FORBID \
|
|
|
|
System/Debug \
|
Initial import of sather.
Sather is an object oriented language which designed to be simple,
efficient, safe, and non-proprietary. It aims to meet the needs of
modern research groups and to foster the development of a large,
freely available, high-quality library of efficient well-written
classes for a wide variety of computational tasks. It was originally
based on Eiffel but now incorporates ideas and approaches from several
languages. One way of placing it in the "space of languages" is to say
that it attempts to be as efficient as C, C++, or Fortran, as elegant
and safe as Eiffel or CLU, and to support higher-order functions as
well as Common Lisp, Scheme, or Smalltalk.
Sather has garbage collection, statically-checked strong typing,
multiple inheritance, separate implementation and type inheritance,
parameterized classes, dynamic dispatch, iteration abstraction,
higher-order routines and iters, exception handling, assertions,
preconditions, postconditions, and class invariants. Sather code can
be compiled into C code and can efficiently link with C object files.
2002-05-04 02:45:28 +02:00
|
|
|
System/Common/*.c System/Common/*.h \
|
|
|
|
System/Common/*.module System/Common/CONFIG \
|
2006-01-12 01:05:04 +01:00
|
|
|
System/Platforms/f77 System/Platforms/${LOWER_OPSYS} \
|
Initial import of sather.
Sather is an object oriented language which designed to be simple,
efficient, safe, and non-proprietary. It aims to meet the needs of
modern research groups and to foster the development of a large,
freely available, high-quality library of efficient well-written
classes for a wide variety of computational tasks. It was originally
based on Eiffel but now incorporates ideas and approaches from several
languages. One way of placing it in the "space of languages" is to say
that it attempts to be as efficient as C, C++, or Fortran, as elegant
and safe as Eiffel or CLU, and to support higher-order functions as
well as Common Lisp, Scheme, or Smalltalk.
Sather has garbage collection, statically-checked strong typing,
multiple inheritance, separate implementation and type inheritance,
parameterized classes, dynamic dispatch, iteration abstraction,
higher-order routines and iters, exception handling, assertions,
preconditions, postconditions, and class invariants. Sather code can
be compiled into C code and can efficiently link with C object files.
2002-05-04 02:45:28 +02:00
|
|
|
System/Platforms/X System/Platforms/dualgui \
|
|
|
|
System/Platforms/gui System/Platforms/tcltk \
|
2008-03-04 17:38:11 +01:00
|
|
|
Browser ${DESTDIR}${PREFIX}/lib/sather
|
|
|
|
${FIND} ${DESTDIR}${PREFIX}/lib/sather \
|
|
|
|
-name \*.config -o -name Makefile \
|
2004-01-27 01:53:10 +01:00
|
|
|
-o -name \*.orig -print | ${XARGS} ${RM} -f
|
2006-04-05 08:27:41 +02:00
|
|
|
cd ${WRKSRC}/Emacs; for f in *.info *.info-[0-9]*; do \
|
|
|
|
${TEST} ! -f "$$f" || \
|
2008-03-04 17:38:11 +01:00
|
|
|
${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR};\
|
2006-04-05 08:27:41 +02:00
|
|
|
done
|
2008-05-26 04:13:14 +02:00
|
|
|
cd ${WRKSRC}/Doc && pax -rw -s ',.*/man.*,,' . \
|
2008-03-04 17:38:11 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/doc/sather
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/Doc/man/man1/sacomp.1 \
|
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/Doc/man/man1/sabrowse.1 \
|
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Emacs/*.el \
|
|
|
|
${DESTDIR}${PREFIX}/share/emacs/site-lisp
|
Initial import of sather.
Sather is an object oriented language which designed to be simple,
efficient, safe, and non-proprietary. It aims to meet the needs of
modern research groups and to foster the development of a large,
freely available, high-quality library of efficient well-written
classes for a wide variety of computational tasks. It was originally
based on Eiffel but now incorporates ideas and approaches from several
languages. One way of placing it in the "space of languages" is to say
that it attempts to be as efficient as C, C++, or Fortran, as elegant
and safe as Eiffel or CLU, and to support higher-order functions as
well as Common Lisp, Scheme, or Smalltalk.
Sather has garbage collection, statically-checked strong typing,
multiple inheritance, separate implementation and type inheritance,
parameterized classes, dynamic dispatch, iteration abstraction,
higher-order routines and iters, exception handling, assertions,
preconditions, postconditions, and class invariants. Sather code can
be compiled into C code and can efficiently link with C object files.
2002-05-04 02:45:28 +02:00
|
|
|
|
2004-05-12 05:21:08 +02:00
|
|
|
.include "../../devel/boehm-gc/buildlink3.mk"
|
2008-07-14 03:23:52 +02:00
|
|
|
.include "../../x11/tk/buildlink3.mk"
|
|
|
|
.include "../../lang/tcl/buildlink3.mk"
|
2002-09-23 11:54:03 +02:00
|
|
|
|
Initial import of sather.
Sather is an object oriented language which designed to be simple,
efficient, safe, and non-proprietary. It aims to meet the needs of
modern research groups and to foster the development of a large,
freely available, high-quality library of efficient well-written
classes for a wide variety of computational tasks. It was originally
based on Eiffel but now incorporates ideas and approaches from several
languages. One way of placing it in the "space of languages" is to say
that it attempts to be as efficient as C, C++, or Fortran, as elegant
and safe as Eiffel or CLU, and to support higher-order functions as
well as Common Lisp, Scheme, or Smalltalk.
Sather has garbage collection, statically-checked strong typing,
multiple inheritance, separate implementation and type inheritance,
parameterized classes, dynamic dispatch, iteration abstraction,
higher-order routines and iters, exception handling, assertions,
preconditions, postconditions, and class invariants. Sather code can
be compiled into C code and can efficiently link with C object files.
2002-05-04 02:45:28 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|