diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 80f8f7c3b3aa5f5f64de1111703eed75cf2b333b (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /emulators/gpsim-oscilloscope | |
parent | df12796d2c7ff30316099a62cbdf43f49006d442 (diff) | |
download | pkgsrc-80f8f7c3b3aa5f5f64de1111703eed75cf2b333b.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'emulators/gpsim-oscilloscope')
-rw-r--r-- | emulators/gpsim-oscilloscope/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/emulators/gpsim-oscilloscope/Makefile b/emulators/gpsim-oscilloscope/Makefile index 3a36fa969b5..7bd4eb1dac5 100644 --- a/emulators/gpsim-oscilloscope/Makefile +++ b/emulators/gpsim-oscilloscope/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2006/06/11 23:51:16 joerg Exp $ +# $NetBSD: Makefile,v 1.10 2008/06/20 01:09:18 joerg Exp $ # DISTNAME= oscilloscope-0.1.2 @@ -10,6 +10,8 @@ MASTER_SITES= http://www-asim.lip6.fr/~bouyer/pic/ MAINTAINER= bouyer@NetBSD.org COMMENT= Oscilloscope module for gpsim +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES USE_LANGUAGES= c c++ USE_TOOLS+= pkg-config @@ -18,11 +20,12 @@ USE_LIBTOOL= YES GCC_REQD+= 3.0 EGDIR= ${PREFIX}/share/examples/gpsim-oscilloscope + +INSTALLATION_DIRS= ${EGDIR} + post-install: - ${INSTALL_DATA_DIR} ${EGDIR} - cd ${WRKSRC}/examples; \ - ${INSTALL_DATA} tst_txdot.asm ${EGDIR}; \ - ${INSTALL_DATA} tst_txdot.stc ${EGDIR}; + ${INSTALL_DATA} ${WRKSRC}/examples/tst_txdot.asm ${DESTDIR}${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/tst_txdot.stc ${DESTDIR}${EGDIR} .include "../../emulators/gpsim-devel/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |