- 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]
This commit is contained in:
Alejandro Pulver 2006-10-08 17:23:12 +00:00
parent 54834eacc3
commit 4922b3e5c3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174976
3 changed files with 23 additions and 9 deletions

View file

@ -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
MAKE_ENV+= BINOWN=${BINOWN} \
BINGRP=${BINGRP}
# Please keep this!
USE_REINPLACE= yes
USE_LDCONFIG= yes
MAKE_ENV+= BINOWN=${BINOWN} \
BINGRP=${BINGRP}
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>

View file

@ -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

View file

@ -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