mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
35 lines
775 B
Makefile
35 lines
775 B
Makefile
# 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
|
|
|
|
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} ${STAGEDIR}${PREFIX}/${PORTNAME}
|
|
${CP} -R ${WRKSRC}/* ${STAGEDIR}${PREFIX}/${PORTNAME}/
|
|
|
|
.include <bsd.port.mk>
|