2019-05-18 23:38:10 +00:00
|
|
|
PORTNAME= hashdb
|
|
|
|
DISTVERSIONPREFIX= v
|
|
|
|
DISTVERSION= 3.1.0-8
|
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
2019-07-26 20:46:53 +00:00
|
|
|
PORTREVISION= 1
|
2019-05-18 23:38:10 +00:00
|
|
|
DISTVERSIONSUFFIX= -g1da1b9f
|
|
|
|
CATEGORIES= misc
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Block hash database tool and API
|
2022-09-07 21:06:12 +00:00
|
|
|
WWW= https://github.com/NPS-DEEP/hashdb
|
2019-05-18 23:38:10 +00:00
|
|
|
|
|
|
|
LICENSE= PD
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2020-06-17 18:17:45 +00:00
|
|
|
BUILD_DEPENDS= swig:devel/swig
|
2019-05-18 23:38:10 +00:00
|
|
|
LIB_DEPENDS= libewf.so:devel/libewf
|
|
|
|
|
2019-06-05 17:51:30 +00:00
|
|
|
USES= autoreconf compiler:c++11-lang gmake libtool localbase:ldflags \
|
2019-12-14 07:04:59 +00:00
|
|
|
python:3.5+ ssl
|
2019-05-18 23:38:10 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= NPS-DEEP
|
|
|
|
CONFIGURE_ARGS= ac_cv_lib_ssl_SSL_library_init=yes \
|
|
|
|
--disable-static --enable-shared # enable-shared fails: https://github.com/NPS-DEEP/hashdb/issues/9
|
|
|
|
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
|
|
|
|
CONFIGURE_ENV= PYTHON=${PYTHON_CMD}
|
|
|
|
|
|
|
|
CFLAGS+= -fPIC
|
|
|
|
CXXFLAGS+= -fPIC
|
|
|
|
|
|
|
|
PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
@${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} 's| -lstdc++ | |'
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|