diff options
author | joerg <joerg> | 2009-01-29 17:22:52 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-01-29 17:22:52 +0000 |
commit | c0daf81fab63ceeedf69644f1d327834bb5989ce (patch) | |
tree | 22bd66345e9012f546006ae09ab185456e331152 /emulators | |
parent | 06c889d56561869e28d24aa5b71b168466034459 (diff) | |
download | pkgsrc-c0daf81fab63ceeedf69644f1d327834bb5989ce.tar.gz |
Needs pkg-config. Prepare for destdir.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/gpsim-ptyusart/Makefile | 15 |
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" |