mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
38 lines
611 B
Makefile
38 lines
611 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= riscv-fesvr
|
|
DISTVERSION= git
|
|
PORTREVISION= 20180103
|
|
CATEGORIES= emulators
|
|
|
|
MAINTAINER= lwhsu@FreeBSD.org
|
|
COMMENT= RISC-V Frontend Server
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
ONLY_FOR_ARCHS= amd64
|
|
|
|
GH_ACCOUNT= freebsd-riscv
|
|
GH_TAGNAME= 07fbcd5
|
|
|
|
USES= gmake
|
|
|
|
HAS_CONFIGURE= yes
|
|
USE_GITHUB= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
STRIP_FILES= bin/elf2hex \
|
|
lib/libfesvr.so
|
|
|
|
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>
|