summaryrefslogtreecommitdiff
path: root/emulators/gpsim-ptyusart
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-01-29 17:22:52 +0000
committerjoerg <joerg@pkgsrc.org>2009-01-29 17:22:52 +0000
commit01308b22a81ef22f1bd5b73e1d7035faa22c5d89 (patch)
tree22bd66345e9012f546006ae09ab185456e331152 /emulators/gpsim-ptyusart
parent9ca8d001a33aecfad8b61a7c5db724bb23af0eba (diff)
downloadpkgsrc-01308b22a81ef22f1bd5b73e1d7035faa22c5d89.tar.gz
Needs pkg-config. Prepare for destdir.
Diffstat (limited to 'emulators/gpsim-ptyusart')
-rw-r--r--emulators/gpsim-ptyusart/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/emulators/gpsim-ptyusart/Makefile b/emulators/gpsim-ptyusart/Makefile
index c6cce5eb745..056f5632e17 100644
--- a/emulators/gpsim-ptyusart/Makefile
+++ b/emulators/gpsim-ptyusart/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/02/22 19:26:27 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2009/01/29 17:22:52 joerg Exp $
#
DISTNAME= ptyusart-0.3.2
@@ -16,17 +16,18 @@ GNU_CONFIGURE= YES
USE_LANGUAGES= c c++
USE_LIBTOOL= YES
+USE_TOOLS+= pkg-config
GCC_REQD+= 3.0
EGDIR= ${PREFIX}/share/examples/gpsim-ptyusart
+INSTALLATION_DIRS= ${EGDIR}
+
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};
+ ${INSTALL_DATA} ${WRKSRC}/examples/tst_txdot.asm ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/tst_txrx.asm ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/tst_txrx.stc ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/tstloopback.c ${DESTDIR}${EGDIR}
.include "../../emulators/gpsim-devel/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"