c6457ffef4
With minor cleanups to make things simpler. With hat: portmgr Sponsored by: Absolight
35 lines
766 B
Makefile
35 lines
766 B
Makefile
# Created by: gahr@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= critcl
|
|
PORTVERSION= 3.1.12
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= tcltk@FreeBSD.org
|
|
COMMENT= Compiled Runtime in Tcl
|
|
|
|
USES+= tcl
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= andreas-kupries
|
|
|
|
PLIST_SUB+= VER=${PORTVERSION}
|
|
PORTDOCS= *
|
|
|
|
NO_BUILD= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|dtplite|${LOCALBASE}/bin/dtplite|g' ${WRKSRC}/build.tcl
|
|
${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g' ${WRKSRC}/lib/critcl/Config
|
|
|
|
do-install:
|
|
(cd ${WRKSRC} && ${TCLSH} build.tcl install ${STAGEDIR}${PREFIX}/lib)
|
|
${INSTALL_MAN} ${WRKSRC}/embedded/man/files/critcl_*.n \
|
|
${STAGEDIR}${MANPREFIX}/man/mann/
|
|
|
|
test check regression-test: build
|
|
(cd ${WRKSRC} && ${TCLSH} test/all.tcl)
|
|
|
|
.include <bsd.port.mk>
|