blob: 9a3a1829bd6496ba643e042f58ece1c33e49f740 (
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
36
37
38
39
40
41
42
|
# New ports collection makefile for: scv
# Date created: 16 December 2006
# Whom: Peter Johnson
#
# $FreeBSD$
#
PORTNAME= scv
PORTVERSION= 1.0p2
CATEGORIES= cad devel
EXTRACT_SUFX= -sysc2.2.12jun06.tgz
MAINTAINER= johnson.peter@gmail.com
COMMENT= SystemC Verification library
BUILD_DEPENDS= ${LOCALBASE}/systemc/lib-freebsd/libsystemc.a:${PORTSDIR}/cad/systemc
RUN_DEPENDS= ${LOCALBASE}/systemc/lib-freebsd/libsystemc.a:${PORTSDIR}/cad/systemc
RESTRICTED= You have to register at http://www.systemc.org/account/register.php first
USE_GMAKE= yes
HAS_CONFIGURE= yes
USE_GNUCONFIG= yes
WRKSRC= ${WRKDIR}/scv-1.0p2-sysc2.2
CONFIGURE_SCRIPT= ../configure
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-systemc=${LOCALBASE}/systemc ${CONFIGURE_TARGET}
CONFIGURE_WRKSRC= ${WRKSRC}/objdir
BUILD_WRKSRC= ${WRKSRC}/objdir
INSTALL_WRKSRC= ${WRKSRC}/objdir
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE= is restricted. You have to register at http://www.systemc.org/account/register.php and download ${DISTFILES} from there first. Then put ${DISTFILES} into ${DISTDIR} and run make again
.endif
pre-configure:
@${MKDIR} ${WRKSRC}/objdir
.include <bsd.port.post.mk>
|