aboutsummaryrefslogtreecommitdiff
path: root/devel/cvsnt/Makefile
blob: 5287760d13490fc630426433d3bf257dfca7832f (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
# New ports collection makefile for:	cvsnt
# Date created:				21 Jan 2004
# Whom:					Max Khon <fjoe@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	cvsnt
PORTVERSION=	2.5.04.3236
CATEGORIES=	devel
MASTER_SITES=	http://www.cvsnt.org/archive/

MAINTAINER=	fjoe@FreeBSD.org
COMMENT=	CVS clone

CONFLICTS=	cvs-1*

GNU_CONFIGURE=	yes
USE_RC_SUBR=	cvslockd.sh
CONFIGURE_ARGS=	--enable-fork --enable-rcs \
		--disable-odbc --disable-postgres\
		--disable-mysql --disable-sqlite\
		--without-howl
USE_ICONV=	yes
USE_GNOME=	libxml2
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include"\
		LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS} -L${LOCALBASE}/lib"
LIB_DEPENDS=	expat.6:${PORTSDIR}/textproc/expat2\
		pcre.0:${PORTSDIR}/devel/pcre
PLIST_SUB=	PORTVERSION="${PORTVERSION}"

MAN1=		cvs.1 cvslockd.1
MAN5=		cvs.5 PServer.5 Plugins.5
MLINKS=		cvs.1 cvsnt.1 cvs.5 cvsnt.5

post-configure:
	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" \
		${WRKSRC}/rcs/common.cpp

.include <bsd.port.mk>