Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2014 13:05:07 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341396 - head/devel/bam
Message-ID:  <201401271305.s0RD57tn009960@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Jan 27 13:05:07 2014
New Revision: 341396
URL: http://svnweb.freebsd.org/changeset/ports/341396
QAT: https://qat.redports.org/buildarchive/r341396/

Log:
  Support stage
  Use compiler.mk to determine which compiler is being used
  Remove license_file for well known license

Modified:
  head/devel/bam/Makefile

Modified: head/devel/bam/Makefile
==============================================================================
--- head/devel/bam/Makefile	Mon Jan 27 12:59:15 2014	(r341395)
+++ head/devel/bam/Makefile	Mon Jan 27 13:05:07 2014	(r341396)
@@ -7,18 +7,19 @@ CATEGORIES=	devel
 MASTER_SITES=	http://github.com/downloads/matricks/bam/
 
 MAINTAINER=	beyert@cs.ucr.edu
-COMMENT=	A fast and flexible build system using Lua
+COMMENT=	Fast and flexible build system using Lua
 
 LICENSE=	ZLIB
-LICENSE_FILE=	${WRKSRC}/license.txt
 
+USES=		compiler
 USE_BZIP2=	yes
 
 PLIST_FILES=	bin/bam
 
-NO_STAGE=	yes
+.include <bsd.port.pre.mk>
+
 do-build:
-.if defined(CC) && ${CC:T:Mclang}
+.if ${COMPILER_TYPE} == clang
 	@${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/make_unix_clang.sh
 	(cd ${WRKSRC} && ${SH} make_unix_clang.sh)
 .else
@@ -27,6 +28,6 @@ do-build:
 .endif
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/bam ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/bam ${STAGEDIR}${PREFIX}/bin
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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