pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/tasp-vsipl Minor adjustments for this package:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5a62e28c3b2e
branches:  trunk
changeset: 561270:5a62e28c3b2e
user:      he <he%pkgsrc.org@localhost>
date:      Tue Jul 07 23:14:12 2009 +0000

description:
Minor adjustments for this package:

 o Ensure that the include/ directory exists before installing into it
   (uncovered during bulk build, causing include to be a file, and
   causing cascading build problems for all subsequent packages
   wanting to install include files...)
 o Do some other minor adjustments to placate pkglint.

diffstat:

 math/tasp-vsipl/Makefile |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r dd70fa494bc3 -r 5a62e28c3b2e math/tasp-vsipl/Makefile
--- a/math/tasp-vsipl/Makefile  Tue Jul 07 23:14:05 2009 +0000
+++ b/math/tasp-vsipl/Makefile  Tue Jul 07 23:14:12 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2007/02/19 21:38:32 joerg Exp $
+# $NetBSD: Makefile,v 1.12 2009/07/07 23:14:12 he Exp $
 
 DISTNAME=      tvcpp0p8
 PKGNAME=       tasp-vsipl-20030710
@@ -13,16 +13,18 @@
 WRKSRC=                ${WRKDIR}/${DISTNAME}/lib
 DIST_SUBDIR=   tasp-vsipl
 
+INSTALLATION_DIRS+=    include
+INSTALLATION_DIRS+=    share/doc/tasp-vsipl
+
 post-extract:
        ${MKDIR} ${WRKSRC}
 
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tasp-vsipl
-       cd ${WRKSRC}/../ && ${INSTALL_DATA} Copyright   \
+       cd ${WRKDIR}/${DISTNAME} && ${INSTALL_DATA} Copyright   \
                README_FIRST *.pdf ${PREFIX}/share/doc/tasp-vsipl
 
 do-test:
-       @cd ${WRKSRC}/../testing && ${SETENV} ${MAKE_ENV} ${MAKE} all
+       cd ${WRKDIR}/${DISTNAME}/testing && ${SETENV} ${MAKE_ENV} ${MAKE} all
 
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index