summaryrefslogtreecommitdiff
path: root/emulators/gpsim-ptyusart/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2009-01-29 17:22:52 +0000
committerjoerg <joerg>2009-01-29 17:22:52 +0000
commitcaea2b468de8dd481162fd20330f5ab27c3ab486 (patch)
tree22bd66345e9012f546006ae09ab185456e331152 /emulators/gpsim-ptyusart/Makefile
parent74617f5d5ebce2b38df61e2e7de24dd1b940f212 (diff)
downloadpkgsrc-caea2b468de8dd481162fd20330f5ab27c3ab486.tar.gz
Needs pkg-config. Prepare for destdir.
Diffstat (limited to 'emulators/gpsim-ptyusart/Makefile')
-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"