2012-10-02 22:11:34 +02:00
|
|
|
# $NetBSD: Makefile,v 1.59 2012/10/02 20:11:44 asau Exp $
|
1999-10-29 15:57:56 +02:00
|
|
|
#
|
|
|
|
|
2011-01-24 00:54:21 +01:00
|
|
|
DISTNAME= librep-0.91.0
|
2012-09-15 12:03:29 +02:00
|
|
|
PKGREVISION= 4
|
2000-07-01 05:39:44 +02:00
|
|
|
CATEGORIES= lang devel
|
2011-01-24 00:54:21 +01:00
|
|
|
MASTER_SITES= http://download.tuxfamily.org/sawfish/librep/
|
2009-04-16 20:08:32 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
1999-10-29 15:57:56 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2000-07-01 05:39:44 +02:00
|
|
|
HOMEPAGE= http://librep.sourceforge.net/
|
2001-02-17 10:06:56 +01:00
|
|
|
COMMENT= Emacs Lisp-like runtime library, interpreter, compiler and VM
|
1999-10-29 15:57:56 +02:00
|
|
|
|
2006-03-05 17:27:22 +01:00
|
|
|
USE_TOOLS+= gmake makeinfo
|
2009-04-16 20:08:32 +02:00
|
|
|
USE_GNU_READLINE= yes # uses rl_basic_quote_characters
|
2004-02-12 10:10:51 +01:00
|
|
|
USE_LIBTOOL= yes
|
2009-07-14 12:01:28 +02:00
|
|
|
# we have a symlink to libtool
|
|
|
|
DEPENDS+= libtool-base-[0-9]*:../../devel/libtool-base
|
2009-04-16 20:08:32 +02:00
|
|
|
INFO_FILES= yes
|
|
|
|
PKGCONFIG_OVERRIDE= librep.pc.in
|
|
|
|
|
Update to librep 0.90.5
0.90.5
======
* Byte compiler bugfix in docstring loss [Teika Kazura]
Practical effect: Previously, if a user byte-compile files, then
the docstring is lost in sawfish-config. This is fixed.
Details: Loss of docstring happened only if (1) byte compiler is
not given `--write-docs', so only byte-compilation by user (2)
defvar is invoked within macro definition, including `defcustom' in
Sawfish. Plain defvar was not affected by this bug. It was
because in 'trans-defvar' in lisp/rep/vm/compiler/rep.jl, the
docstring is stored in a wrong property `variable-documentation'.
It is corrected to `documentation'.
Symbol `variable-documentation' is not used elsewhere, including
Sawfish and emacs' sawfish-mode.
* Our own implementation of dlmalloc is disabled since 2002, as it
breaks librep on several architectures. From this version on, we
don't ship it. [Kim B. Heino]
* Our own implementation of alloca/memcmp is not needed, rely on
libcs instead. [Kim B. Heino]
* Majorly improved the debian and rpm packaging scripts [Christopher
Bratusek] [Kim B. Heino]
* Install headers to $includedir/rep/ instead of $includedir/
[Christopher Bratusek]
* Autotools improvements (Makefile, autogen.sh & Co.) [Christopher
Bratusek]
* Added `file-gid-p' function for getting the gid of a file
[Christopher Bratusek]
* Added `file-uid-p' function for getting the uid of a file
[Christopher Bratusek]
0.90.4
======
* Library version bumped to 9.4.1
* Use $prefix/lib instead of $prefix/libexec
* Fixups for OpenBSD [Jasper Lievisse Adriaanse]
* Don't hardcode /usr in manpage installation path
0.90.3
======
* Added `file-executable-p' function
* Improved spec-file [Kim B. Heino]
* Improved ebuild [Fuchur, Christopher Bratusek]
* Fallback check for ffi, if there's no libffi.pc [Vincent Untz]
* Removed rep-config script (use librep.pc instead)
* Added man-pages for `rep', `repdoc', `rep-remote' and
`rep-xgettext' [Debian]
* Added debian packaging scripts based on the official ones
0.90.2
======
* Fixed a major defunct with prin1 + utf8 [Timo Korvola]
* Fixed descriptions of formats %s and %S in streams.c
0.90.1
======
* Properly terminate the rep interpreter [Jürgen Hötzel]
* Use readline history in interactive mode [Jürgen Hötzel]
* Tar file-handler does now support XZ compressed tarballs
* Tar file-handler does now support LZMA compressed tarballs
* Improved regex for parsing tar output in the file-handler [Alexey
I. Froloff]
* We do now correctly check for libffi
* Improved libffi-binding [Alexey I. Froloff]
* Updated librep.sym for missing entries [Alexey I. Froloff]
* Fixed an incomplete definition
* Added -L$prefix to libs section of the .pc file
* No C++ style comments in C code
2010-08-21 18:55:06 +02:00
|
|
|
REP_LIBTOOL= ${PREFIX}/lib/rep/${MACHINE_GNU_PLATFORM}/libtool
|
2000-10-27 10:01:46 +02:00
|
|
|
|
2004-02-12 10:10:51 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2000-10-27 10:01:46 +02:00
|
|
|
CONFIGURE_ARGS+= --with-readline
|
2001-05-28 08:19:10 +02:00
|
|
|
CONFIGURE_ARGS+= --with-gmp
|
2001-10-22 04:23:53 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-static
|
2001-05-28 08:19:10 +02:00
|
|
|
|
2011-08-20 17:35:23 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} == "x86_64"
|
|
|
|
CONFIGURE_ARGS+= --with-stack-direction=-1
|
|
|
|
.endif
|
|
|
|
|
2009-04-16 20:08:32 +02:00
|
|
|
REPLACE_INTERPRETER+= rep
|
|
|
|
REPLACE.rep.old= .*/bin/rep
|
|
|
|
REPLACE.rep.new= ${PREFIX}/bin/rep
|
|
|
|
REPLACE_FILES.rep= src/rep-xgettext.jl
|
2003-07-05 17:53:33 +02:00
|
|
|
|
2002-12-23 05:25:01 +01:00
|
|
|
post-install:
|
2009-04-16 20:08:32 +02:00
|
|
|
${RM} -f ${DESTDIR}${REP_LIBTOOL}
|
2009-07-14 12:01:28 +02:00
|
|
|
${LN} -s ${PKG_LIBTOOL} ${DESTDIR}${REP_LIBTOOL}
|
2002-12-23 05:25:01 +01:00
|
|
|
|
2004-02-12 10:10:51 +01:00
|
|
|
.include "../../databases/gdbm/buildlink3.mk"
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../devel/gmp/buildlink3.mk"
|
Update to librep 0.90.5
0.90.5
======
* Byte compiler bugfix in docstring loss [Teika Kazura]
Practical effect: Previously, if a user byte-compile files, then
the docstring is lost in sawfish-config. This is fixed.
Details: Loss of docstring happened only if (1) byte compiler is
not given `--write-docs', so only byte-compilation by user (2)
defvar is invoked within macro definition, including `defcustom' in
Sawfish. Plain defvar was not affected by this bug. It was
because in 'trans-defvar' in lisp/rep/vm/compiler/rep.jl, the
docstring is stored in a wrong property `variable-documentation'.
It is corrected to `documentation'.
Symbol `variable-documentation' is not used elsewhere, including
Sawfish and emacs' sawfish-mode.
* Our own implementation of dlmalloc is disabled since 2002, as it
breaks librep on several architectures. From this version on, we
don't ship it. [Kim B. Heino]
* Our own implementation of alloca/memcmp is not needed, rely on
libcs instead. [Kim B. Heino]
* Majorly improved the debian and rpm packaging scripts [Christopher
Bratusek] [Kim B. Heino]
* Install headers to $includedir/rep/ instead of $includedir/
[Christopher Bratusek]
* Autotools improvements (Makefile, autogen.sh & Co.) [Christopher
Bratusek]
* Added `file-gid-p' function for getting the gid of a file
[Christopher Bratusek]
* Added `file-uid-p' function for getting the uid of a file
[Christopher Bratusek]
0.90.4
======
* Library version bumped to 9.4.1
* Use $prefix/lib instead of $prefix/libexec
* Fixups for OpenBSD [Jasper Lievisse Adriaanse]
* Don't hardcode /usr in manpage installation path
0.90.3
======
* Added `file-executable-p' function
* Improved spec-file [Kim B. Heino]
* Improved ebuild [Fuchur, Christopher Bratusek]
* Fallback check for ffi, if there's no libffi.pc [Vincent Untz]
* Removed rep-config script (use librep.pc instead)
* Added man-pages for `rep', `repdoc', `rep-remote' and
`rep-xgettext' [Debian]
* Added debian packaging scripts based on the official ones
0.90.2
======
* Fixed a major defunct with prin1 + utf8 [Timo Korvola]
* Fixed descriptions of formats %s and %S in streams.c
0.90.1
======
* Properly terminate the rep interpreter [Jürgen Hötzel]
* Use readline history in interactive mode [Jürgen Hötzel]
* Tar file-handler does now support XZ compressed tarballs
* Tar file-handler does now support LZMA compressed tarballs
* Improved regex for parsing tar output in the file-handler [Alexey
I. Froloff]
* We do now correctly check for libffi
* Improved libffi-binding [Alexey I. Froloff]
* Updated librep.sym for missing entries [Alexey I. Froloff]
* Fixed an incomplete definition
* Added -L$prefix to libs section of the .pc file
* No C++ style comments in C code
2010-08-21 18:55:06 +02:00
|
|
|
.include "../../devel/libffi/buildlink3.mk"
|
2004-02-12 10:10:51 +01:00
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
1999-10-29 15:57:56 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|