1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/devel/libmpcbdm/Makefile
Dmitry Marakasov 12683ffbb5 - Switch to USES=libtool
- Strip library
2014-05-28 08:25:54 +00:00

34 lines
751 B
Makefile

# Created by: Stanislav Sedov <stas@fonon.realnet>
# $FreeBSD$
PORTNAME= libmpcbdm
PORTVERSION= 0.0.3
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF/libmpc8xx/libmpc8xx/${PORTVERSION} \
http://mbsd.msk.ru/dist/
DISTNAME= mpc8xx-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Standalone library to control various mpc8xx boards
WRKSRC= ${WRKDIR}/libmpc8xx
USES= gmake libtool
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
ONLY_FOR_ARCHS= amd64 i386
post-patch:
@${REINPLACE_CMD} -e \
's| $$(includedir)| $$(DESTDIR)$$(includedir)|' \
${WRKSRC}/libmpc8xx/Makefile.in
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${INSTALL_DATA} Flash.dev ${STAGEDIR}${DATADIR})
.include <bsd.port.mk>