aboutsummaryrefslogtreecommitdiffstats
path: root/net/cvsync/Makefile
blob: ecbbb41b70dbb3271258c38fbdc7b8a69554f466 (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
# Ports collection makefile for:  cvsync
# Date created:           Thu Mar 6, 2003
# Whom:               Hiroki Sato <hrs@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   cvsync
PORTVERSION=    0.24.12
CATEGORIES= net ipv6
MASTER_SITES=   ftp://ftp.cvsync.org/pub/cvsync/ \
        ftp://ftp.allbsd.org/pub/cvsync/

MAINTAINER= hrs@FreeBSD.org
COMMENT=    A portable CVS repository synchronization utility

USE_GMAKE=  yes

MAN1=       cvscan.1 cvsup2cvsync.1 cvsync.1 cvsyncd.1 rcscan.1 rcscmp.1
DOCS=       doc/COPYRIGHT doc/ChangeLog doc/FAQ doc/TODO
EXAMPLES=   samples/cvsync.conf samples/cvsyncd.conf \
        samples/cvsyncd-NetBSD.conf samples/cvsyncd-OpenBSD.conf

MAKE_FLAGS= OSVER="${OSVERSION}"

.if defined(WITH_OPENSSL)
USE_OPENSSL=    yes
MAKE_FLAGS+=    HASH_TYPE=openssl
.endif

post-install:
    @${MKDIR} ${EXAMPLESDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>