freebsd-ports/science/mcstas/Makefile
Li-Wen Hsu 1e42f44451 - Update to 1.12b
- Pass maintainership to submitter

PR:		ports/149822
Submitted by:	C-S <c-s AT c-s.li>
2010-08-22 03:31:54 +00:00

45 lines
978 B
Makefile

# New ports collection makefile for: mcstas
# Date created: Apr 26, 2004
# Whom: Joerg Pulz <Joerg.Pulz@frm2.tum.de>
#
# $FreeBSD$
PORTNAME= mcstas
PORTVERSION= 1.12b
CATEGORIES= science
MASTER_SITES= http://www.mcstas.org/download/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= c-s@c-s.li
COMMENT= A neutron ray-trace simulation package
LICENSE= GPLv2
BUILD_DEPENDS= pgxwin_server:${PORTSDIR}/graphics/pgplot
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/PDL.pm:${PORTSDIR}/math/PDL \
${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk
STRIP=
USE_PERL5= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
NO_MTREE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PERL_ARCHNAME!= perl -V:archname
PLIST_SUB+= PERL_PORT=perl5 PERL_ARCHNAME=${PERL_ARCHNAME:S/archname='//:S/';//}
MAN1= mcconvert.1 \
mcdisplay.1 \
mcdoc.1 \
mcformat.1 \
mcgui.1 \
mcplot.1 \
mcrun.1 \
mcstas.1 \
post-configure:
@cd ${WRKSRC}; make pgplot
.include <bsd.port.mk>