aboutsummaryrefslogtreecommitdiffstats
path: root/devel/bam
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bam')
-rw-r--r--devel/bam/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/devel/bam/Makefile b/devel/bam/Makefile
index b6dc65eb012d..150c523b3433 100644
--- a/devel/bam/Makefile
+++ b/devel/bam/Makefile
@@ -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>