Changeset View
Changeset View
Standalone View
Standalone View
head/emulators/riscv-isa-sim/Makefile
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $FreeBSD$ | |||||
PORTNAME= riscv-isa-sim | |||||
DISTVERSION= git | |||||
PORTREVISION= 20170206 | |||||
CATEGORIES= emulators | |||||
MAINTAINER= lwhsu@FreeBSD.org | |||||
COMMENT= Spike, a RISC-V ISA Simulator | |||||
LICENSE= BSD3CLAUSE | |||||
LIB_DEPENDS= libfesvr.so:emulators/riscv-fesvr | |||||
GH_ACCOUNT= freebsd-riscv | |||||
GH_TAGNAME= 11ec3a3 | |||||
USES= compiler:c++11-lang gmake shebangfix | |||||
HAS_CONFIGURE= yes | |||||
SHEBANG_FILES= scripts/vcs-version.sh | |||||
USE_GITHUB= yes | |||||
USE_LDCONFIG= yes | |||||
LDFLAGS+= -L${LOCALBASE}/lib | |||||
CFLAGS+= -I${LOCALBASE}/include | |||||
STRIP_FILES= bin/spike \ | |||||
bin/spike-dasm \ | |||||
bin/termios-xspike \ | |||||
bin/xspike \ | |||||
lib/libdummy_rocc.so \ | |||||
lib/libriscv.so \ | |||||
lib/libsoftfloat.so \ | |||||
lib/libspike_main.so | |||||
post-extract: | |||||
@${MV} ${WRKSRC}/riscv/insn_template.h ${WRKSRC}/riscv/insn_template.hpp | |||||
post-patch: | |||||
${REINPLACE_CMD} -e \ | |||||
's|[(]install_libs_dir[)]/pkgconfig|(INSTALLDIR)/libdata/pkgconfig|g' \ | |||||
${WRKSRC}/Makefile.in | |||||
post-install: | |||||
. for f in ${STRIP_FILES} | |||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${f} | |||||
. endfor | |||||
.include <bsd.port.mk> |