aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2006-10-09 01:23:12 +0800
committeralepulver <alepulver@FreeBSD.org>2006-10-09 01:23:12 +0800
commit8d70d1c49e4436059fbeaf43f6d00525f62e51d3 (patch)
tree95f04f5cb3adac4e12899b56b15768a2aad75322
parent33c66105d78aa9922ca2fb3fdd56985fe107b1a6 (diff)
downloadfreebsd-ports-gnome-8d70d1c49e4436059fbeaf43f6d00525f62e51d3.tar.gz
freebsd-ports-gnome-8d70d1c49e4436059fbeaf43f6d00525f62e51d3.tar.zst
freebsd-ports-gnome-8d70d1c49e4436059fbeaf43f6d00525f62e51d3.zip
- Update to 2006-10-08 [1].
- Fixed syntax transformers [1]. - Added Micro KANREN example [1]. - Add -fPIC to sketchy.o, which goes into libsketchy.so to allow building on amd64 [2]. - Rename libsketchy.so to libsketchy.so.0 and add symlink libsketchy.so -> libskeychy.so.0 to allow using the shared library [2]. - Add USE_LDCONFIG [2]. PR: ports/104167 [1] Submitted by: Nils M Holm <nmh@t3x.org> (maintainer) [1] Reworked by: alepulver (myself) [2]
-rw-r--r--lang/sketchy/Makefile17
-rw-r--r--lang/sketchy/distinfo6
-rw-r--r--lang/sketchy/pkg-plist5
3 files changed, 21 insertions, 7 deletions
diff --git a/lang/sketchy/Makefile b/lang/sketchy/Makefile
index ff19b16dfa82..d2cc27e1286d 100644
--- a/lang/sketchy/Makefile
+++ b/lang/sketchy/Makefile
@@ -6,22 +6,31 @@
#
PORTNAME= sketchy
-PORTVERSION= 20061005
+PORTVERSION= 20061008
CATEGORIES= lang devel lisp scheme
MASTER_SITES= http://www.t3x.org/files/
MAINTAINER= nmh@t3x.org
COMMENT= An interpreter for purely applicative Scheme
-MAN7= sketchy.7
+# Please keep this!
+USE_REINPLACE= yes
+USE_LDCONFIG= yes
MAKE_ENV+= BINOWN=${BINOWN} \
BINGRP=${BINGRP}
-# Please keep this!
-USE_REINPLACE= yes
+MAN7= sketchy.7
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/sketchy.h
+ @${REINPLACE_CMD} -e \
+ 's|^CFLAGS=|CFLAGS+=|; \
+ s|$$(CFLAGS) -o sketchy.o|& -fPIC|' \
+ ${WRKSRC}/${MAKEFILE}
+
+post-install:
+ @cd ${PREFIX}/lib && ${MV} libsketchy.so libsketchy.so.0 && \
+ ${LN} -s libsketchy.so.0 libsketchy.so
.include <bsd.port.mk>
diff --git a/lang/sketchy/distinfo b/lang/sketchy/distinfo
index 520793de8062..b1ed81473420 100644
--- a/lang/sketchy/distinfo
+++ b/lang/sketchy/distinfo
@@ -1,3 +1,3 @@
-MD5 (sketchy-20061005.tar.gz) = 5a235e3f1b880578e26251f4639769c8
-SIZE (sketchy-20061005.tar.gz) = 161909
-SHA256 (sketchy-20061005.tar.gz) = 73aef0dee06fc163189c8c3351602405da91098db5c19281fafe3317540b86ff
+MD5 (sketchy-20061008.tar.gz) = 91220c5bf2bf557afe17a6e03a79de96
+SIZE (sketchy-20061008.tar.gz) = 164964
+SHA256 (sketchy-20061008.tar.gz) = 84b0e3ebcf750797aac5ec6e6fe2396ff47b30122f654d31a070fd2f57092dc3
diff --git a/lang/sketchy/pkg-plist b/lang/sketchy/pkg-plist
index 1b45116fe7e9..22888b9a4499 100644
--- a/lang/sketchy/pkg-plist
+++ b/lang/sketchy/pkg-plist
@@ -3,6 +3,7 @@ bin/sketchy
include/sketchy.h
lib/libsketchy.a
lib/libsketchy.so
+lib/libsketchy.so.0
%%DATADIR%%/LICENSE
%%DATADIR%%/lib/abs.scm
%%DATADIR%%/lib/append.scm
@@ -110,6 +111,7 @@ lib/libsketchy.so
%%DATADIR%%/lib/times.scm
%%DATADIR%%/lib/zerop.scm
%%DATADIR%%/sketchy.image
+%%DATADIR%%/src/amk.scm
%%DATADIR%%/src/anyp.scm
%%DATADIR%%/src/bottles.scm
%%DATADIR%%/src/bubblesort.scm
@@ -159,6 +161,7 @@ lib/libsketchy.so
%%DATADIR%%/src/unlet.scm
%%DATADIR%%/src/unsort.scm
%%DATADIR%%/src/vqueens.scm
+%%DATADIR%%/src/zebra.scm
%%DOCSDIR%%/index.html
%%DOCSDIR%%/library/abs.html
%%DOCSDIR%%/library/append.html
@@ -267,6 +270,7 @@ lib/libsketchy.so
%%DOCSDIR%%/library/zerop.html
%%DOCSDIR%%/license.html
%%DOCSDIR%%/ndx2.html
+%%DOCSDIR%%/prog/amk.html
%%DOCSDIR%%/prog/bottles.html
%%DOCSDIR%%/prog/draw-tree.html
%%DOCSDIR%%/prog/fact.html
@@ -279,6 +283,7 @@ lib/libsketchy.so
%%DOCSDIR%%/prog/qsort.html
%%DOCSDIR%%/prog/queens.html
%%DOCSDIR%%/prog/read-line.html
+%%DOCSDIR%%/prog/zebra.html
%%DOCSDIR%%/progs.html
%%DOCSDIR%%/sk01.html
%%DOCSDIR%%/sk02.html