1d9a67319e
Reported by: cperciva, joneum Pointy hat to: 0mp
36 lines
905 B
Makefile
36 lines
905 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pmdk
|
|
DISTVERSION= 1.5
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= d.scott.phillips@intel.com
|
|
COMMENT= Libraries and tools to manage and access persistent memory devices
|
|
|
|
# PMDK code is BSD3CLAUSE, jemalloc is BSD2CLAUSE,
|
|
# Valgrind headers are BSD4CLAUSE.
|
|
LICENSE= BSD3CLAUSE BSD2CLAUSE BSD4CLAUSE
|
|
LICENSE_COMB= multi
|
|
|
|
ONLY_FOR_ARCHS= aarch64 amd64
|
|
|
|
BUILD_DEPENDS= bash:shells/bash
|
|
LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid
|
|
|
|
USES= autoreconf:build gmake pkgconfig
|
|
USE_GITHUB= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
GH_ACCOUNT= pmem
|
|
|
|
MAKE_ARGS= EXTRA_CFLAGS=-Wno-error=unused-value
|
|
|
|
post-install:
|
|
${RM} ${STAGEDIR}${PREFIX}/bin/pmreorder
|
|
${RM} ${STAGEDIR}${PREFIX}/man/man1/pmreorder.1.gz
|
|
${RM} -r ${STAGEDIR}${PREFIX}/lib/pmdk_debug
|
|
${RM} -r ${STAGEDIR}${PREFIX}/share/pmreorder
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pmempool
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.1.0.0
|
|
|
|
.include <bsd.port.mk>
|