aboutsummaryrefslogtreecommitdiff
path: root/devel/cogito/Makefile
blob: 72a8a8fce3837ea0d409e7d2370d6addcec0cc9b (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# Ports collection makefile for: cogito
# Date created:		31 May 2005
# Whom:			Michael Seyfert <michaels@sdf.lonestar.org>
#
# $FreeBSD$
#

PORTNAME=	cogito
PORTVERSION=	0.17.2
CATEGORIES=	devel
MASTER_SITES=	http://www.kernel.org/pub/software/scm/cogito/ \
		http://www.uk.kernel.org/pub/software/scm/cogito/ \
		http://www.us.kernel.org/pub/software/scm/cogito/ \
		http://www.jp.kernel.org/pub/software/scm/cogito/

MAINTAINER=	anholt@FreeBSD.org
COMMENT=	The Cogito Version Control System

BUILD_DEPENDS=	asciidoc:${PORTSDIR}/textproc/asciidoc \
		xmlto:${PORTSDIR}/textproc/xmlto
LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl
RUN_DEPENDS=	git:${PORTSDIR}/devel/git \
		bash:${PORTSDIR}/shells/bash2 \
		rsync:${PORTSDIR}/net/rsync

USE_BZIP2=	yes
USE_GMAKE=	yes
.if !defined(NOPORTDOCS)
ALL_TARGET=	all doc
INSTALL_TARGET=	install install-doc
.endif

# We set HOME to PREFIX. This will install the files in the proper location.
MAKE_ENV+=	HOME=${PREFIX} CPATH=${PREFIX}/include LIBRARY_PATH=${PREFIX}/lib
CFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib

CONTRIB_FILES=	${WRKDIR}/${DISTNAME}/contrib/gitfeedmaillist.sh \
		${WRKDIR}/${DISTNAME}/contrib/ciabot.pl

MAN1 =		cg-add.1 \
		cg-admin-cat.1 \
		cg-admin-ls.1 \
		cg-admin-lsobj.1 \
		cg-admin-rewritehist.1 \
		cg-admin-setuprepo.1 \
		cg-admin-uncommit.1 \
		cg-branch-add.1 \
		cg-branch-chg.1 \
		cg-branch-ls.1 \
		cg-clean.1 \
		cg-clone.1 \
		cg-commit.1 \
		cg-diff.1 \
		cg-export.1 \
		cg-fetch.1 \
		cg-help.1 \
		cg-init.1 \
		cg-log.1 \
		cg-merge.1 \
		cg-mkpatch.1 \
		cg-mv.1 \
		cg-object-id.1 \
		cg-patch.1 \
		cg-push.1 \
		cg-reset.1 \
		cg-restore.1 \
		cg-rm.1 \
		cg-seek.1 \
		cg-status.1 \
		cg-switch.1 \
		cg-tag-ls.1 \
		cg-tag.1 \
		cg-update.1 \
		cg-version.1 \
		cg.1
MAN7=		cogito.7 \
		cg-ref.7

post-install:
	${INSTALL_SCRIPT} ${CONTRIB_FILES} ${PREFIX}/bin

.include <bsd.port.mk>