1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/devel/bam/Makefile
Adam Weinberger bbc8c4d740 Convert a bunch of USE_BZIP2 to USES=tar:bzip2
Approved by:	portmgr (not really, but touches unstaged ports)
2014-07-29 18:41:15 +00:00

33 lines
698 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 tar:bzip2
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>