diff options
author | Steve Wills <swills@FreeBSD.org> | 2018-07-18 15:39:35 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2018-07-18 15:39:35 +0000 |
commit | 73c7214846ef5b64792f86414796e272da892e7f (patch) | |
tree | 4daae1a82905d4ea33080f7a82ba7922afa9e75d /net/dpdk/Makefile | |
parent | 54d9a4d7a5c8719a5080cfdbf5c8485bd3d36c83 (diff) | |
download | ports-73c7214846ef5b64792f86414796e272da892e7f.tar.gz ports-73c7214846ef5b64792f86414796e272da892e7f.zip |
Notes
Diffstat (limited to 'net/dpdk/Makefile')
-rw-r--r-- | net/dpdk/Makefile | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/net/dpdk/Makefile b/net/dpdk/Makefile index 19ae3057b737..9f48072418c6 100644 --- a/net/dpdk/Makefile +++ b/net/dpdk/Makefile @@ -1,20 +1,22 @@ # $FreeBSD$ PORTNAME= dpdk -PORTVERSION= 16.07 +PORTVERSION= 18.05 PORTREVISION= 1 CATEGORIES= net -MASTER_SITES= http://www.dpdk.org/browse/dpdk/snapshot/ +MASTER_SITES= http://fast.dpdk.org/rel/ MAINTAINER= bruce.richardson@intel.com COMMENT= DPDK: Software libraries for packet processing LICENSE= BSD3CLAUSE -USES= gmake kmod -MAKEFILE= GNUmakefile ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= Only works on 64-bit x86 hardware + +USES= gmake kmod shebangfix +SHEBANG_FILES= usertools/dpdk-pmdinfo.py +MAKEFILE= GNUmakefile NO_PACKAGE= ignores cflags RTE_TARGET= x86_64-native-bsdapp-clang WRKBUILD= ${WRKSRC}/${RTE_TARGET} @@ -22,7 +24,8 @@ MAKE_ENV= V=1 ALL_TARGET= install T=${RTE_TARGET} -OPTIONS_DEFINE= DEBUG TOOLS +OPTIONS_DEFINE= EXAMPLES DEBUG TOOLS +OPTIONS_DEFAULT=TOOLS OPTIONS_SUB= yes DEBUG_DESC= Debugging support (unoptimized build, impacts performance) TOOLS_DESC= Install tool scripts @@ -32,17 +35,12 @@ TOOLS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyelftools>=0:devel/py-pyelftools@${PY TOOLS_USES= python:2.7 # build up the list of files in the compiled directory that should be executable -EXEC_FILES= app/cmdline_test \ - app/testpipeline \ - app/testpmd \ - app/testacl \ - app/test +EXEC_FILES= app/testpmd do-install: @${MKDIR} ${STAGEDIR}${DATADIR}/${RTE_TARGET}/app \ ${STAGEDIR}${DATADIR}/${RTE_TARGET}/lib \ - ${STAGEDIR}${DATADIR}/${RTE_TARGET}/include/generic \ - ${STAGEDIR}${DATADIR}/${RTE_TARGET}/include/exec-env + ${STAGEDIR}${DATADIR}/${RTE_TARGET}/include/generic cd ${WRKSRC} && ${COPYTREE_SHARE} mk ${STAGEDIR}${DATADIR} \ && ${COPYTREE_SHARE} examples ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKBUILD}/.config ${STAGEDIR}${DATADIR}/${RTE_TARGET} @@ -58,16 +56,15 @@ do-install: for f in ${WRKBUILD}/include/generic/*.h ; do \ ${INSTALL_DATA} $$f ${STAGEDIR}${DATADIR}/${RTE_TARGET}/include/generic ; \ done - for f in ${WRKBUILD}/include/exec-env/*.h ; do \ - ${INSTALL_DATA} $$f ${STAGEDIR}${DATADIR}/${RTE_TARGET}/include/exec-env ; \ - done ${LN} -sf ${DATADIR}/${RTE_TARGET}/lib ${STAGEDIR}${PREFIX}/lib/dpdk ${LN} -sf ${DATADIR}/${RTE_TARGET}/include ${STAGEDIR}${PREFIX}/include/dpdk - ${LN} -sf ${DATADIR}/examples ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_KLD} ${WRKBUILD}/kmod/* ${STAGEDIR}${KMODDIR} +do-install-EXAMPLES-on: + ${LN} -sf ${DATADIR}/examples ${STAGEDIR}${EXAMPLESDIR} + do-install-TOOLS-on: @${MKDIR} ${STAGEDIR}${PREFIX}/bin/ - ${INSTALL_SCRIPT} ${WRKSRC}/tools/dpdk-pmdinfo.py ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_SCRIPT} ${WRKSRC}/usertools/dpdk-pmdinfo.py ${STAGEDIR}${PREFIX}/bin .include <bsd.port.mk> |