diff options
author | pawel <pawel@FreeBSD.org> | 2014-06-01 22:18:40 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-06-01 22:18:40 +0800 |
commit | 364c912eb32e2351b4597cda0ce0bf11a5703ce5 (patch) | |
tree | 39dbdbefc36fce276bca40937fa2eafe321db576 /lang | |
parent | 5e4be4a9e7a98b78bb29f40a4e957c07c4309674 (diff) | |
download | freebsd-ports-gnome-364c912eb32e2351b4597cda0ce0bf11a5703ce5.tar.gz freebsd-ports-gnome-364c912eb32e2351b4597cda0ce0bf11a5703ce5.tar.zst freebsd-ports-gnome-364c912eb32e2351b4597cda0ce0bf11a5703ce5.zip |
- Add staging support, allow it as normal user
- Remove leading article from COMMENT
Diffstat (limited to 'lang')
-rw-r--r-- | lang/sketchy/Makefile | 17 | ||||
-rw-r--r-- | lang/sketchy/pkg-plist | 3 |
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 |