From 739ade02f5e5a61b32a7e44d8957b09888c72c6d Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 31 Mar 2006 23:56:28 +0000 Subject: List the info pages directly in the PLIST and ensure that we honor PKGINFODIR. --- math/yorick/Makefile | 15 +++++++++------ math/yorick/PLIST | 3 ++- 2 files changed, 11 insertions(+), 7 deletions(-) (limited to 'math/yorick') diff --git a/math/yorick/Makefile b/math/yorick/Makefile index 560e8b2fe07..a77401d0662 100644 --- a/math/yorick/Makefile +++ b/math/yorick/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2006/03/05 16:27:27 jlam Exp $ +# $NetBSD: Makefile,v 1.19 2006/03/31 23:56:28 jlam Exp $ DISTNAME= yorick-1.6.02 PKGREVISION= 1 @@ -15,7 +15,7 @@ BUILD_DIRS= ${WRKSRC} ${WRKSRC}/doc INSTALL_DIRS= ${WRKSRC} USE_TOOLS+= gmake makeinfo -INFO_FILES= yorick.info +INFO_FILES= # PLIST .include "../../mk/x11.buildlink3.mk" @@ -26,11 +26,14 @@ post-patch: done post-install: - for f in yorick gist; do \ - cd ${PREFIX}/bin && ${LN} -sf ../lib/yorick/1.6/bin/$$f $$f; \ + cd ${PREFIX}/bin; for f in yorick gist; do \ + ${LN} -sf ../lib/yorick/1.6/bin/$$f $$f; \ done - ${INSTALL_DATA} ${WRKSRC}/doc/yorick.info* ${PREFIX}/info - ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${PREFIX}/man/man1 + cd ${WRKSRC}; for f in yorick.info yorick.info-[0-9]*; do \ + ${TEST} ! -f "$$f" || \ + ${INSTALL_DATA} "$$f" ${PREFIX}/${PKGINFODIR}; \ + done + ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${PREFIX}/${PKGMANDIR}/man1 cd ${PREFIX}/share/doc && ${LN} -sf ../yorick/1.6/doc yorick ${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp ${INSTALL_DATA} ${WRKSRC}/emacs/*.el ${PREFIX}/share/emacs/site-lisp diff --git a/math/yorick/PLIST b/math/yorick/PLIST index 67739612817..f393554d3d3 100644 --- a/math/yorick/PLIST +++ b/math/yorick/PLIST @@ -1,6 +1,7 @@ -@comment $NetBSD: PLIST,v 1.7 2005/05/31 18:02:31 drochner Exp $ +@comment $NetBSD: PLIST,v 1.8 2006/03/31 23:56:28 jlam Exp $ bin/gist bin/yorick +info/yorick.info lib/yorick/1.6/Make.cfg lib/yorick/1.6/Makedll lib/yorick/1.6/Makeexe -- cgit v1.2.3