1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/devel/libmba/Makefile
Christian Weisgerber 38dbc8c793 devel/libmba: Move man pages to share/man
Approved by:	portmgr (blanket)
2024-03-14 10:53:00 +01:00

28 lines
656 B
Makefile

PORTNAME= libmba
PORTVERSION= 0.9.1
PORTREVISION= 2
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
WWW= https://www.ioplex.com/~miallen/libmba/
MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= yes
MAKE_ARGS= prefix="${STAGEDIR}${PREFIX}" \
mandir="\$$(prefix)/share/man"
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>