diff options
Diffstat (limited to 'cad/mcalc/Makefile')
-rw-r--r-- | cad/mcalc/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cad/mcalc/Makefile b/cad/mcalc/Makefile index 655de902b85..2fb7304aa02 100644 --- a/cad/mcalc/Makefile +++ b/cad/mcalc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2005/12/05 20:49:52 rillig Exp $ +# $NetBSD: Makefile,v 1.7 2008/03/03 01:50:27 jlam Exp $ # DISTNAME= mcalc-1.5 @@ -10,6 +10,7 @@ HOMEPAGE= http://mcalc.sourceforge.net/ COMMENT= JavaScript based microstrip analysis/synthesis calculator PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir NO_BUILD= yes @@ -19,7 +20,7 @@ PLIST_SUBST+= MCALCBASE=${MCALCBASE:Q} MESSAGE_SUBST+= MCALCBASE=${MCALCBASE} do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/${MCALCBASE} - ${INSTALL_DATA} ${WRKSRC}/* ${PREFIX}/${MCALCBASE}/ + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${MCALCBASE} + ${INSTALL_DATA} ${WRKSRC}/* ${DESTDIR}${PREFIX}/${MCALCBASE}/ .include "../../mk/bsd.pkg.mk" |