# $NetBSD: Makefile,v 1.7 2019/04/26 13:13:57 maya Exp $
DISTNAME= ori-0.8.1
PKGREVISION= 2
CATEGORIES= filesystems
MASTER_SITES= https://bitbucket.org/orifs/ori/downloads/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ori.scs.stanford.edu/
COMMENT= Secure distributed file system
LICENSE= isc
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
PYTHON_VERSIONS_INCOMPATIBLE= 36 37 # python2 SCons files
SUBST_CLASSES+= man
SUBST_SED.man+= -e "s,share/man,${PKGMANDIR},"
SUBST_FILES.man+= SConstruct
SUBST_STAGE.man= pre-build
SUBST_MESSAGE.man= Fixing man page installation path.
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
_WRAP_EXTRA_ARGS.CXX+= -D_KERNTYPES
CWRAPPERS_APPEND.cxx+= -D_KERNTYPES
.endif
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SCONSBIN}
do-install:
cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${SCONSBIN} install PREFIX=${DESTDIR}${PREFIX}
# configure script demands libevent 2.0 or greater
BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0
.include "../../archivers/xz/buildlink3.mk"
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/libevent/buildlink3.mk"
PYTHON_FOR_BUILD_ONLY?= yes
.include "../../devel/scons/buildlink3.mk"
.include "../../mk/fuse.buildlink3.mk"
.include "../../net/mDNSResponder/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>