aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ori/Makefile
blob: f8a4be4ad9d6c5ceb799ea0a29dd6729b9ed40bb (plain) (blame)
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
# Created by: Ali Mashtizadeh <mashti@cs.stanford.edu>
# $FreeBSD$

PORTNAME=   ori
PORTVERSION=    0.8.1
PORTREVISION=   1
CATEGORIES= sysutils net
MASTER_SITES=   http://cdn.bitbucket.org/orifs/ori/downloads/

MAINTAINER= mashti@cs.stanford.edu
COMMENT=    Ori Distributed File System

LIB_DEPENDS=    libevent-2.0.so:${PORTSDIR}/devel/libevent2 \
        libboost_date_time.so:${PORTSDIR}/devel/boost-libs \
        libexecinfo.so:${PORTSDIR}/devel/libexecinfo

WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}

USES=   pkgconfig fuse scons
USE_OPENSSL=    yes
USE_XZ= yes
WITH_OPENSSL_PORT=  yes

PLIST_FILES=    bin/ori \
        bin/oridbg \
        bin/orifs \
        bin/orisync \
        man/man1/ori.1.gz \
        man/man1/oridbg.1.gz \
        man/man1/orifs.1.gz \
        man/man1/orisync.1.gz

do-install:
    @${ECHO_MSG} "===>  Installing binaries..."
    ${INSTALL_PROGRAM} ${WRKSRC}/build/ori/ori ${STAGEDIR}${PREFIX}/bin/
    ${INSTALL_PROGRAM} ${WRKSRC}/build/oridbg/oridbg ${STAGEDIR}${PREFIX}/bin/
    ${INSTALL_PROGRAM} ${WRKSRC}/build/orifs/orifs ${STAGEDIR}${PREFIX}/bin/
    ${INSTALL_PROGRAM} ${WRKSRC}/build/orisync/orisync ${STAGEDIR}${PREFIX}/bin/
    @${ECHO_MSG} "===>  Installing man pages..."
    ${INSTALL_MAN} ${WRKSRC}/docs/ori.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
    ${INSTALL_MAN} ${WRKSRC}/docs/oridbg.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
    ${INSTALL_MAN} ${WRKSRC}/docs/orifs.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
    ${INSTALL_MAN} ${WRKSRC}/docs/orisync.1 ${STAGEDIR}${MAN1PREFIX}/man/man1

.include <bsd.port.mk>