blob: d93acc9b5c68b8da596b757bbf67aa8cd144717e (
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
|
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= cvs2p4
PORTVERSION= 3.1
CATEGORIES+= devel
MASTER_SITES= ftp://public.perforce.com/public/perforce/utils/cvs2p4/
EXTRACT_SUFX= .tar
MAINTAINER= sylvio@FreeBSD.org
COMMENT= CVS to Perforce Converter
LICENSE= MIT
REINPLACE_ARGS= -i ""
NO_BUILD= yes
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
PERFORCE_PORT?= 1666
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} \
-e 's,!!PREFIX!!,${PREFIX},g;' \
-e 's,!!PERFORCE_PORT!!,${PERFORCE_PORT},g;' \
${WRKSRC}/test/config.test
@${FIND} ${WRKSRC} -name '*.orig' -delete
@${FIND} ${WRKSRC} -name '*.bak' -delete
do-install:
${MKDIR} ${PREFIX}/${PORTNAME}
${CP} -R ${WRKSRC}/* ${PREFIX}/${PORTNAME}/
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|