Changeset View
Changeset View
Standalone View
Standalone View
devel/hyperscan/Makefile
Show All 10 Lines | |||||
COMMENT= High-performance multiple regex matching library | COMMENT= High-performance multiple regex matching library | ||||
LICENSE= BSD3CLAUSE | LICENSE= BSD3CLAUSE | ||||
BUILD_DEPENDS= ragel:devel/ragel | BUILD_DEPENDS= ragel:devel/ragel | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= 01org | GH_ACCOUNT= 01org | ||||
USES= compiler:c++11-lib cmake:outsource python:build pkgconfig | USES= compiler:c++11-lib cmake:outsource pathfix python:build pkgconfig | ||||
ONLY_FOR_ARCHS= amd64 | ONLY_FOR_ARCHS= amd64 | ||||
ONLY_FOR_ARCHS_REASON= SSSE3 is required for work | ONLY_FOR_ARCHS_REASON= SSSE3 is required for work | ||||
OPTIONS_DEFINE= SHARED NATIVE | OPTIONS_DEFINE= SHARED NATIVE | ||||
SHARED_DESC= Build shared library | SHARED_DESC= Build shared library | ||||
NATIVE_DESC= Build with native CPU tunes | NATIVE_DESC= Build with native CPU tunes | ||||
OPTIONS_DEFAULT= SHARED | OPTIONS_DEFAULT= SHARED | ||||
Show All 18 Lines | |||||
.if ${PORT_OPTIONS:MSHARED} | .if ${PORT_OPTIONS:MSHARED} | ||||
CMAKE_ARGS+= -DBUILD_STATIC_AND_SHARED=ON | CMAKE_ARGS+= -DBUILD_STATIC_AND_SHARED=ON | ||||
PLIST_SUB+= SHARED="" \ | PLIST_SUB+= SHARED="" \ | ||||
SOVERSION=${PORTVERSION} \ | SOVERSION=${PORTVERSION} \ | ||||
SOSHORTVERSION=${PORTVERSION:C/\.[0-9].[0-9]$//} | SOSHORTVERSION=${PORTVERSION:C/\.[0-9].[0-9]$//} | ||||
.else | .else | ||||
PLIST_SUB+= SHARED="@comment " | PLIST_SUB+= SHARED="@comment " | ||||
.endif | .endif | ||||
post-stage: | |||||
${MV} ${STAGEDIR}/${PREFIX}/lib/pkgconfig/libhs.pc \ | |||||
${STAGEDIR}/${PREFIX}/libdata/pkgconfig/ | |||||
${RMDIR} ${STAGEDIR}/${PREFIX}/lib/pkgconfig/ | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |