blob: 136a92ff857260ded6d4b7c6b78811c65419732e (
plain)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# $NetBSD: Makefile,v 1.11 2007/08/23 18:20:30 jlam Exp $
DISTNAME= lc # overridden below
PKGNAME= lc-2.10
PKGREVISION= 2
CATEGORIES= cad
MASTER_SITES= http://lc.cray.com/download/
MAINTAINER= dmcmahill@NetBSD.org
HOMEPAGE= http://lc.cray.com/
COMMENT= Finite Difference Time Domain (FDTD) Electromagnetic Simulator
DIST_SUBDIR= ${PKGNAME_NOREV}
RESTRICTED= Original installer required to redistribute.
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
LICENSE= lc-license
WRKSRC= ${WRKDIR}/lc2.10
BUILD_DIRS= # empty
EMUL_PLATFORMS= irix-mipsel irix-mipsel64
EMUL_PLATFORMS+= linux-i386 linux-x86_64
EMUL_PLATFORMS+= solaris-sparc
EMUL_MODULES.linux= motif x11
EMUL_REQD= suse>=9.1
.include "../../mk/bsd.prefs.mk"
DISTFILES= lc_doc.tar.gz
.if ${EMUL_PLATFORM} == "linux-i386"
DISTFILES+= lc_linux_motif3.tar.gz
.elif ${EMUL_PLATFORM} == "linux-x86_64"
DISTFILES+= lc_amd64_lx24.tar.gz
.elif ${EMUL_PLATFORM} == "irix-mipsel"
DISTFILES+= lc_irix.tar.gz
.elif ${EMUL_PLATFORM} == "irix-mipsel64"
DISTFILES+= lc_irix64.tar.gz
.elif ${EMUL_PLATFORM} == "solaris-sparc"
DISTFILES+= lc_solaris.tar.gz
.endif
.if ${EMUL_PLATFORM} == "linux-x86_64"
WRKSRC= ${WRKDIR}/lc
PLIST_SUBST+= HAVE_LCSPICE="@comment "
.else
PLIST_SUBST+= HAVE_LCSPICE=""
.endif
INSTALLATION_DIRS= bin share
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/lc ${PREFIX}/bin/lc
${INSTALL_PROGRAM} ${WRKSRC}/bin/lcplot ${PREFIX}/bin/lcplot
if test -f ${WRKSRC}/bin/spice ; then ${INSTALL_PROGRAM} ${WRKSRC}/bin/spice ${PREFIX}/bin/lcspice ; fi
cd ${PREFIX}/share && ${TAR} -zxf ${DISTDIR}/${DIST_SUBDIR}/lc_doc.tar.gz
${CHMOD} -R ugo+rX ${PREFIX}/share/lc2.10
${CHOWN} -R ${SHAREOWN} ${PREFIX}/share/lc2.10
${CHGRP} -R ${SHAREGRP} ${PREFIX}/share/lc2.10
.include "../../mk/bsd.pkg.mk"
|