1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

- Add staging support, allow it as normal user

- Remove leading article from COMMENT
This commit is contained in:
Pawel Pekala 2014-06-01 14:18:40 +00:00
parent 5ee7fa75d6
commit 393c4306b3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356125
2 changed files with 13 additions and 7 deletions

View File

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

View File

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