1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/net/cvsync/Makefile
Hiroki Sato 1b015ad6bc - Enable OpenSSL support by default.
- Use $USE_RC_SUBR=cvsyncd instead of $USE_RC_SUBR=yes[*].
- Use $PORTEXAMPLES and $PORTDOCS.

Submitted by:	pgollucci[*]
PR:		ports/136843[*]
2009-10-14 16:42:45 +00:00

42 lines
1.0 KiB
Makefile

# 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>