summaryrefslogtreecommitdiffstats
path: root/devel/libmpcbdm/Makefile
blob: 5f90b198e68b48a74e5f98e9ce8c8e331a23a2c6 (plain)
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
29
30
31
32
33
# 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>
OpenPOWER on IntegriCloud