1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/devel/libmba/Makefile
Baptiste Daroussin 34875d0630 Support stage
2014-03-24 23:37:28 +00:00

27 lines
591 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= libmba
PORTVERSION= 0.9.1
CATEGORIES= devel
MASTER_SITES= http://www.ioplex.com/~miallen/libmba/dl/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= miwi
MAINTAINER= ports@FreeBSD.org
COMMENT= Collection of C modules potentially useful to any project
MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= yes
MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX}
post-patch:
@${REINPLACE_CMD} -e 's,-g,$$(CFLAGS),' \
-e '/^prefix/s/=/?=/' \
-e 's/prefix/PREFIX/' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -Ee 's,"g?cc","${CC}",' \
${WRKSRC}/mktool.c
.include <bsd.port.mk>