1999-05-03 06:13:15 +02:00
|
|
|
# New ports collection makefile for: TkStep
|
|
|
|
# Date created: 25 March 1999
|
|
|
|
# Whom: KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
|
|
|
|
#
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1999-05-03 06:13:15 +02:00
|
|
|
#
|
|
|
|
|
2000-04-12 16:38:12 +02:00
|
|
|
PORTNAME= tkstep
|
2000-09-16 21:23:22 +02:00
|
|
|
PORTVERSION= 8.0.5
|
1999-05-03 06:13:15 +02:00
|
|
|
CATEGORIES= japanese tk80
|
|
|
|
MASTER_SITES= ftp://ftp.scriptics.com/pub/tcl/tcl8_0/
|
2000-04-12 16:38:12 +02:00
|
|
|
DISTNAME= tk${PORTVERSION}
|
1999-05-03 06:13:15 +02:00
|
|
|
|
|
|
|
PATCH_SITES= ftp://ftp.sra.co.jp/pub/lang/tcl/jp/ \
|
2000-09-16 21:23:22 +02:00
|
|
|
http://www.aaa-int.or.jp/~jfactory/Factory/TkStep/dist/
|
|
|
|
PATCHFILES= tk${PORTVERSION}jp1.6.patch.gz 2Step-${PORTVERSION}pl1-patch.gz
|
1999-05-03 06:13:15 +02:00
|
|
|
|
|
|
|
MAINTAINER= kiri@pis.toba-cmt.ac.jp
|
|
|
|
|
|
|
|
LIB_DEPENDS= tcl80jp.1:${PORTSDIR}/japanese/tcl80
|
|
|
|
|
1999-05-04 13:43:00 +02:00
|
|
|
USE_XLIB= yes
|
2000-09-16 21:23:22 +02:00
|
|
|
USE_XPM= yes
|
1999-05-03 06:13:15 +02:00
|
|
|
USE_AUTOCONF= yes
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --enable-gcc --enable-shared --enable-step \
|
|
|
|
--with-tcl=${PREFIX}/lib/tcl${TCLVERSION}jp \
|
2000-09-16 21:23:22 +02:00
|
|
|
--enable-dnd --enable-xpm
|
1999-05-03 06:13:15 +02:00
|
|
|
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
|
2000-10-08 12:00:55 +02:00
|
|
|
PKGINSTALL= ${PORTSDIR}/x11-toolkits/tk82/pkg-install.wish
|
|
|
|
PKGDEINSTALL= ${PORTSDIR}/x11-toolkits/tk82/pkg-deinstall.wish
|
2000-06-17 07:34:04 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
1999-05-03 06:13:15 +02:00
|
|
|
|
|
|
|
TCLVERSION= 8.0
|
|
|
|
TOPDIR= ${WRKDIR}/${DISTNAME}
|
|
|
|
PORTDOCDIR= ${PREFIX}/share/doc/tkstep${TCLVERSION}jp
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2000-09-16 21:23:22 +02:00
|
|
|
pre-install:
|
|
|
|
cd ${TOPDIR}/library/demos.jp && ${RM} -f *.orig
|
|
|
|
|
1999-05-03 06:13:15 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PORTDOCDIR}
|
2000-09-16 21:23:22 +02:00
|
|
|
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}
|
1999-05-03 06:13:15 +02:00
|
|
|
.endif
|
|
|
|
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
2000-06-02 09:29:19 +02:00
|
|
|
.if exists(${PKGINSTALL})
|
|
|
|
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL}
|
|
|
|
.endif
|
1999-05-03 06:13:15 +02:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|