618f05db4c
- Strip library
27 lines
586 B
Makefile
27 lines
586 B
Makefile
# 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}"
|
|
|
|
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>
|