View | Details | Raw Unified | Return to bug 204194
Collapse All | Expand All

(-)devel/cut/Makefile (-9 / +34 lines)
Lines 2-24 Link Here
2
# $FreeBSD: head/devel/cut/Makefile 400083 2015-10-24 00:49:09Z bapt $
2
# $FreeBSD: head/devel/cut/Makefile 400083 2015-10-24 00:49:09Z bapt $
3
3
4
PORTNAME=	cut
4
PORTNAME=	cut
5
PORTVERSION=	2.6
5
PORTVERSION=	2.7
6
CATEGORIES=	devel
6
CATEGORIES=	devel
7
MASTER_SITES=	http://www.falvotech.com/content/cut/${PORTVERSION}/
7
MASTER_SITES=	https://bitbucket.org/kc5tja/cut/get/
8
DISTNAME=	v${PORTVERSION}
9
DIST_SUBDIR=	cut
8
10
9
MAINTAINER=	ports@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
10
COMMENT=	Unit Testing Framework for C, C++, and Objective-C
12
COMMENT=	Unit Testing Framework for C, C++, and Objective-C
11
13
12
BROKEN=		Does not fetch
14
LICENSE=	BSD3CLAUSE
13
USES=		python:run shebangfix
15
16
WRKSRC=		${WRKDIR}/kc5tja-cut-d4fc09276ea9
17
18
USES=		python:run shebangfix tar:bzip2
14
SHEBANG_FILES=	*.py
19
SHEBANG_FILES=	*.py
15
ALL_TARGET=	build
20
ALL_TARGET=	build
16
21
22
PLIST_SUB=	VERSION="${PORTVERSION}"
23
24
OPTIONS_DEFINE=	DOCS
25
26
do-configure:
27
	@${ECHO_CMD} -n > ${WRKDIR}/cutgen
28
	@${ECHO_CMD} "#!${SH}" >> ${WRKDIR}/cutgen
29
	@${ECHO_CMD} "cd ${PYTHONPREFIX_SITELIBDIR}/cut" >> ${WRKDIR}/cutgen
30
	@${ECHO_CMD} "exec ${PYTHON_CMD:T} cutgen.py" >> ${WRKDIR}/cutgen
31
17
do-install:
32
do-install:
18
	${INSTALL_SCRIPT} ${WRKSRC}/build/bin/cutgen ${STAGEDIR}${PREFIX}/bin
33
	(cd ${WRKDIR} && ${INSTALL_SCRIPT} cutgen \
19
	${INSTALL_SCRIPT} ${WRKSRC}/build/bin/cutgen.py ${STAGEDIR}${PREFIX}/bin
34
		${STAGEDIR}${PREFIX}/bin)
20
.for FILE in common.py lexer.py options.py parser.py
35
	@${MKDIR} ${STAGEDIR}${PREFIX}/include/cut/${PORTVERSION}
21
	${INSTALL_SCRIPT} ${WRKSRC}/build/bin/${FILE} ${STAGEDIR}${PREFIX}/bin/cutgen_${FILE}
36
	(cd ${WRKSRC} && ${INSTALL_DATA} cut.h \
22
.endfor
37
		${STAGEDIR}${PREFIX}/include/cut/${PORTVERSION})
38
	(cd ${WRKSRC}/build/lib && ${INSTALL_DATA} libcut.a \
39
		${STAGEDIR}${PREFIX}/lib)
40
	@${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/cut
41
	(cd ${WRKSRC} && ${INSTALL_DATA} *.py \
42
		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/cut)
43
44
post-install-DOCS-on:
45
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
46
	(cd ${WRKSRC} && ${INSTALL_DATA} index.html \
47
		${STAGEDIR}${DOCSDIR})
23
48
24
.include <bsd.port.mk>
49
.include <bsd.port.mk>
(-)devel/cut/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (cut-2.6.tar.gz) = ca1af2bfde22471f34c3f8852712983bac74150c7f7837367fece750d1ed793e
1
SHA256 (cut/v2.7.tar.bz2) = 73cdaec95841b9665397f815c985c2e414eb26f54433e1718ad5d8e75fa8ff59
2
SIZE (cut-2.6.tar.gz) = 302932
2
SIZE (cut/v2.7.tar.bz2) = 9990
(-)devel/cut/pkg-descr (-3 / +2 lines)
Lines 8-16 Link Here
8
starting life as distinct, and even competing, CUT 1.0 and test-assert
8
starting life as distinct, and even competing, CUT 1.0 and test-assert
9
packages. When it was finally decided to combine both packages into a
9
packages. When it was finally decided to combine both packages into a
10
single tool, CUT 2.0 was released, and found to be vastly more useful
10
single tool, CUT 2.0 was released, and found to be vastly more useful
11
than either expected. CUT 2.4 is the latest version of the CUT 2.x
11
than either expected.
12
series.
13
12
14
CUT follows standard error messages format supported by Emacs.
13
CUT follows standard error messages format supported by Emacs.
15
14
16
WWW: http://www.falvotech.com/content/cut/
15
WWW: https://bitbucket.org/kc5tja/cut/
(-)devel/cut/pkg-plist (-5 / +8 lines)
Lines 1-6 Link Here
1
bin/cutgen
1
bin/cutgen
2
bin/cutgen.py
2
include/cut/%%VERSION%%/cut.h
3
bin/cutgen_common.py
3
lib/libcut.a
4
bin/cutgen_lexer.py
4
%%PYTHON_SITELIBDIR%%/cut/common.py
5
bin/cutgen_options.py
5
%%PYTHON_SITELIBDIR%%/cut/cutgen.py
6
bin/cutgen_parser.py
6
%%PYTHON_SITELIBDIR%%/cut/lexer.py
7
%%PYTHON_SITELIBDIR%%/cut/options.py
8
%%PYTHON_SITELIBDIR%%/cut/parser.py
9
%%PORTDOCS%%%%DOCSDIR%%/index.html

Return to bug 204194