blob: 79969c771e25a74f3c96ff970d959e7d6ac9482b (
plain)
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
|
# $NetBSD: Makefile,v 1.67 2004/08/12 20:46:21 minskim Exp $
#
DISTNAME= cvsync-0.24.16
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.cvsync.org/pub/cvsync/
MAINTAINER= gehenna@NetBSD.org
HOMEPAGE= http://www.cvsync.org/
COMMENT= Portable incremental cvs repository syncer
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= YES
USE_PKGINSTALL= YES
USE_GNU_TOOLS+= make
INSTALLATION_DIRS= bin man/man1
MAKE_ENV+= BINOWN=${BINOWN} BINGRP=${BINGRP} BINMODE=${BINMODE}
MAKE_ENV+= MANMODE=${MANMODE}
MAKE_ENV+= PTHREAD_TYPE=${PTHREAD_TYPE}
MAKE_ENV+= PTHREAD_PREFIX=${BUILDLINK_PREFIX.pthread}
EGDIR= ${PREFIX}/share/examples/cvsync
CONF_FILES+= ${EGDIR}/cvsync.conf ${PKG_SYSCONFDIR}/cvsync.conf
.include "../../mk/bsd.prefs.mk"
.ifdef ${OPSYS} == "AIX" || ${OPSYS} == "BSDOS" || ${OPSYS} == "Darwin" || \
${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
MAKE_ENV+= HASH_TYPE="openssl"
.include "../../security/openssl/buildlink3.mk"
.endif
post-install:
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/samples/cvsync.conf ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/samples/cvsyncd-FreeBSD.conf ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/samples/cvsyncd-NetBSD.conf ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/samples/cvsyncd-OpenBSD.conf ${EGDIR}
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|