2004-01-25 16:27:24 +01:00
|
|
|
# New ports collection makefile for: cvsnt
|
|
|
|
# Date created: 21 Jan 2004
|
|
|
|
# Whom: Max Khon <fjoe@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cvsnt
|
2005-01-08 12:14:02 +01:00
|
|
|
PORTVERSION= 2.0.58d
|
2004-01-25 16:27:24 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://www.cvsnt.org/archive/ \
|
|
|
|
http://homepages.nildram.co.uk/~tmhoyle/
|
|
|
|
|
|
|
|
MAINTAINER= fjoe@FreeBSD.org
|
|
|
|
COMMENT= CVS clone
|
|
|
|
|
2004-10-14 14:35:39 +02:00
|
|
|
CONFLICTS= cvs-1*
|
|
|
|
|
2004-06-04 19:29:38 +02:00
|
|
|
USE_LIBLTDL= yes
|
2004-07-31 20:18:42 +02:00
|
|
|
USE_INC_LIBTOOL_VER= 13
|
|
|
|
USE_RC_SUBR= yes
|
2004-01-25 16:27:24 +01:00
|
|
|
CONFIGURE_ARGS= --enable-fork
|
2004-02-22 00:18:31 +01:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2004-01-25 16:27:24 +01:00
|
|
|
USE_GETOPT_LONG=yes
|
2004-02-22 00:18:31 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2004-01-25 16:27:24 +01:00
|
|
|
|
2004-04-14 00:07:13 +02:00
|
|
|
MAN1= cvs.1
|
|
|
|
MAN5= cvs.5
|
|
|
|
|
2004-01-25 16:27:24 +01:00
|
|
|
.if exists(/usr/include/gssapi.h)
|
|
|
|
PLIST_SUB= GSERVER=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB= GSERVER="@comment "
|
|
|
|
.endif
|
2004-07-31 20:18:42 +02:00
|
|
|
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
|
|
|
|
|
|
|
|
STARTUPDIR= etc/rc.d
|
|
|
|
STARTUPFILES= cvslockd.sh
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.for file in ${STARTUPFILES}
|
|
|
|
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
|
|
|
${FILESDIR}/${file} > ${WRKDIR}/${file}
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${file} ${PREFIX}/${STARTUPDIR}/${file}
|
|
|
|
.endfor
|
2004-01-25 16:27:24 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|