blob: ad271c9d42b76267c92dea1563198393acd3f626 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# $NetBSD: Makefile,v 1.13 2021/04/05 07:51:36 nia Exp $
DISTNAME= ori-0.8.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
# (insert swearing)
CWRAPPERS_APPEND.cxx+= -Wno-narrowing
PYTHON_VERSIONS_ACCEPTED= 27 # 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/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"
|