diff options
author | agc <agc@pkgsrc.org> | 2003-06-18 09:22:14 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2003-06-18 09:22:14 +0000 |
commit | 1cf87833d6f3d487d18a5123c684ffbbbb2f098a (patch) | |
tree | cc7d19b68940ae694dd05424c812173b1ca6be07 /math | |
parent | 2f63c47a2660ab1fe1d8d71ffa79e12eac329312 (diff) | |
download | pkgsrc-1cf87833d6f3d487d18a5123c684ffbbbb2f098a.tar.gz |
When constructing the WRKSRC definition, use ${PKGNAME_NOREV} rather than
${PKGNAME}, so that the WRKSRC definition is immune from any subsequent
PKGREVISION changes. With thanks to jmc for the nudge.
Diffstat (limited to 'math')
-rw-r--r-- | math/otter/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/math/otter/Makefile b/math/otter/Makefile index 79bd660430c..c8a025fff4e 100644 --- a/math/otter/Makefile +++ b/math/otter/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.7 2003/06/02 01:18:28 jschauma Exp $ +# $NetBSD: Makefile,v 1.8 2003/06/18 09:22:21 agc Exp $ DISTNAME= otter-3.0.6 -WRKSRC= ${WRKDIR}/${PKGNAME}/source +WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}/source CATEGORIES= math MASTER_SITES= ftp://info.mcs.anl.gov/pub/Otter/ @@ -15,18 +15,18 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/otter ${PREFIX}/bin ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/otter ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/otter - cd ${WRKDIR}/${PKGNAME} && ${INSTALL_DATA} Announce Changelog \ + cd ${WRKDIR}/${PKGNAME_NOREV} && ${INSTALL_DATA} Announce Changelog \ Copying README* ${PREFIX}/share/doc/otter for d in auto fringe ivy kalman misc program split wos; do \ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/otter/$$d; \ - ${INSTALL_DATA} ${WRKDIR}/${PKGNAME}/examples/$$d/* \ + ${INSTALL_DATA} ${WRKDIR}/${PKGNAME_NOREV}/examples/$$d/* \ ${PREFIX}/share/examples/otter/$$d; \ done - cd ${WRKDIR}/${PKGNAME}/examples && ${INSTALL_SCRIPT} Run_all \ + cd ${WRKDIR}/${PKGNAME_NOREV}/examples && ${INSTALL_SCRIPT} Run_all \ objects summary ${PREFIX}/share/examples/otter - ${INSTALL_DATA} ${WRKDIR}/${PKGNAME}/examples/README \ + ${INSTALL_DATA} ${WRKDIR}/${PKGNAME_NOREV}/examples/README \ ${PREFIX}/share/examples/otter - ${INSTALL_DATA} ${WRKDIR}/${PKGNAME}/document/* \ + ${INSTALL_DATA} ${WRKDIR}/${PKGNAME_NOREV}/document/* \ ${PREFIX}/share/doc/otter .include "../../mk/bsd.pkg.mk" |