aboutsummaryrefslogblamecommitdiff
path: root/devel/bam/Makefile
blob: 9318a3de9003aba005c680ea348965a37fd10ac2 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                               



                     
                                                          

                                 
                                                        

                    
 
                                  
 

                               

                       

                          
         
                             







                                                                     
                                                                 
 
                           
# Created by: Timothy Beyer <beyert@cs.ucr.edu>

PORTNAME=	bam
PORTVERSION=	0.4.0
CATEGORIES=	devel
MASTER_SITES=	https://github.com/downloads/matricks/bam/

MAINTAINER=	beyert@cs.ucr.edu
COMMENT=	Fast and flexible build system using Lua

LICENSE=	ZLIB

USES=		compiler tar:bzip2

CONFLICTS_INSTALL=	bamutil

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>