2001-09-01 22:13:54 +00:00
|
|
|
# New ports collection makefile for: cvs2p4
|
|
|
|
# Date created: 2 September 2001
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cvs2p4
|
2009-06-30 00:37:39 +00:00
|
|
|
PORTVERSION= 3.1
|
2001-09-01 22:13:54 +00:00
|
|
|
CATEGORIES+= devel
|
2009-06-30 00:37:39 +00:00
|
|
|
MASTER_SITES= ftp://public.perforce.com/public/perforce/utils/cvs2p4/
|
2001-09-01 22:13:54 +00:00
|
|
|
EXTRACT_SUFX= .tar
|
|
|
|
|
2009-11-27 22:52:30 +00:00
|
|
|
MAINTAINER= sylvio@FreeBSD.org
|
2003-02-20 17:07:10 +00:00
|
|
|
COMMENT= CVS to Perforce Converter
|
2001-09-01 22:13:54 +00:00
|
|
|
|
2002-06-25 18:36:39 +00:00
|
|
|
REINPLACE_ARGS= -i ""
|
2001-09-01 22:13:54 +00:00
|
|
|
NO_BUILD= yes
|
2006-04-01 13:07:13 +00:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
2001-09-01 22:13:54 +00:00
|
|
|
|
|
|
|
PERFORCE_PORT?= 1666
|
|
|
|
|
|
|
|
post-patch:
|
2002-06-25 18:36:39 +00:00
|
|
|
@${REINPLACE_CMD} \
|
2001-09-01 22:13:54 +00:00
|
|
|
-e 's,!!PREFIX!!,${PREFIX},g;' \
|
|
|
|
-e 's,!!PERFORCE_PORT!!,${PERFORCE_PORT},g;' \
|
2009-06-30 00:37:39 +00:00
|
|
|
${WRKSRC}/test/config.test
|
2002-06-25 18:36:39 +00:00
|
|
|
@${FIND} ${WRKSRC} -name '*.orig' -delete
|
2002-11-19 22:32:45 +00:00
|
|
|
@${FIND} ${WRKSRC} -name '*.bak' -delete
|
2001-09-01 22:13:54 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PREFIX}/${PORTNAME}
|
|
|
|
${CP} -R ${WRKSRC}/* ${PREFIX}/${PORTNAME}/
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|