pkgsrc/lang/librep/Makefile

50 lines
1.4 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.59 2012/10/02 20:11:44 asau Exp $
#
DISTNAME= librep-0.91.0
PKGREVISION= 4
2000-07-01 05:39:44 +02:00
CATEGORIES= lang devel
MASTER_SITES= http://download.tuxfamily.org/sawfish/librep/
Update to librep-0.17.3. 0.17.3 ====== * Updated MAINTAINERS * Dropped rep.m4 - use librep.pc instead * Improved librep.pc * Updated librep.spec * Add -L/lib$libsuff to READLINE_LIBS [T2 Patch] * Fix compilation on PPC64 [Marcus Comstedt] * Small fixup in src/fake-libexec [SuSE] * No rpath in src/rep-config.sh [Fedora] * Added ebuild [Harald van Dijk] * Improved Makefile's distclean rule * Reworked autogen.sh * Reworked configure.in * Major rework of the spec-file * Improved configure's ending message * Fixed configure.in's templates for autoheader * BSD-Tar is not supported by librep, give users a usefull warning message [Mark Diekhans] 0.17.2 ====== * fixups for configure.in * updated BUGS, HACKING and README * define inline if undefined (fixes compiler warnings) * create the destination directory for the .pc file before installing it * fixed in issue with FreeBSD in numbers.c [FreeBSD patch] * improved a function of numbers.c [FreeBSD patch] * rep_file_fdopen has not been listed in librep.sym * added -tag=CC to libtool in several places * don't ignore $LDFLAGS upon build * dropped some useless code in sdbm.c * make sure inline is defined 0.17.1 ====== * started code-cleanup * added a .pc file * added -no-split to makeinfo [FreeBSD patch] * added -enable-paranoia to configure [compile with CFLAGS+="-Wall -ansi"] * updated the spec file * replaced a static void by a void in main.c [Debian patch] * use correct shebang in rep-xgettext.jl [ALT-Linux patch] * trim trailing / to mkdir(2) [NetBSD patch]
2009-04-16 20:08:32 +02:00
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
2000-07-01 05:39:44 +02:00
HOMEPAGE= http://librep.sourceforge.net/
COMMENT= Emacs Lisp-like runtime library, interpreter, compiler and VM
USE_TOOLS+= gmake makeinfo
Update to librep-0.17.3. 0.17.3 ====== * Updated MAINTAINERS * Dropped rep.m4 - use librep.pc instead * Improved librep.pc * Updated librep.spec * Add -L/lib$libsuff to READLINE_LIBS [T2 Patch] * Fix compilation on PPC64 [Marcus Comstedt] * Small fixup in src/fake-libexec [SuSE] * No rpath in src/rep-config.sh [Fedora] * Added ebuild [Harald van Dijk] * Improved Makefile's distclean rule * Reworked autogen.sh * Reworked configure.in * Major rework of the spec-file * Improved configure's ending message * Fixed configure.in's templates for autoheader * BSD-Tar is not supported by librep, give users a usefull warning message [Mark Diekhans] 0.17.2 ====== * fixups for configure.in * updated BUGS, HACKING and README * define inline if undefined (fixes compiler warnings) * create the destination directory for the .pc file before installing it * fixed in issue with FreeBSD in numbers.c [FreeBSD patch] * improved a function of numbers.c [FreeBSD patch] * rep_file_fdopen has not been listed in librep.sym * added -tag=CC to libtool in several places * don't ignore $LDFLAGS upon build * dropped some useless code in sdbm.c * make sure inline is defined 0.17.1 ====== * started code-cleanup * added a .pc file * added -no-split to makeinfo [FreeBSD patch] * added -enable-paranoia to configure [compile with CFLAGS+="-Wall -ansi"] * updated the spec file * replaced a static void by a void in main.c [Debian patch] * use correct shebang in rep-xgettext.jl [ALT-Linux patch] * trim trailing / to mkdir(2) [NetBSD patch]
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
# we have a symlink to libtool
DEPENDS+= libtool-base-[0-9]*:../../devel/libtool-base
Update to librep-0.17.3. 0.17.3 ====== * Updated MAINTAINERS * Dropped rep.m4 - use librep.pc instead * Improved librep.pc * Updated librep.spec * Add -L/lib$libsuff to READLINE_LIBS [T2 Patch] * Fix compilation on PPC64 [Marcus Comstedt] * Small fixup in src/fake-libexec [SuSE] * No rpath in src/rep-config.sh [Fedora] * Added ebuild [Harald van Dijk] * Improved Makefile's distclean rule * Reworked autogen.sh * Reworked configure.in * Major rework of the spec-file * Improved configure's ending message * Fixed configure.in's templates for autoheader * BSD-Tar is not supported by librep, give users a usefull warning message [Mark Diekhans] 0.17.2 ====== * fixups for configure.in * updated BUGS, HACKING and README * define inline if undefined (fixes compiler warnings) * create the destination directory for the .pc file before installing it * fixed in issue with FreeBSD in numbers.c [FreeBSD patch] * improved a function of numbers.c [FreeBSD patch] * rep_file_fdopen has not been listed in librep.sym * added -tag=CC to libtool in several places * don't ignore $LDFLAGS upon build * dropped some useless code in sdbm.c * make sure inline is defined 0.17.1 ====== * started code-cleanup * added a .pc file * added -no-split to makeinfo [FreeBSD patch] * added -enable-paranoia to configure [compile with CFLAGS+="-Wall -ansi"] * updated the spec file * replaced a static void by a void in main.c [Debian patch] * use correct shebang in rep-xgettext.jl [ALT-Linux patch] * trim trailing / to mkdir(2) [NetBSD patch]
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
2004-02-12 10:10:51 +01:00
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-readline
CONFIGURE_ARGS+= --with-gmp
CONFIGURE_ARGS+= --enable-static
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "x86_64"
CONFIGURE_ARGS+= --with-stack-direction=-1
.endif
Update to librep-0.17.3. 0.17.3 ====== * Updated MAINTAINERS * Dropped rep.m4 - use librep.pc instead * Improved librep.pc * Updated librep.spec * Add -L/lib$libsuff to READLINE_LIBS [T2 Patch] * Fix compilation on PPC64 [Marcus Comstedt] * Small fixup in src/fake-libexec [SuSE] * No rpath in src/rep-config.sh [Fedora] * Added ebuild [Harald van Dijk] * Improved Makefile's distclean rule * Reworked autogen.sh * Reworked configure.in * Major rework of the spec-file * Improved configure's ending message * Fixed configure.in's templates for autoheader * BSD-Tar is not supported by librep, give users a usefull warning message [Mark Diekhans] 0.17.2 ====== * fixups for configure.in * updated BUGS, HACKING and README * define inline if undefined (fixes compiler warnings) * create the destination directory for the .pc file before installing it * fixed in issue with FreeBSD in numbers.c [FreeBSD patch] * improved a function of numbers.c [FreeBSD patch] * rep_file_fdopen has not been listed in librep.sym * added -tag=CC to libtool in several places * don't ignore $LDFLAGS upon build * dropped some useless code in sdbm.c * make sure inline is defined 0.17.1 ====== * started code-cleanup * added a .pc file * added -no-split to makeinfo [FreeBSD patch] * added -enable-paranoia to configure [compile with CFLAGS+="-Wall -ansi"] * updated the spec file * replaced a static void by a void in main.c [Debian patch] * use correct shebang in rep-xgettext.jl [ALT-Linux patch] * trim trailing / to mkdir(2) [NetBSD patch]
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
post-install:
Update to librep-0.17.3. 0.17.3 ====== * Updated MAINTAINERS * Dropped rep.m4 - use librep.pc instead * Improved librep.pc * Updated librep.spec * Add -L/lib$libsuff to READLINE_LIBS [T2 Patch] * Fix compilation on PPC64 [Marcus Comstedt] * Small fixup in src/fake-libexec [SuSE] * No rpath in src/rep-config.sh [Fedora] * Added ebuild [Harald van Dijk] * Improved Makefile's distclean rule * Reworked autogen.sh * Reworked configure.in * Major rework of the spec-file * Improved configure's ending message * Fixed configure.in's templates for autoheader * BSD-Tar is not supported by librep, give users a usefull warning message [Mark Diekhans] 0.17.2 ====== * fixups for configure.in * updated BUGS, HACKING and README * define inline if undefined (fixes compiler warnings) * create the destination directory for the .pc file before installing it * fixed in issue with FreeBSD in numbers.c [FreeBSD patch] * improved a function of numbers.c [FreeBSD patch] * rep_file_fdopen has not been listed in librep.sym * added -tag=CC to libtool in several places * don't ignore $LDFLAGS upon build * dropped some useless code in sdbm.c * make sure inline is defined 0.17.1 ====== * started code-cleanup * added a .pc file * added -no-split to makeinfo [FreeBSD patch] * added -enable-paranoia to configure [compile with CFLAGS+="-Wall -ansi"] * updated the spec file * replaced a static void by a void in main.c [Debian patch] * use correct shebang in rep-xgettext.jl [ALT-Linux patch] * trim trailing / to mkdir(2) [NetBSD patch]
2009-04-16 20:08:32 +02:00
${RM} -f ${DESTDIR}${REP_LIBTOOL}
${LN} -s ${PKG_LIBTOOL} ${DESTDIR}${REP_LIBTOOL}
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"
.include "../../mk/bsd.pkg.mk"