View | Details | Raw Unified | Return to bug 195863 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-6 / +9 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	tcllib
4
PORTNAME=	tcllib
5
PORTVERSION=	1.16
5
PORTVERSION=	1.16
6
PORTREVISION=	1
6
CATEGORIES=	devel tcl
7
CATEGORIES=	devel tcl
7
8
8
MAINTAINER=	tcltk@FreeBSD.org
9
MAINTAINER=	tcltk@FreeBSD.org
Lines 13-18 Link Here
13
LICENSE_FILE=	${WRKSRC}/license.terms
14
LICENSE_FILE=	${WRKSRC}/license.terms
14
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
15
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
15
16
17
BUILD_DEPENDS=	critcl:${PORTSDIR}/devel/critcl
18
16
OPTIONS_DEFINE=	DOCS MANPAGES
19
OPTIONS_DEFINE=	DOCS MANPAGES
17
20
18
USE_GITHUB=	yes
21
USE_GITHUB=	yes
Lines 24-32 Link Here
24
USES+=		tcl
27
USES+=		tcl
25
GNU_CONFIGURE=	yes
28
GNU_CONFIGURE=	yes
26
CONFIGURE_ENV+=	ac_cv_path_tclsh="${TCLSH}"
29
CONFIGURE_ENV+=	ac_cv_path_tclsh="${TCLSH}"
27
ALL_TARGET=	all
30
ALL_TARGET=	critcl
28
MAKE_ENV+=	LANG=C
31
MAKE_ENV+=	LANG=C
29
PORTDOCS=	*
32
PORTDOCS=	*
33
REINPLACE_ARGS=	-i'""'
34
PLIST_SUB+=	BINARCH=${OPSYS:tl}-${ARCH}
30
35
31
INSTALL_ARGS=	-pkgs -pkg-path ${STAGEDIR}${PREFIX}/lib/tcllib \
36
INSTALL_ARGS=	-pkgs -pkg-path ${STAGEDIR}${PREFIX}/lib/tcllib \
32
		-apps -app-path ${STAGEDIR}${PREFIX}/bin \
37
		-apps -app-path ${STAGEDIR}${PREFIX}/bin \
Lines 73-83 Link Here
73
	   ${WRKSRC}/modules/doctools/tests/text/04 > ${WRKSRC}/modules/doctools/tests/text/04.new
78
	   ${WRKSRC}/modules/doctools/tests/text/04 > ${WRKSRC}/modules/doctools/tests/text/04.new
74
	${MV} ${WRKSRC}/modules/doctools/tests/text/04.new ${WRKSRC}/modules/doctools/tests/text/04
79
	${MV} ${WRKSRC}/modules/doctools/tests/text/04.new ${WRKSRC}/modules/doctools/tests/text/04
75
#
80
#
76
#	 .orig files confuse the pt module test suite and eventually get
77
#	 installed
78
#
79
	${FIND} ${WRKSRC} -name "*.orig" -delete
80
#
81
#	man pages have the .tcllib suffix, so there's no need to have a
81
#	man pages have the .tcllib suffix, so there's no need to have a
82
#	tcllib_ prefix too
82
#	tcllib_ prefix too
83
#
83
#
Lines 99-107 Link Here
99
	for man in `${FIND} . -name "*.n"`; do \
99
	for man in `${FIND} . -name "*.n"`; do \
100
	    ${MV} $$man `echo $$man | ${SED} -e 's|n$$|tcllib.n|'`; \
100
	    ${MV} $$man `echo $$man | ${SED} -e 's|n$$|tcllib.n|'`; \
101
	done
101
	done
102
	cd ${WRKSRC}/modules/json/c && ${YACC} -b json json.y
102
103
103
do-install:
104
do-install:
104
	cd ${WRKSRC} && ${TCLSH} ./installer.tcl ${INSTALL_ARGS}
105
	cd ${WRKSRC} && ${TCLSH} ./installer.tcl ${INSTALL_ARGS}
106
	${CP} -Rp ${WRKSRC}/modules/tcllibc ${STAGEDIR}${PREFIX}/lib/tcllib/
107
	rm ${STAGEDIR}${PREFIX}/lib/tcllib/tcllibc/license.terms
105
108
106
regression-test: build
109
regression-test: build
107
	cd ${WRKSRC} && ${SETENV} LANG=C LC_ALL=C DISPLAY= ${MAKE} test
110
	cd ${WRKSRC} && ${SETENV} LANG=C LC_ALL=C DISPLAY= ${MAKE} test

Return to bug 195863