| @@ -1,32 +1,33 @@ | | | @@ -1,32 +1,33 @@ |
1 | # $NetBSD: Makefile,v 1.9 2007/02/22 19:26:27 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.10 2009/01/29 17:22:52 joerg Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= ptyusart-0.3.2 | | 4 | DISTNAME= ptyusart-0.3.2 |
5 | PKGNAME= gpsim-${DISTNAME} | | 5 | PKGNAME= gpsim-${DISTNAME} |
6 | PKGREVISION= 3 | | 6 | PKGREVISION= 3 |
7 | CATEGORIES= emulators | | 7 | CATEGORIES= emulators |
8 | MASTER_SITES= http://www-asim.lip6.fr/~bouyer/pic/ | | 8 | MASTER_SITES= http://www-asim.lip6.fr/~bouyer/pic/ |
9 | | | 9 | |
10 | MAINTAINER= bouyer@NetBSD.org | | 10 | MAINTAINER= bouyer@NetBSD.org |
11 | COMMENT= Pseudo-tty module for gpsim | | 11 | COMMENT= Pseudo-tty module for gpsim |
12 | | | 12 | |
13 | ONLY_FOR_PLATFORM= NetBSD-*-* | | 13 | ONLY_FOR_PLATFORM= NetBSD-*-* |
14 | | | 14 | |
15 | GNU_CONFIGURE= YES | | 15 | GNU_CONFIGURE= YES |
16 | USE_LANGUAGES= c c++ | | 16 | USE_LANGUAGES= c c++ |
17 | | | 17 | |
18 | USE_LIBTOOL= YES | | 18 | USE_LIBTOOL= YES |
| | | 19 | USE_TOOLS+= pkg-config |
19 | | | 20 | |
20 | GCC_REQD+= 3.0 | | 21 | GCC_REQD+= 3.0 |
21 | | | 22 | |
22 | EGDIR= ${PREFIX}/share/examples/gpsim-ptyusart | | 23 | EGDIR= ${PREFIX}/share/examples/gpsim-ptyusart |
| | | 24 | INSTALLATION_DIRS= ${EGDIR} |
| | | 25 | |
23 | post-install: | | 26 | post-install: |
24 | ${INSTALL_DATA_DIR} ${EGDIR} | | 27 | ${INSTALL_DATA} ${WRKSRC}/examples/tst_txdot.asm ${DESTDIR}${EGDIR} |
25 | cd ${WRKSRC}/examples; \ | | 28 | ${INSTALL_DATA} ${WRKSRC}/examples/tst_txrx.asm ${DESTDIR}${EGDIR} |
26 | ${INSTALL_DATA} tst_txdot.asm ${EGDIR}; \ | | 29 | ${INSTALL_DATA} ${WRKSRC}/examples/tst_txrx.stc ${DESTDIR}${EGDIR} |
27 | ${INSTALL_DATA} tst_txrx.asm ${EGDIR}; \ | | 30 | ${INSTALL_DATA} ${WRKSRC}/examples/tstloopback.c ${DESTDIR}${EGDIR} |
28 | ${INSTALL_DATA} tst_txrx.stc ${EGDIR}; \ | | | |
29 | ${INSTALL_DATA} tstloopback.c ${EGDIR}; | | | |
30 | | | 31 | |
31 | .include "../../emulators/gpsim-devel/buildlink3.mk" | | 32 | .include "../../emulators/gpsim-devel/buildlink3.mk" |
32 | .include "../../mk/bsd.pkg.mk" | | 33 | .include "../../mk/bsd.pkg.mk" |