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

(-)x11-toolkits/tk82/Makefile (-10 / +4 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	tk
8
PORTNAME=	tk
9
PORTVERSION=	8.2.3
9
PORTVERSION=	8.2.3
10
PORTREVISION=	6
10
PORTREVISION=	7
11
CATEGORIES=	x11-toolkits tk82
11
CATEGORIES=	x11-toolkits tk82
12
MASTER_SITES=	${MASTER_SITE_TCLTK}
12
MASTER_SITES=	${MASTER_SITE_TCLTK}
13
MASTER_SITE_SUBDIR=	tcl8_2
13
MASTER_SITE_SUBDIR=	tcl8_2
Lines 30-41 Link Here
30
CONFIGURE_ENV=	PORTSDIR=${PORTSDIR} TK_LIB_FILE=libtk${SHORT_TK_VER}.so.1
30
CONFIGURE_ENV=	PORTSDIR=${PORTSDIR} TK_LIB_FILE=libtk${SHORT_TK_VER}.so.1
31
MAKE_ENV=	SHORT_TK_VER=${SHORT_TK_VER}
31
MAKE_ENV=	SHORT_TK_VER=${SHORT_TK_VER}
32
PLIST_SUB=	TK_VER=${TK_VER} SHORT_TK_VER=${SHORT_TK_VER}
32
PLIST_SUB=	TK_VER=${TK_VER} SHORT_TK_VER=${SHORT_TK_VER}
33
PKGINSTALL=	${PKGDIR}/pkg-install.wish
34
PKGDEINSTALL=	${PKGDIR}/pkg-deinstall.wish
35
TCL82_PORT?=	lang/tcl82
33
TCL82_PORT?=	lang/tcl82
36
MANCOMPRESSED=	no
34
MANCOMPRESSED=	no
37
35
38
OPTIONS=	TK82_MAN "Install tk 8.2 manpages" on \
36
OPTIONS=	TK82_MAN "Install tk 8.2 manpages" off \
39
		WISH_WRAPPER "Require wish wrapper from ports" off
37
		WISH_WRAPPER "Require wish wrapper from ports" off
40
38
41
.include <bsd.port.pre.mk>
39
.include <bsd.port.pre.mk>
Lines 320-334 Link Here
320
	${REINPLACE_CMD} \
318
	${REINPLACE_CMD} \
321
		-e 's|${WRKDIRPREFIX}${.CURDIR}|$${WRKDIRPREFIX}${TKBASE}|' \
319
		-e 's|${WRKDIRPREFIX}${.CURDIR}|$${WRKDIRPREFIX}${TKBASE}|' \
322
		${WRKSRC}/tkConfig.sh
320
		${WRKSRC}/tkConfig.sh
323
.if defined(NO_INSTALL_MANPAGES) || !defined(WITH_TK82_MAN)
324
	${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \
325
		${WRKSRC}/Makefile
326
.endif
327
321
328
post-install:
322
post-install:
329
	${INSTALL_DATA} ${FILESDIR}/pkgIndex.tcl ${PREFIX}/lib/tk${TK_VER}/
323
	${INSTALL_DATA} ${FILESDIR}/pkgIndex.tcl ${PREFIX}/lib/tk${TK_VER}/
330
.if exists(${PKGINSTALL})
324
.if !defined(NO_INSTALL_MANPAGES) && defined(WITH_TK82_MAN)
331
	${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL}
325
	@cd ${WRKSRC} && ${MAKE} -f Makefile install-doc
332
.endif
326
.endif
333
327
334
test:
328
test:
(-)x11-toolkits/tk82/files/patch-ab (-3 / +10 lines)
Lines 1-5 Link Here
1
--- Makefile.in.orig	Tue Dec 14 23:00:19 1999
1
--- Makefile.in.orig	Wed Dec 15 05:00:19 1999
2
+++ Makefile.in	Mon Apr 24 09:41:33 2000
2
+++ Makefile.in	Mon Mar 12 17:42:52 2007
3
@@ -56,7 +56,9 @@
3
@@ -56,7 +56,9 @@
4
 BIN_DIR =		$(exec_prefix)/bin
4
 BIN_DIR =		$(exec_prefix)/bin
5
 
5
 
Lines 53-59 Link Here
53
 ${STUB_LIB_FILE}: ${STUB_LIB_OBJS}
53
 ${STUB_LIB_FILE}: ${STUB_LIB_OBJS}
54
 	rm -f ${STUB_LIB_FILE}
54
 	rm -f ${STUB_LIB_FILE}
55
 	@MAKE_STUB_LIB@
55
 	@MAKE_STUB_LIB@
56
@@ -425,7 +433,7 @@
56
@@ -419,13 +427,13 @@
57
 	TK_LIBRARY=@TK_SRC_DIR@/library; export TK_LIBRARY; \
58
 	./tktest
59
 
60
-install: all install-binaries install-libraries install-demos install-doc
61
+install: all install-binaries install-libraries install-demos
62
 
63
 # Note: before running ranlib below, must cd to target directory because
57
 # some ranlibs write to current directory, and this might not always be
64
 # some ranlibs write to current directory, and this might not always be
58
 # possible (e.g. if installing as root).
65
 # possible (e.g. if installing as root).

Return to bug 110237