2013-09-20 20:47:54 +02:00
|
|
|
# Created by: taguchi@tohoku.iij.ad.jp
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1998-05-10 10:11:44 +02:00
|
|
|
|
2000-04-12 16:38:12 +02:00
|
|
|
PORTNAME= tk
|
|
|
|
PORTVERSION= 8.0.5
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
PORTREVISION= 5
|
2008-04-09 15:42:26 +02:00
|
|
|
CATEGORIES= japanese x11-toolkits tk
|
2007-01-07 12:59:03 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_TCLTK}
|
|
|
|
MASTER_SITE_SUBDIR= tcl8_0
|
2000-04-12 16:38:12 +02:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
1998-05-10 10:11:44 +02:00
|
|
|
|
|
|
|
PATCH_SITES= ftp://ftp.sra.co.jp/pub/lang/tcl/jp/
|
2000-04-12 16:38:12 +02:00
|
|
|
PATCHFILES= ${PORTNAME}${PORTVERSION}jp1.7.patch.gz
|
1998-05-10 10:11:44 +02:00
|
|
|
|
2008-06-18 20:48:51 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 13:35:09 +01:00
|
|
|
COMMENT= Graphical toolkit for Japanized TCL, version 8.0
|
1998-05-10 10:11:44 +02:00
|
|
|
|
2014-07-14 01:36:40 +02:00
|
|
|
LIB_DEPENDS= libtcl80jp.so:${PORTSDIR}/japanese/tcl80
|
1998-05-10 10:11:44 +02:00
|
|
|
|
2000-04-12 16:38:12 +02:00
|
|
|
VERSION= ${PORTVERSION:R}
|
1998-09-28 17:15:11 +02:00
|
|
|
TOPDIR= ${WRKDIR}/${DISTNAME}
|
1998-05-10 10:11:44 +02:00
|
|
|
WRKSRC= ${TOPDIR}/unix
|
2007-01-07 12:59:03 +01:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/tk${VERSION}jp
|
|
|
|
PORTDOCS= README changes README.FreeBSD.JP README.JP changes.JP \
|
|
|
|
Incompat80jp
|
1998-05-10 10:11:44 +02:00
|
|
|
.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
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= autoconf213
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11
|
1999-09-07 02:14:42 +02:00
|
|
|
CONFIGURE_ARGS= --enable-shared --with-tcl=${PREFIX}/lib/tcl${VERSION}jp \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
--enable-xlibHack --enable-onTheSpot
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
1999-12-23 19:30:32 +01:00
|
|
|
RANLIB= ranlib
|
2007-01-07 12:59:03 +01:00
|
|
|
USE_LDCONFIG= yes
|
1998-05-10 10:11:44 +02:00
|
|
|
|
2013-09-20 20:47:54 +02:00
|
|
|
NO_STAGE= yes
|
1998-11-14 10:43:39 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1998-05-10 10:11:44 +02:00
|
|
|
post-patch:
|
2005-04-15 20:45:42 +02:00
|
|
|
@${REINPLACE_CMD} -e '/xpg4/d' ${WRKSRC}/configure.in
|
|
|
|
.if !defined(NOPORTDOCS)
|
1998-07-04 21:14:07 +02:00
|
|
|
@${CP} ${FILESDIR}/README.FreeBSD.in ${TOPDIR}/README.FreeBSD.JP.in
|
|
|
|
@${SED} -e 's%AC_OUTPUT(Makefile tkConfig.sh)%AC_OUTPUT(Makefile tkConfig.sh ../README.FreeBSD.JP)%' \
|
1998-05-10 10:11:44 +02:00
|
|
|
< ${WRKSRC}/configure.in \
|
|
|
|
> ${WRKSRC}/configure.in.tmp
|
|
|
|
@${MV} -f ${WRKSRC}/configure.in.tmp ${WRKSRC}/configure.in
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2007-01-07 12:59:03 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
1998-05-10 10:11:44 +02:00
|
|
|
@(cd ${TOPDIR}; \
|
1998-07-04 21:14:07 +02:00
|
|
|
${INSTALL_DATA} README changes README.FreeBSD.JP \
|
|
|
|
README.JP changes.JP \
|
2007-01-07 12:59:03 +01:00
|
|
|
Incompat80jp ${DOCSDIR}; \
|
1998-05-10 10:11:44 +02:00
|
|
|
)
|
1998-11-14 10:43:39 +01:00
|
|
|
.endif
|
2000-10-08 12:23:48 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1998-05-10 10:11:44 +02:00
|
|
|
|
|
|
|
test:
|
2007-01-30 11:25:34 +01:00
|
|
|
cd ${WRKSRC} && ${MAKE} test
|
1998-05-10 10:11:44 +02:00
|
|
|
|
|
|
|
install-man:
|
2007-01-30 11:25:34 +01:00
|
|
|
cd ${WRKSRC} && ${MAKE} install-man
|
1998-05-10 10:11:44 +02:00
|
|
|
|
1998-11-14 10:43:39 +01:00
|
|
|
.include <bsd.port.post.mk>
|