summaryrefslogtreecommitdiff
path: root/emulators/gpsim-ptyusart/Makefile
blob: a8420325a6e1289cfe90bd45c9ca603fe6408ab6 (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
# $NetBSD: Makefile,v 1.1.1.1 2004/11/29 20:55:51 bouyer Exp $
#

DISTNAME=	ptyusart-0.3.1
PKGNAME=	gpsim-${DISTNAME}
CATEGORIES=	emulators
MASTER_SITES=	http://www-asim.lip6.fr/~bouyer/pic/

MAINTAINER=	bouyer@NetBSD.org
COMMENT=	Pseudo-tty module for gpsim

ONLY_FOR_PLATFORM=      NetBSD-*-*

GNU_CONFIGURE=	YES
USE_BUILDLINK3=	YES
USE_LANGUAGES=	c c++

USE_LIBTOOL=	YES

EGDIR=		${PREFIX}/share/examples/gpsim-ptyusart
post-install:
	${INSTALL_DATA_DIR} ${EGDIR}
	cd ${WRKSRC}/examples;					\
	${INSTALL_DATA} tst_txdot.asm ${EGDIR};			\
	${INSTALL_DATA} tst_txrx.asm ${EGDIR};			\
	${INSTALL_DATA} tst_txrx.stc ${EGDIR};			\
	${INSTALL_DATA} tstloopback.c ${EGDIR};

.include "../../emulators/gpsim-devel/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"