Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@15068 d073be05-634f-4543-b044-5fe20cf6d1d6
- Loading branch information
Markus W. Weißmann
committed
Nov 18, 2005
1 parent
c2b5c5b
commit 15aa3d6
Showing
3 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# $Id: Portfile,v 1.1 2005/11/18 23:23:35 mww Exp $ | ||
|
||
PortSystem 1.0 | ||
|
||
name sketchy | ||
version 20051118 | ||
categories lang scheme | ||
platforms darwin | ||
maintainers mww@opendarwin.org | ||
description interpreter for a purely applicative dialect of Scheme | ||
long_description Sketchy is an interpreter for a purely applicative dialect \ | ||
of Scheme. It may be considered an implementation of pure LISP \ | ||
plus global definitions, first-class continuations, and \ | ||
input/output functions. | ||
|
||
homepage http://www.t3x.org/sketchy/ | ||
master_sites http://www.t3x.org/sketchy/ | ||
checksums md5 c3408a2ac6d9f4af7d24d724ff75aa95 | ||
patchfiles patch-util-sk.sh patch-Makefile | ||
|
||
post-patch { | ||
reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/util/sk.sh | ||
} | ||
|
||
use_configure no | ||
|
||
build.args PREFIX=${prefix} | ||
|
||
destroot.destdir PREFIX=${destroot}${prefix} BINOWN=`id -u` BINGRP=`id -g` | ||
|
||
platform darwin 8 { build.args-append CC=/usr/bin/gcc-4.0 } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- Makefile 2005-11-18 09:13:05.000000000 +0100 | ||
+++ Makefile 2005-11-19 00:14:03.000000000 +0100 | ||
@@ -10,7 +10,7 @@ | ||
|
||
BINDIR= $(PREFIX)/bin | ||
SHRDIR= $(PREFIX)/share/sketchy | ||
-MANDIR= $(PREFIX)/man/man7 | ||
+MANDIR= $(PREFIX)/share/man/man7 | ||
DOCDIR= $(PREFIX)/share/doc/sketchy | ||
|
||
CFLAGS= -O -DSIGNAL | ||
@@ -19,10 +19,10 @@ | ||
all: sketchy sketchy.image doc/library | ||
|
||
sketchy: sketchy.c | ||
- cc $(CFLAGS) -o sketchy sketchy.c | ||
+ $(CC) $(CFLAGS) -o sketchy sketchy.c | ||
|
||
lint: | ||
- cc $(LINTFLAGS) -o sketchy sketchy.c | ||
+ $(CC) $(LINTFLAGS) -o sketchy sketchy.c | ||
|
||
sketchy.image: | ||
echo ':l lib/sketchy.l' >mkimage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- util/sk.sh 2005-07-26 10:11:57.000000000 +0200 | ||
+++ util/sk.sh 2005-11-19 00:11:19.000000000 +0100 | ||
@@ -1,7 +1,7 @@ | ||
#!/bin/sh | ||
|
||
B="" | ||
-image="/usr/local/share/sketchy/sketchy.image" | ||
+image="__PREFIX__/share/sketchy/sketchy.image" | ||
|
||
while [ "$1" != "" ]; do | ||
case $1 in |