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