mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
c499342386
Use compiler.mk to determine which compiler is being used Remove license_file for well known license
34 lines
703 B
Makefile
34 lines
703 B
Makefile
# Created by: Timothy Beyer <beyert@cs.ucr.edu>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bam
|
|
PORTVERSION= 0.4.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://github.com/downloads/matricks/bam/
|
|
|
|
MAINTAINER= beyert@cs.ucr.edu
|
|
COMMENT= Fast and flexible build system using Lua
|
|
|
|
LICENSE= ZLIB
|
|
|
|
USES= compiler
|
|
USE_BZIP2= yes
|
|
|
|
PLIST_FILES= bin/bam
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-build:
|
|
.if ${COMPILER_TYPE} == clang
|
|
@${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/make_unix_clang.sh
|
|
(cd ${WRKSRC} && ${SH} make_unix_clang.sh)
|
|
.else
|
|
@${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/make_unix.sh
|
|
(cd ${WRKSRC} && ${SH} make_unix.sh)
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bam ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.post.mk>
|