openbsd-ports/net/cvsync/Makefile

34 lines
959 B
Makefile

# $OpenBSD: Makefile,v 1.14 2003/05/10 21:27:23 naddy Exp $
COMMENT= "portable CVS repository synchronization utility"
DISTNAME= cvsync-0.20.2
CATEGORIES= net
HOMEPAGE= http://www.daemon-systems.org/cvsync/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE} \
ftp://ftp.allbsd.org/pub/cvsync/
USE_GMAKE= Yes
MAKE_ENV= CVSYNC_DEFAULT_CONFIG="${SYSCONFDIR}/cvsync.conf" \
CVSYNCD_DEFAULT_CONFIG="${SYSCONFDIR}/cvsyncd.conf" \
INSTALL_MAN_OPTS="-o ${MANOWN} -g ${MANGRP} -m ${MANMODE}" \
INSTALL_BIN_OPTS="-o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${INSTALL_STRIP}"
EXAMPLESDIR= ${PREFIX}/share/examples/cvsync
post-install:
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/samples/cvsync.conf ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/samples/cvsyncd.conf ${EXAMPLESDIR}
.include <bsd.port.mk>