Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jun 2014 14:18:41 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356125 - head/lang/sketchy
Message-ID:  <201406011418.s51EIfVh090673@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sun Jun  1 14:18:40 2014
New Revision: 356125
URL: http://svnweb.freebsd.org/changeset/ports/356125
QAT: https://qat.redports.org/buildarchive/r356125/

Log:
  - Add staging support, allow it as normal user
  - Remove leading article from COMMENT

Modified:
  head/lang/sketchy/Makefile
  head/lang/sketchy/pkg-plist

Modified: head/lang/sketchy/Makefile
==============================================================================
--- head/lang/sketchy/Makefile	Sun Jun  1 14:16:40 2014	(r356124)
+++ head/lang/sketchy/Makefile	Sun Jun  1 14:18:40 2014	(r356125)
@@ -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>

Modified: head/lang/sketchy/pkg-plist
==============================================================================
--- head/lang/sketchy/pkg-plist	Sun Jun  1 14:16:40 2014	(r356124)
+++ head/lang/sketchy/pkg-plist	Sun Jun  1 14:18:40 2014	(r356125)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406011418.s51EIfVh090673>