Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2013 14:59:22 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333106 - head/lang/mit-scheme
Message-ID:  <201311071459.rA7ExMHo023889@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Thu Nov  7 14:59:22 2013
New Revision: 333106
URL: http://svnweb.freebsd.org/changeset/ports/333106

Log:
  - Switch to USES=gmake.
  - Add staging support.
  - Use find -delete.
  - Do not mute install commands.

Modified:
  head/lang/mit-scheme/Makefile
  head/lang/mit-scheme/pkg-plist

Modified: head/lang/mit-scheme/Makefile
==============================================================================
--- head/lang/mit-scheme/Makefile	Thu Nov  7 14:46:45 2013	(r333105)
+++ head/lang/mit-scheme/Makefile	Thu Nov  7 14:59:22 2013	(r333106)
@@ -13,14 +13,13 @@ COMMENT=	MIT Scheme: includes runtime, c
 
 ONLY_FOR_ARCHS=	i386 amd64
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+USES=		gmake
 WRKSRC=		${WRKDIR}/mit-scheme-${PORTVERSION}/src/
 
 OPTIONS_DEFINE=	GDBM MCRYPT MHASH OPENSSL PGSQL X11
 MCRYPT_DESC=	mcrypt library support
 MHASH_DESC=	mhash library support
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 # TODO implement db4 support
@@ -87,17 +86,14 @@ MIT_SCHEME_ARCH=${ARCH}
 
 PLIST_SUB+=	MIT_SCHEME_ARCH=${MIT_SCHEME_ARCH}
 
-MAN1=	scheme.1
-
 post-build:
-	@${FIND} ${WRKDIR} -type d -empty | ${XARGS} ${RMDIR}
+	@${FIND} ${WRKDIR} -type d -empty -delete
 
 do-build:
 	@cd ${WRKDIR}/mit-scheme-${PORTVERSION}/src/microcode && ${GMAKE}
 
 do-install:
-	@cd ${WRKDIR}/mit-scheme-${PORTVERSION}/src && ${GMAKE} install
-	@${INSTALL_MAN} ${WRKDIR}/mit-scheme-${PORTVERSION}/doc/scheme.1 ${MAN1PREFIX}/man/man1/
-	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/mit-scheme-${MIT_SCHEME_ARCH}
+	@cd ${WRKDIR}/mit-scheme-${PORTVERSION}/src && ${GMAKE} install DESTDIR=${STAGEDIR}
+	${INSTALL_MAN} ${WRKDIR}/mit-scheme-${PORTVERSION}/doc/scheme.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
 
 .include <bsd.port.post.mk>

Modified: head/lang/mit-scheme/pkg-plist
==============================================================================
--- head/lang/mit-scheme/pkg-plist	Thu Nov  7 14:46:45 2013	(r333105)
+++ head/lang/mit-scheme/pkg-plist	Thu Nov  7 14:59:22 2013	(r333106)
@@ -551,6 +551,7 @@ lib/mit-scheme-%%MIT_SCHEME_ARCH%%/xml/x
 lib/mit-scheme-%%MIT_SCHEME_ARCH%%/xml/xml-struct.bci
 lib/mit-scheme-%%MIT_SCHEME_ARCH%%/xml/xml-struct.com
 lib/mit-scheme-%%MIT_SCHEME_ARCH%%/xml/xml-unx.pkd
+man/man1/scheme.1.gz
 @dirrm lib/mit-scheme-%%MIT_SCHEME_ARCH%%/xml
 @dirrm lib/mit-scheme-%%MIT_SCHEME_ARCH%%/star-parser
 @dirrm lib/mit-scheme-%%MIT_SCHEME_ARCH%%/ssp



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