5285eb061e
- Bump PORTREVISION.
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
# New ports collection makefile for: cvsnt
|
|
# Date created: 21 Jan 2004
|
|
# Whom: Max Khon <fjoe@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cvsnt
|
|
PORTVERSION= 2.0.58d
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.cvsnt.org/archive/
|
|
|
|
MAINTAINER= fjoe@FreeBSD.org
|
|
COMMENT= CVS clone
|
|
|
|
CONFLICTS= cvs-1*
|
|
|
|
USE_LIBLTDL= yes
|
|
USE_INC_LIBTOOL_VER= 13
|
|
USE_RC_SUBR= yes
|
|
CONFIGURE_ARGS= --enable-fork
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
USE_GETOPT_LONG=yes
|
|
USE_ICONV= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2
|
|
|
|
MAN1= cvs.1
|
|
MAN5= cvs.5
|
|
|
|
.if exists(/usr/include/gssapi.h)
|
|
PLIST_SUB= GSERVER=""
|
|
.else
|
|
PLIST_SUB= GSERVER="@comment "
|
|
.endif
|
|
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
|
|
|
|
.include <bsd.port.mk>
|