1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/lang/sketchy/Makefile
Adam Weinberger 511c49bdec In some straightforward cases, protect documentation behind
PORTDOCS, adding a DOCS option where needed, and a couple
PORTEXAMPLES for good measure.
2014-08-04 03:40:14 +00:00

30 lines
739 B
Makefile

# Created by: Nils M Holm <nmh@t3x.org>
# $FreeBSD$
PORTNAME= sketchy
PORTVERSION= 20070218
CATEGORIES= lang devel lisp scheme
MASTER_SITES= http://www.t3x.org/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= Interpreter for purely applicative Scheme
USES= uidfix
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/sketchy.h
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/src/pp.scm
@${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:
@${LN} -s ${MANPREFIX}/man/man1/sketchy.1.gz \
${STAGEDIR}${MANPREFIX}/man/man1/sk.1.gz
.include <bsd.port.mk>