blob: fb967508b8ad4493fd89db3e2ea6d191e58c1e90 (
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
39
40
41
42
|
PORTNAME= tclwebtest
PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= www tcl
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool for issuing HTTP requests and dealing with the result
WWW= https://tclwebtest.sourceforge.net
LICENSE= GPLv2
RUN_DEPENDS= tclsh:lang/tcl-wrapper
NO_BUILD= YES
LIBDIR= lib/tclwebtest${PORTVERSION}
PLIST_SUB+= LIBDIR="${LIBDIR}"
OPTIONS_DEFINE= DOCS
post-extract:
@${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -r
@${SED} -i "" -e "s| tclsh | ${LOCALBASE}/bin/tclsh |g" ${WRKSRC}/tclwebtest
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${LIBDIR}
.for FILE in entities.tcl from_openacs.tcl pkgIndex.tcl tclwebtest.tcl
${INSTALL_DATA} ${WRKSRC}/lib/${FILE} ${STAGEDIR}${PREFIX}/${LIBDIR}/${FILE}
.endfor
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${CP} -R ${WRKSRC}/selftest ${STAGEDIR}${EXAMPLESDIR}
${CP} -R ${WRKSRC}/openacs4tests ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/tclwebtest ${STAGEDIR}${PREFIX}/bin/tclwebtest
post-install-DOCS-on:
@${ECHO} "Installing docs"
@${MKDIR} ${STAGEDIR}${DOCSDIR}/doc
${TAR} -C ${WRKSRC} -c -f - ChangeLog README TODO index.html generate_docs.test | ${TAR} -C ${STAGEDIR}${DOCSDIR} -x -f -
${TAR} -C ${WRKSRC}/doc -c -f - . | ${TAR} -C ${STAGEDIR}${DOCSDIR}/doc -x -f -
.include <bsd.port.mk>
|