aboutsummaryrefslogtreecommitdiff
path: root/lang/sketchy
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-06-01 14:18:40 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-06-01 14:18:40 +0000
commit393c4306b3cc0deb44930e4fd4bc61c6997dd67a (patch)
tree39dbdbefc36fce276bca40937fa2eafe321db576 /lang/sketchy
parent5ee7fa75d63eefc0840f3488e378ad771f28aacb (diff)
downloadports-393c4306b3cc0deb44930e4fd4bc61c6997dd67a.tar.gz
ports-393c4306b3cc0deb44930e4fd4bc61c6997dd67a.zip
Notes
Diffstat (limited to 'lang/sketchy')
-rw-r--r--lang/sketchy/Makefile17
-rw-r--r--lang/sketchy/pkg-plist3
2 files changed, 13 insertions, 7 deletions
diff --git a/lang/sketchy/Makefile b/lang/sketchy/Makefile
index 945693352be1..f121df7cfb9e 100644
--- a/lang/sketchy/Makefile
+++ b/lang/sketchy/Makefile
@@ -7,18 +7,21 @@ CATEGORIES= lang devel lisp scheme
MASTER_SITES= http://www.t3x.org/files/
MAINTAINER= ports@FreeBSD.org
-COMMENT= An interpreter for purely applicative Scheme
+COMMENT= Interpreter for purely applicative Scheme
+USES= uidfix
USE_LDCONFIG= yes
-MAKE_ENV+= BINOWN=${BINOWN} \
- BINGRP=${BINGRP}
-MAN1= sketchy.1 skpp.1
-MLINKS= sketchy.1 sk.1
-
-NO_STAGE= yes
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>
diff --git a/lang/sketchy/pkg-plist b/lang/sketchy/pkg-plist
index 0599ddfc380f..4de6bcfb4812 100644
--- a/lang/sketchy/pkg-plist
+++ b/lang/sketchy/pkg-plist
@@ -5,6 +5,9 @@ include/sketchy.h
lib/libsketchy.a
lib/libsketchy.so
lib/libsketchy.so.31
+man/man1/sk.1.gz
+man/man1/sketchy.1.gz
+man/man1/skpp.1.gz
%%DATADIR%%/LICENSE
%%DATADIR%%/ext/assp.scm
%%DATADIR%%/ext/count.scm