blob: 21ac35f89f835331a49194d30f48b5d6c4baf83d (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# New ports collection makefile for: TkStep
# Date created: 25 March 1999
# Whom: KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
#
# $FreeBSD$
#
PORTNAME= tkstep
PORTVERSION= 8.0.5
PORTREVISION= 2
CATEGORIES= japanese tk
MASTER_SITES= ${MASTER_SITE_TCLTK}
MASTER_SITE_SUBDIR= tcl8_0
DISTNAME= tk${PORTVERSION}
PATCH_SITES= ftp://ftp.sra.co.jp/pub/lang/tcl/jp/ \
http://www.aaa-int.or.jp/~jfactory/Factory/TkStep/dist/
PATCHFILES= tk${PORTVERSION}jp1.6.patch.gz 2Step-${PORTVERSION}pl1-patch.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= The Tk toolkit with a NeXTSTEP look and more
LIB_DEPENDS= tcl80jp.1:${PORTSDIR}/japanese/tcl80
BROKEN= Broken with gcc 4.2
DEPRECATED= does not compile on FreeBSD 7.x or newer
EXPIRATION_DATE=2011-04-17
USE_XORG= xpm
USE_AUTOTOOLS= autoconf213
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --enable-gcc --enable-shared --enable-step \
--with-tcl=${PREFIX}/lib/tcl${TCLVERSION}jp \
--enable-dnd --enable-xpm
WRKSRC= ${TOPDIR}/unix
.if defined(PATCH_DEBUG)
PATCH_DIST_ARGS=-d ${TOPDIR} -E ${PATCH_DIST_STRIP}
.else
PATCH_DIST_ARGS=-d ${TOPDIR} --forward --quiet -E ${PATCH_DIST_STRIP}
.endif
PKGINSTALL= ${PORTSDIR}/x11-toolkits/tk82/pkg-install.wish
PKGDEINSTALL= ${PORTSDIR}/x11-toolkits/tk82/pkg-deinstall.wish
USE_LDCONFIG= yes
TCLVERSION= 8.0
TOPDIR= ${WRKDIR}/${DISTNAME}
PORTDOCDIR= ${PREFIX}/share/doc/tkstep${TCLVERSION}jp
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e '/xpg4/d' ${WRKSRC}/configure.in
pre-install:
cd ${TOPDIR}/library/demos.jp && ${RM} -f *.orig
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PORTDOCDIR}
cd ${TOPDIR}; \
${INSTALL_DATA} README.TkStep ${PORTDOCDIR}
cd ${TOPDIR}/tkstep; \
${INSTALL_DATA} NOTES README.TkDND README.step ${PORTDOCDIR}
cd ${TOPDIR}/tkstepjp; \
${INSTALL_DATA} changes.TkSTEPjp ${PORTDOCDIR}
.endif
.if exists(${PKGINSTALL})
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL}
.endif
.include <bsd.port.post.mk>
|