diff options
Diffstat (limited to 'math/statist/Makefile')
-rw-r--r-- | math/statist/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/math/statist/Makefile b/math/statist/Makefile index d0d03a59d03..a90e92d5996 100644 --- a/math/statist/Makefile +++ b/math/statist/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2006/03/04 21:30:08 jlam Exp $ +# $NetBSD: Makefile,v 1.12 2008/03/04 18:12:59 jlam Exp $ # DISTNAME= statist-1.0.1 @@ -12,6 +12,8 @@ COMMENT= Small and portable statistics program DEPENDS+= gnuplot-[0-9]*:../../graphics/gnuplot +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${DISTNAME}/src USE_LIBTOOL= YES @@ -20,10 +22,11 @@ INSTALLATION_DIRS= bin lib do-install: cd ${WRKSRC} && \ ${LIBTOOL} --mode=install \ - ${INSTALL_DATA} libstatist.la ${PREFIX}/lib && \ + ${INSTALL_DATA} libstatist.la ${DESTDIR}${PREFIX}/lib &&\ ${LIBTOOL} --mode=install \ - ${INSTALL_PROGRAM} statist ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/statist - ${INSTALL_DATA} ${WRKSRC}/../doc/*.ps ${PREFIX}/share/doc/statist + ${INSTALL_PROGRAM} statist ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/statist + ${INSTALL_DATA} ${WRKSRC}/../doc/*.ps \ + ${DESTDIR}${PREFIX}/share/doc/statist .include "../../mk/bsd.pkg.mk" |