summaryrefslogtreecommitdiff
path: root/devel/opencm/Makefile
blob: 448f7bf31a1e5be7db22cde4bdb87fc280ea5e78 (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
# $NetBSD: Makefile,v 1.59 2019/11/03 10:39:27 rillig Exp $
#

DISTNAME=	${OPENCM_VERSION}-2-src
PKGNAME=	${OPENCM_VERSION:C/alpha/rc/}
PKGREVISION=	12
CATEGORIES=	devel scm
#MASTER_SITES=	http://www.opencm.org/releases/
EXTRACT_SUFX=	.tgz

MAINTAINER=	pkgsrc-users@NetBSD.org
#HOMEPAGE=	http://www.opencm.org/
COMMENT=	Secure, high-integrity replacement for CVS

WRKSRC=			${WRKDIR}/${OPENCM_VERSION}/base
USE_TOOLS+=		gmake gzip makeinfo lex
GNU_CONFIGURE=		YES
CONFIGURE_ARGS+=	--with-ssl-dir=${BUILDLINK_PREFIX.openssl}
CONFIGURE_ARGS+=	KRB5_BUILDLINK=${KRB5BASE:Q}

CHECK_INTERPRETER_SKIP+=	share/opencm/tools/cvsconvert.py

OPENCM_VERSION=	opencm-0.1.2alpha8

CONF_FILES=	${PREFIX}/share/examples/opencm/opencm.conf \
		${PKG_SYSCONFDIR}/opencm.conf

INFO_FILES=	YES

CPPFLAGS+=	-D__unix__
MAKE_ENV+=	GZIP_CMD=${GZIP_CMD:Q}

post-install:
	gzip -d ${DESTDIR}${PREFIX}/${PKGINFODIR}/opencm.info.gz

.include "../../devel/boehm-gc/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../mk/krb5.buildlink3.mk"

.include "../../mk/bsd.pkg.mk"