Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2014 15:29:35 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346370 - head/lang/ypsilon
Message-ID:  <201402271529.s1RFTZK6021142@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Feb 27 15:29:35 2014
New Revision: 346370
URL: http://svnweb.freebsd.org/changeset/ports/346370
QAT: https://qat.redports.org/buildarchive/r346370/

Log:
  Support staging

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

Modified: head/lang/ypsilon/Makefile
==============================================================================
--- head/lang/ypsilon/Makefile	Thu Feb 27 15:26:39 2014	(r346369)
+++ head/lang/ypsilon/Makefile	Thu Feb 27 15:29:35 2014	(r346370)
@@ -11,28 +11,24 @@ DISTNAME=	${PORTNAME}-0.9.6.update3
 MAINTAINER=	vmagerya@gmail.com
 COMMENT=	Scheme implementation for real-time applications
 
-USE_GMAKE=	yes
+USES=		gmake
+
 MAKE_ARGS=	DATADIR="${DATADIR}" \
 		PTHREAD_LIBS="${PTHREAD_LIBS}"
 
-MAN1=		ypsilon.1
-
 ONLY_FOR_ARCHS=	i386 amd64
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE=	EXAMPLES
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
-	@${MKDIR} ${DATADIR}
-	(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "sitelib stdlib" ${DATADIR})
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	@${INSTALL_DATA} ${WRKSRC}/example/*.scm ${EXAMPLESDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "sitelib stdlib" ${STAGEDIR}${DATADIR})
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/example/*.scm ${STAGEDIR}${EXAMPLESDIR}
 
 regression-test: build
 	cd ${WRKSRC} && ${GMAKE} check
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/lang/ypsilon/pkg-plist
==============================================================================
--- head/lang/ypsilon/pkg-plist	Thu Feb 27 15:26:39 2014	(r346369)
+++ head/lang/ypsilon/pkg-plist	Thu Feb 27 15:29:35 2014	(r346370)
@@ -1,4 +1,5 @@
 bin/ypsilon
+man/man1/ypsilon.1.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/gears.scm
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/glut-demo.scm
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/gtk-hello.scm



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