aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2008-06-28 07:20:26 +0800
committeralepulver <alepulver@FreeBSD.org>2008-06-28 07:20:26 +0800
commitfdc758426ddc2920efcba728e99948dc4f839998 (patch)
tree25e626e8c5245e5397bd7eaa7a9e3ce849fa1228 /lang
parentc6098dcba87b370fadd7ae5f1f37fc9e85caf779 (diff)
downloadfreebsd-ports-gnome-fdc758426ddc2920efcba728e99948dc4f839998.tar.gz
freebsd-ports-gnome-fdc758426ddc2920efcba728e99948dc4f839998.tar.zst
freebsd-ports-gnome-fdc758426ddc2920efcba728e99948dc4f839998.zip
- Update to version 3.2.0.
PR: ports/124086 Submitted by: Timothy Beyer <beyert@cs.ucr.edu>
Diffstat (limited to 'lang')
-rw-r--r--lang/chicken/Makefile25
-rw-r--r--lang/chicken/distinfo6
-rw-r--r--lang/chicken/pkg-plist68
3 files changed, 74 insertions, 25 deletions
diff --git a/lang/chicken/Makefile b/lang/chicken/Makefile
index cfd179f819ec..5f7a6924e4b4 100644
--- a/lang/chicken/Makefile
+++ b/lang/chicken/Makefile
@@ -6,21 +6,24 @@
#
PORTNAME= chicken
-PORTVERSION= 2.6
+PORTVERSION= 3.2.0
CATEGORIES= lang scheme
-MASTER_SITES= http://www.call-with-current-continuation.org/
+MASTER_SITES= http://www.call-with-current-continuation.org/ \
+ http://chicken.wiki.br/releases/${PORTVERSION}/
+DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= alepulver@FreeBSD.org
COMMENT= A Scheme-to-C compiler
-USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
-USE_LDCONFIG= yes
-GNU_CONFIGURE= yes
+MAKE_ARGS+= PLATFORM=bsd PREFIX=${PREFIX} TOPMANDIR="${PREFIX}/man"
+PLATFORM= bsd
OPTIONS= PCRE "Enable PCRE support" off
-MAN1= chicken-profile.1 chicken-setup.1 chicken.1 csc.1 csi.1
+MAN1= chicken-bug.1 chicken-profile.1 chicken-setup.1 chicken.1 csc.1 csi.1
+INFO= chicken
+INFODIR= ${PREFIX}/${INFO_PATH}
.include <bsd.port.pre.mk>
@@ -30,20 +33,24 @@ MAN1= chicken-profile.1 chicken-setup.1 chicken.1 csc.1 csi.1
.if defined(WITH_PCRE)
LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
+USE_HOST_PCRE=${PREFIX}/lib/libpcre.so
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
.else
CONFIGURE_ENV+= ac_cv_header_pcre_h=no
.endif
+MAKE_FLAGS+= HOST=${HOST} PREFIX=${PREFIX} PLATFORM=${PLATFORM} INFODIR=${PREFIX}/info
+
post-patch:
- @${REINPLACE_CMD} -e 's/\(install-data-am: \)install-data-local/\1/' \
- ${WRKSRC}/Makefile.in
+ ${MV} ${WRKSRC}/apply-hack.x86.s ${WRKSRC}/apply-hack.i386.s
+# @${REINPLACE_CMD} -e 's/\(install-data-am: \)install-data-local/\1/' \
+# ${WRKSRC}/Makefile.in
post-install:
@${MKDIR} ${PREFIX}/lib/${PORTNAME}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog INSTALL LICENSE NEWS README \
+ cd ${WRKSRC} && ${INSTALL_DATA} LICENSE NEWS README \
${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}/benchmarks
${CP} -R ${WRKSRC}/benchmarks/* ${EXAMPLESDIR}/benchmarks/
diff --git a/lang/chicken/distinfo b/lang/chicken/distinfo
index e7ad12f74a9f..8f21729f60c1 100644
--- a/lang/chicken/distinfo
+++ b/lang/chicken/distinfo
@@ -1,3 +1,3 @@
-MD5 (chicken-2.6.tar.gz) = 332edae079bb34d815369f4ba5181983
-SHA256 (chicken-2.6.tar.gz) = 32385c5393c7376035f911f3e887351b1ce8fb6e56498cc4258815bc6db06326
-SIZE (chicken-2.6.tar.gz) = 3517981
+MD5 (chicken-3.2.0.tar.gz) = 94e518fe97f75c111cc700711de009d1
+SHA256 (chicken-3.2.0.tar.gz) = ab8c5b9c11c169e03762af11c1938edc05bd437b6197c674e3cdbcff82d1a22a
+SIZE (chicken-3.2.0.tar.gz) = 3165645
diff --git a/lang/chicken/pkg-plist b/lang/chicken/pkg-plist
index e4688752b257..ac9074275eff 100644
--- a/lang/chicken/pkg-plist
+++ b/lang/chicken/pkg-plist
@@ -1,24 +1,20 @@
@exec mkdir -p %D/lib/chicken
bin/chicken
+bin/chicken-bug
bin/chicken-profile
bin/chicken-setup
-bin/chicken-static
bin/csc
bin/csi
-bin/csi-static
include/chicken-config.h
-include/chicken-defaults.h
include/chicken.h
lib/libchicken.a
-lib/libchicken.la
lib/libchicken.so
-lib/libchicken.so.0
lib/libuchicken.a
-lib/libuchicken.la
lib/libuchicken.so
-lib/libuchicken.so.0
%%DATADIR%%/chicken-ffi-macros.scm
%%DATADIR%%/chicken-more-macros.scm
+%%DATADIR%%/chicken-sys-macros.scm
+%%DATADIR%%/data-structures.exports
%%DATADIR%%/eval.exports
%%DATADIR%%/extras.exports
%%DATADIR%%/library.exports
@@ -31,10 +27,54 @@ lib/libuchicken.so.0
%%DATADIR%%/srfi-14.exports
%%DATADIR%%/srfi-18.exports
%%DATADIR%%/srfi-4.exports
+%%DATADIR%%/srfi-69.exports
%%DATADIR%%/tcp.exports
%%DATADIR%%/utils.exports
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%DATADIR%%/doc/LICENSE
+%%DATADIR%%/doc/README
+%%DATADIR%%/doc/html/accessing-external-objects.html
+%%DATADIR%%/doc/html/acknowledgements.html
+%%DATADIR%%/doc/html/basic-mode-of-operation.html
+%%DATADIR%%/doc/html/bibliography.html
+%%DATADIR%%/doc/html/bugs-and-limitations.html
+%%DATADIR%%/doc/html/c-interface.html
+%%DATADIR%%/doc/html/callbacks.html
+%%DATADIR%%/doc/html/chicken-setup.html
+%%DATADIR%%/doc/html/data-representation.html
+%%DATADIR%%/doc/html/declarations.html
+%%DATADIR%%/doc/html/deviations-from-the-standard.html
+%%DATADIR%%/doc/html/embedding.html
+%%DATADIR%%/doc/html/extensions-to-the-standard.html
+%%DATADIR%%/doc/html/faq.html
+%%DATADIR%%/doc/html/foreign-type-specifiers.html
+%%DATADIR%%/doc/html/getting-started.html
+%%DATADIR%%/doc/html/index.html
+%%DATADIR%%/doc/html/interface-to-external-functions-and-variables.html
+%%DATADIR%%/doc/html/locations.html
+%%DATADIR%%/doc/html/non-standard-macros-and-special-forms.html
+%%DATADIR%%/doc/html/non-standard-read-syntax.html
+%%DATADIR%%/doc/html/other-support-procedures.html
+%%DATADIR%%/doc/html/parameters.html
+%%DATADIR%%/doc/html/pattern-matching.html
+%%DATADIR%%/doc/html/supported-language.html
+%%DATADIR%%/doc/html/unit-data-structures.html
+%%DATADIR%%/doc/html/unit-eval.html
+%%DATADIR%%/doc/html/unit-extras.html
+%%DATADIR%%/doc/html/unit-library.html
+%%DATADIR%%/doc/html/unit-lolevel.html
+%%DATADIR%%/doc/html/unit-match.html
+%%DATADIR%%/doc/html/unit-posix.html
+%%DATADIR%%/doc/html/unit-regex.html
+%%DATADIR%%/doc/html/unit-srfi-1.html
+%%DATADIR%%/doc/html/unit-srfi-13.html
+%%DATADIR%%/doc/html/unit-srfi-14.html
+%%DATADIR%%/doc/html/unit-srfi-18.html
+%%DATADIR%%/doc/html/unit-srfi-4.html
+%%DATADIR%%/doc/html/unit-srfi-69.html
+%%DATADIR%%/doc/html/unit-tcp.html
+%%DATADIR%%/doc/html/unit-utils.html
+%%DATADIR%%/doc/html/using-the-compiler.html
+%%DATADIR%%/doc/html/using-the-interpreter.html
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
@@ -65,10 +105,8 @@ lib/libuchicken.so.0
%%PORTDOCS%%%%EXAMPLESDIR%%/benchmarks/others/exception.cpp
%%PORTDOCS%%%%EXAMPLESDIR%%/benchmarks/others/results.txt
%%PORTDOCS%%%%EXAMPLESDIR%%/benchmarks/others/setlongjmp.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/benchmarks/plists.scm
%%PORTDOCS%%%%EXAMPLESDIR%%/benchmarks/puzzle.scm
%%PORTDOCS%%%%EXAMPLESDIR%%/benchmarks/scheme.scm
-%%PORTDOCS%%%%EXAMPLESDIR%%/benchmarks/stack-size.cmake
%%PORTDOCS%%%%EXAMPLESDIR%%/benchmarks/tak.scm
%%PORTDOCS%%%%EXAMPLESDIR%%/benchmarks/takl.scm
%%PORTDOCS%%%%EXAMPLESDIR%%/benchmarks/takr.scm
@@ -79,5 +117,9 @@ lib/libuchicken.so.0
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/benchmarks
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm %%DATADIR%%
-@dirrm lib/chicken
+@dirrm %%DATADIR%%/doc/html
+@dirrm %%DATADIR%%/doc
+@dirrmtry %%DATADIR%%/examples
+@dirrmtry %%DATADIR%%
+@dirrmtry lib/chicken/3
+@dirrmtry lib/chicken