2013-09-20 21:53:09 +02:00
|
|
|
# Created by: Nils M Holm <nmh@t3x.org>
|
2005-05-16 23:46:43 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= sketchy
|
2007-02-19 07:53:17 +01:00
|
|
|
PORTVERSION= 20070218
|
2015-06-04 11:43:21 +02:00
|
|
|
PORTREVISION= 1
|
2005-12-04 17:09:31 +01:00
|
|
|
CATEGORIES= lang devel lisp scheme
|
2016-07-04 15:23:49 +02:00
|
|
|
MASTER_SITES= SF/sketchy-lisp/sketchy-lisp/2007-02-18
|
2005-05-16 23:46:43 +02:00
|
|
|
|
2014-04-14 15:18:07 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-06-01 16:18:40 +02:00
|
|
|
COMMENT= Interpreter for purely applicative Scheme
|
2005-05-16 23:46:43 +02:00
|
|
|
|
2014-06-01 16:18:40 +02:00
|
|
|
USES= uidfix
|
2006-10-08 19:23:12 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-08-18 21:29:43 +02:00
|
|
|
|
2014-08-04 05:40:14 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2006-08-18 21:29:43 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/sketchy.h
|
2006-11-17 09:44:41 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/src/pp.scm
|
2014-06-01 16:18:40 +02:00
|
|
|
@${REINPLACE_CMD} -E \
|
|
|
|
-e '/ln -sf/! s,(BIN|DOC|INC|LIB|MAN|SHR)DIR),DESTDIR)$$(&,' \
|
|
|
|
-e '/ln -sf/ s,LIBDIR,DESTDIR)$$(&,2' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
post-install:
|
2015-06-04 11:43:21 +02:00
|
|
|
${LN} -sf libsketchy.so.31 ${STAGEDIR}${PREFIX}/lib/libsketchy.so
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsketchy.so
|
2016-07-04 15:23:49 +02:00
|
|
|
${LN} -s sketchy.1.gz ${STAGEDIR}${MANPREFIX}/man/man1/sk.1.gz
|
2005-05-16 23:46:43 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|