blob: 5a80e57a9ede9ca5de4101083cc6146f38988c99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $NetBSD: Makefile,v 1.13 2005/05/31 18:02:31 drochner Exp $
DISTNAME= yorick-1.6.02
CATEGORIES= math
MASTER_SITES= ftp://ftp-icf.llnl.gov/pub/Yorick/
EXTRACT_SUFX= .tgz
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= ftp://ftp-icf.llnl.gov/pub/Yorick/doc/index.html
COMMENT= Numerical algebra system (similar to Matlab)
WRKSRC= ${WRKDIR}/yorick-1.6
USE_X11= yes
BUILD_DIRS= ${WRKSRC} ${WRKSRC}/doc
INSTALL_DIRS= ${WRKSRC}
USE_MAKEINFO= YES
INFO_FILES= yorick.info
USE_GNU_TOOLS+= make
post-patch:
for f in ${WRKSRC}/ysite.sh; do \
${SED} -e 's:@PREFIX@:${PREFIX}:g' $$f > $$f.tmp \
&& ${MV} $$f.tmp $$f; \
done
post-install:
for f in yorick gist; do \
cd ${PREFIX}/bin && ${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 ${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
.include "../../mk/bsd.pkg.mk"
|