2004-12-27 02:16:44 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2004/12/27 07:16:44 alek Exp $
|
2001-03-24 07:51:47 -05:00
|
|
|
|
2001-05-09 19:26:16 -04:00
|
|
|
COMMENT= "monte carlo simulation software"
|
2001-01-19 10:24:58 -05:00
|
|
|
|
|
|
|
DISTNAME= mcsim-4.2.0
|
|
|
|
CATEGORIES= math
|
2002-05-13 19:31:24 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=mcsim/}
|
2001-01-19 10:24:58 -05:00
|
|
|
|
2001-05-09 19:26:16 -04:00
|
|
|
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
|
2001-01-19 10:24:58 -05:00
|
|
|
|
|
|
|
FAKE_FLAGS= PREFIX="${WRKINST}${PREFIX}"
|
|
|
|
WRKDIST= ${WRKDIR}/mcsim
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-27 02:16:44 -05:00
|
|
|
WANTLIB= c m
|
2001-01-19 10:24:58 -05:00
|
|
|
|
|
|
|
do-build:
|
2001-03-17 07:28:54 -05:00
|
|
|
@(cd ${WRKSRC}/mod && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS})
|
|
|
|
@(cd ${WRKSRC}/sim && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS})
|
2001-11-21 01:46:09 -05:00
|
|
|
|
|
|
|
do-regress:
|
2001-01-19 10:24:58 -05:00
|
|
|
@(cd ${WRKSRC}/sim && chmod 755 Test_mcsim && ./Test_mcsim)
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mod/mod ${PREFIX}/bin/mod
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sim/mcsim ${PREFIX}/bin/mcsim
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mcsim
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${WRKSRC}/doc/MCSim* ${PREFIX}/share/doc/mcsim/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/mcsim.html ${WRKSRC}/doc/mcsim.dvi ${PREFIX}/share/doc/mcsim
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|