openbsd-ports/math/mcsim/Makefile
reinhard 9bd1a1dddb o) change maintainer's email address
o) move COMMENT into Makefile
o) bump NEED_VERSION
2001-03-24 12:51:47 +00:00

34 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.4 2001/03/24 12:51:52 reinhard Exp $
COMMENT= 'monte carlo simulation software'
DISTNAME= mcsim-4.2.0
CATEGORIES= math
NEED_VERSION= 1.363
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= mcsim
MAINTAINER= Peter Valchev <pvalchev@home.com>
FAKE_FLAGS= PREFIX="${WRKINST}${PREFIX}"
WRKDIST= ${WRKDIR}/mcsim
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
do-build:
@(cd ${WRKSRC}/mod && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS})
@(cd ${WRKSRC}/sim && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS})
@(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>