2011-11-13 11:07:09 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2011/11/13 16:09:27 pirofti Exp $
|
|
|
|
|
|
|
|
# Memory hog, stuck for days on the same file during build.
|
|
|
|
NOT_FOR_ARCHS= sh
|
2001-03-24 07:51:47 -05:00
|
|
|
|
2007-09-15 14:44:36 -04:00
|
|
|
COMMENT= interpreted language for scientific computing
|
2001-02-09 05:50:51 -05:00
|
|
|
|
2010-05-11 19:22:37 -04:00
|
|
|
VERSION= 2.1.06
|
|
|
|
DISTNAME= yorick-${VERSION}
|
2008-10-21 20:51:01 -04:00
|
|
|
|
2001-02-09 05:50:51 -05:00
|
|
|
CATEGORIES= math devel
|
|
|
|
|
2008-10-21 20:51:01 -04:00
|
|
|
HOMEPAGE= http://yorick.sourceforge.net/
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=yorick/}
|
|
|
|
EXTRACT_SUFX= .tgz
|
2001-02-09 05:50:51 -05:00
|
|
|
|
2001-05-09 19:26:16 -04:00
|
|
|
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
|
2001-02-09 05:50:51 -05:00
|
|
|
|
2008-10-21 20:51:01 -04:00
|
|
|
# BSD
|
2001-02-09 05:50:51 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2010-05-11 19:22:37 -04:00
|
|
|
WANTLIB= X11 c m
|
2010-10-18 16:52:05 -04:00
|
|
|
USE_GROFF = Yes
|
2001-02-09 05:50:51 -05:00
|
|
|
|
2003-02-12 02:37:35 -05:00
|
|
|
Y_SITE= ${PREFIX}/share/yorick
|
2001-06-09 16:32:16 -04:00
|
|
|
CONFIGURE_STYLE= simple
|
2003-02-12 02:37:35 -05:00
|
|
|
MAKE_FLAGS= Y_SITE="${Y_SITE}"
|
2001-06-09 16:32:16 -04:00
|
|
|
|
2010-05-11 19:22:37 -04:00
|
|
|
WRKDIST= ${WRKDIR}/yorick-${VERSION:R}
|
2001-07-26 15:19:22 -04:00
|
|
|
|
2002-02-19 02:25:59 -05:00
|
|
|
# Some tests require X started (or DISPLAY, etc set).
|
2002-02-19 01:58:30 -05:00
|
|
|
REGRESS_IS_INTERACTIVE= Yes
|
2002-02-19 02:25:59 -05:00
|
|
|
SETENV=env
|
2002-02-19 01:58:30 -05:00
|
|
|
REGRESS_TARGET= check
|
2001-11-18 02:51:50 -05:00
|
|
|
|
2001-06-09 16:32:16 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/yorick/yorick ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gist/gist ${PREFIX}/bin
|
|
|
|
@find ${WRKSRC} -name \*.h -exec \
|
|
|
|
${INSTALL_DATA} {} ${PREFIX}/include \;
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/i0/* ${PREFIX}/include
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/yorick/libyor.a ${PREFIX}/lib
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/yorick.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/gist.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/yorick
|
2008-10-21 20:51:01 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.{doc,tex,pdf} ${PREFIX}/share/doc/yorick
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/g/*.ps ${PREFIX}/share/doc/yorick
|
2003-02-12 02:37:35 -05:00
|
|
|
${INSTALL_DATA_DIR} ${Y_SITE}
|
|
|
|
${INSTALL_DATA_DIR} ${Y_SITE}/g
|
|
|
|
${INSTALL_DATA_DIR} ${Y_SITE}/i
|
|
|
|
${INSTALL_DATA_DIR} ${Y_SITE}/i0
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/g/* ${Y_SITE}/g
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/i/* ${Y_SITE}/i
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/i0/* ${Y_SITE}/i0
|
2001-02-09 05:50:51 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|