aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libmba/Makefile
blob: 455b2f090c81c6a4fe4a9c9372c5af97a3d45558 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Created by: ijliao
# $FreeBSD$

PORTNAME=   libmba
PORTVERSION=    0.9.1
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   http://www.ioplex.com/~miallen/libmba/dl/ \
        LOCAL/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}"
CFLAGS+=    -D_WANT_SEMUN

post-patch:
    @${REINPLACE_CMD} -e 's,-g,$$(CFLAGS),' \
        ${WRKSRC}/Makefile
    @${REINPLACE_CMD} -Ee 's,"g?cc","${CC}",' \
        ${WRKSRC}/mktool.c

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmba.so

.include <bsd.port.mk>