Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2013 12:31:48 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333388 - head/devel/matreshka
Message-ID:  <201311101231.rAACVmXc062489@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Nov 10 12:31:47 2013
New Revision: 333388
URL: http://svnweb.freebsd.org/changeset/ports/333388

Log:
  devel/matreshka: Convert to staging
  
  * Convert USE_GMAKE to USES
  * Don't install license as it messes up auto-plist
  * Bump portrevision because plist is now missing license

Modified:
  head/devel/matreshka/Makefile

Modified: head/devel/matreshka/Makefile
==============================================================================
--- head/devel/matreshka/Makefile	Sun Nov 10 12:09:26 2013	(r333387)
+++ head/devel/matreshka/Makefile	Sun Nov 10 12:31:47 2013	(r333388)
@@ -3,6 +3,7 @@
 
 PORTNAME=	matreshka
 PORTVERSION=	0.5.0
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://forge.ada-ru.org/matreshka/downloads/
 
@@ -13,9 +14,8 @@ LICENSE=	BSD
 
 BUILD_DEPENDS=	gprbuild>=20120510:${PORTSDIR}/devel/gprbuild
 
-USES=		ada
-USE_GMAKE=	yes
-DESTINY=	${WRKDIR}/destino
+USES=		ada gmake
+NO_MTREE=	yes
 
 OPTIONS_DEFINE=	SQLITE3 FIREBIRD PGSQL MYSQL ORACLE AMF
 OPTIONS_DEFAULT=SQLITE3 FIREBIRD PGSQL MYSQL
@@ -23,11 +23,10 @@ OPTIONS_DEFAULT=SQLITE3 FIREBIRD PGSQL M
 AMF_DESC=	Build Ada Modeling Framework
 
 MAKE_JOBS_UNSAFE=	yes
+NO_LICENSES_INSTALL=	yes
 
-MAKE_ENV+=	SMP_MFLAGS=-j${MAKE_JOBS_NUMBER} \
-		DESTDIR=${DESTINY}
+MAKE_ENV+=	SMP_MFLAGS=-j${MAKE_JOBS_NUMBER}
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MFIREBIRD}
@@ -55,12 +54,10 @@ MAKE_ENV+= WANT_AMF=yes
 .endif
 
 post-install:
-	${CP} -pR ${DESTINY}${PREFIX}/ ${PREFIX}/
-	@cd ${DESTINY}${PREFIX}; ${FIND} * \( -type f -or -type l \) | \
-	   ${SORT} > ${WRKDIR}/PLIST.all
-	@cd ${DESTINY}${PREFIX}; ${FIND} * -type d | ${AWK} '/\//' | ${SORT} -r | \
-	   ${SED} -e '/lib\/gnat$$/d' -e 's/^/@dirrm /g' >> ${WRKDIR}/PLIST.all
-	@echo "@unexec rmdir %D/lib/gnat 2>/dev/null || true" >> ${WRKDIR}/PLIST.all
-	@${CAT} ${WRKDIR}/PLIST.all >> ${TMPPLIST}
+	@cd ${STAGEDIR}${PREFIX}; ${FIND} * \( -type f -or -type l \) | \
+	   ${SORT} > ${TMPPLIST}
+	@cd ${STAGEDIR}${PREFIX}; ${FIND} * -type d | ${AWK} '/\//' | ${SORT} -r | \
+	   ${SED} -e '/lib\/gnat$$/d' -e 's/^/@dirrm /g' >> ${TMPPLIST}
+	@echo "@unexec rmdir %D/lib/gnat 2>/dev/null || true" >> ${TMPPLIST}
 
 .include <bsd.port.mk>



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