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

PORTNAME=   cvsync
PORTVERSION=    0.24.19
PORTREVISION=   1
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
USE_RC_SUBR=    cvsyncd
USE_OPENSSL=    yes

MAN1=       cvscan.1 cvsup2cvsync.1 cvsync.1 cvsync2cvsup.1 cvsyncd.1 \
        rcscan.1 rcscmp.1
PORTDOCS=   COPYRIGHT ChangeLog FAQ TODO
PORTEXAMPLES=   cvsync.conf cvsyncd-FreeBSD.conf \
        cvsyncd-NetBSD.conf cvsyncd-OpenBSD.conf

MAKE_ENV+=  PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}"
MAKE_FLAGS= OSVER="${OSVERSION}" HASH_TYPE=openssl

post-install:
.if !defined(NOPORTEXAMPLES)
    @${MKDIR} ${EXAMPLESDIR}
    cd ${WRKSRC}/samples && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
.endif
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>