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

(-)Makefile (-11 / +3 lines)
Lines 3-15 Link Here
3
3
4
PORTNAME=	critcl
4
PORTNAME=	critcl
5
PORTVERSION=	3.1.12
5
PORTVERSION=	3.1.12
6
PORTREVISION=	1
6
CATEGORIES=	devel
7
CATEGORIES=	devel
7
8
8
MAINTAINER=	tcltk@FreeBSD.org
9
MAINTAINER=	tcltk@FreeBSD.org
9
COMMENT=	Compiled Runtime in Tcl
10
COMMENT=	Compiled Runtime in Tcl
10
11
11
OPTIONS_DEFINE=	DOCS
12
13
USES+=		tcl
12
USES+=		tcl
14
USE_GITHUB=	yes
13
USE_GITHUB=	yes
15
GH_ACCOUNT=	andreas-kupries
14
GH_ACCOUNT=	andreas-kupries
Lines 22-42 Link Here
22
21
23
.include <bsd.port.options.mk>
22
.include <bsd.port.options.mk>
24
23
25
.if ${PORT_OPTIONS:MDOCS}
26
BUILD_DEPENDS+=	dtplite:${PORTSDIR}/devel/tcllib
27
.endif
28
29
post-patch:
24
post-patch:
30
	${REINPLACE_CMD} -e 's|dtplite|${LOCALBASE}/bin/dtplite|g' ${WRKSRC}/build.tcl
25
	${REINPLACE_CMD} -e 's|dtplite|${LOCALBASE}/bin/dtplite|g' ${WRKSRC}/build.tcl
31
	${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g' ${WRKSRC}/lib/critcl/Config
26
	${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g' ${WRKSRC}/lib/critcl/Config
32
27
33
do-install:
28
do-install:
34
.if ${PORT_OPTIONS:MDOCS}
35
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
36
	(cd ${WRKSRC} && ${TCLSH} build.tcl doc)
37
	(cd ${WRKSRC}/embedded/www && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
38
.endif
39
	(cd ${WRKSRC} && ${TCLSH} build.tcl install ${STAGEDIR}${PREFIX}/lib)
29
	(cd ${WRKSRC} && ${TCLSH} build.tcl install ${STAGEDIR}${PREFIX}/lib)
30
	${INSTALL_MAN} ${WRKSRC}/embedded/man/files/critcl_*.n	\
31
		${STAGEDIR}${MANPREFIX}/man/mann/
40
32
41
regression-test: build
33
regression-test: build
42
	(cd ${WRKSRC} && ${TCLSH} test/all.tcl)
34
	(cd ${WRKSRC} && ${TCLSH} test/all.tcl)
(-)pkg-plist (+14 lines)
Lines 101-103 Link Here
101
lib/util84/dict.tcl
101
lib/util84/dict.tcl
102
lib/util84/lassign.tcl
102
lib/util84/lassign.tcl
103
lib/util84/pkgIndex.tcl
103
lib/util84/pkgIndex.tcl
104
man/mann/critcl_app.n.gz
105
man/mann/critcl_apppkg.n.gz
106
man/mann/critcl_bitmap.n.gz
107
man/mann/critcl_class.n.gz
108
man/mann/critcl_devguide.n.gz
109
man/mann/critcl_enum.n.gz
110
man/mann/critcl_iassoc.n.gz
111
man/mann/critcl_installer.n.gz
112
man/mann/critcl_introduction.n.gz
113
man/mann/critcl_literals.n.gz
114
man/mann/critcl_pkg.n.gz
115
man/mann/critcl_sources.n.gz
116
man/mann/critcl_usingit.n.gz
117
man/mann/critcl_util.n.gz

Return to bug 197358