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) |