blob: e41d9ae78bd9a0d935b00c2e4be671bdb3b9f09a (
plain) (
blame)
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
|
# New ports collection makefile for: mcstas
# Date created: Apr 26, 2004
# Whom: Joerg Pulz <Joerg.Pulz@frm2.tum.de>
#
# $FreeBSD$
PORTNAME= mcstas
PORTVERSION= 1.9
PORTREVISION= 2
CATEGORIES= science
MASTER_SITES= http://www.mcstas.org/download/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= Joerg.Pulz@frm2.tum.de
COMMENT= A neutron ray-trace simulation package
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/';//}
post-configure:
@cd ${WRKSRC}; make pgplot
.include <bsd.port.mk>
|