summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsada <sada@FreeBSD.org>1999-01-02 20:27:42 +0000
committersada <sada@FreeBSD.org>1999-01-02 20:27:42 +0000
commit588b4592e5cd617fe99636069a6c5a69fa4ac6af (patch)
tree08015906b7a3895665bbc98ed729aa5e03e891ed
parent263d3723e474039ea865adafe9f1f22b65e79428 (diff)
downloadFreeBSD-ports-588b4592e5cd617fe99636069a6c5a69fa4ac6af.zip
FreeBSD-ports-588b4592e5cd617fe99636069a6c5a69fa4ac6af.tar.gz
Use tclsh instead of wish and remove files/pkgIndex.tcl
(now created by tclsh) Change option var. TCLJP's usage. Depend to tcl80{,jp}.1 . Submitted by: KUNISHIMA Takeo <kunishi@c.oka-pu.ac.jp>
-rw-r--r--net/ppxp/Makefile19
-rw-r--r--net/ppxp/pkg-descr2
2 files changed, 12 insertions, 9 deletions
diff --git a/net/ppxp/Makefile b/net/ppxp/Makefile
index 66abe9d..27bba64 100644
--- a/net/ppxp/Makefile
+++ b/net/ppxp/Makefile
@@ -2,16 +2,14 @@
# Version required: 0.98112523
# Date created: 16 June 1998
# Whom: Norio Suzuki
-# Based on: KUNISHIMA Takeo <kunishi@c.oka-pu.ac.jp>
+# KUNISHIMA Takeo <kunishi@c.oka-pu.ac.jp>
#
# $Id$
#
-# The option "TCLJP" doesn't work fine on 3.0-CURRENT.
-
DISTNAME= ppxp-0.98112523
CATEGORIES= net tk80
-.if defined(TCLJP)
+.if defined(USE_TCLJP)
CATEGORIES+= japanese
.endif
MASTER_SITES= http://www.dsl.ics.tut.ac.jp/~manabe/PPxP/packages/ \
@@ -21,14 +19,16 @@ MAINTAINER= nosuzuki@e-mail.ne.jp
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
xforms.0:${PORTSDIR}/x11-toolkits/xforms
-.if defined(TCLJP)
+.if defined(USE_TCLJP)
BUILD_DEPENDS= wish8.0jp:${PORTSDIR}/japanese/tk80 \
tclsh8.0jp:${PORTSDIR}/japanese/tcl80
+LIB_DEPENDS+= tcl80jp.1:${PORTSDIR}/japanese/tcl80
RUN_DEPENDS= wish8.0jp:${PORTSDIR}/japanese/tk80 \
tclsh8.0jp:${PORTSDIR}/japanese/tcl80
.else
BUILD_DEPENDS= wish8.0:${PORTSDIR}/x11-toolkits/tk80 \
tclsh8.0:${PORTSDIR}/lang/tcl80
+LIB_DEPENDS+= tcl80.1:${PORTSDIR}/lang/tcl80
RUN_DEPENDS= wish8.0:${PORTSDIR}/x11-toolkits/tk80 \
tclsh8.0:${PORTSDIR}/lang/tcl80
.endif
@@ -37,7 +37,7 @@ WRKSRC= ${WRKDIR}/ppxp
USE_GMAKE= yes
MAKEFILE= makefile
GNU_CONFIGURE= yes
-.if defined(TCLJP)
+.if defined(USE_TCLJP)
CONFIGURE_ARGS+= --with-tclsh=${PREFIX}/bin/tclsh8.0jp \
--with-wish=${PREFIX}/bin/wish8.0jp \
--with-tcl-includes=${PREFIX}/include/tcl8.0jp \
@@ -78,6 +78,11 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/console/tcltk/README ${PREFIX}/share/doc/tkppxp
@${MKDIR} ${PREFIX}/share/doc/xppxp
@${INSTALL_DATA} ${WRKSRC}/console/xppxp/README ${PREFIX}/share/doc/xppxp
- @${INSTALL_DATA} ${FILESDIR}/pkgIndex.tcl ${PREFIX}/lib/ppxp/tcl
+
+hoge:
+.if defined(USE_TCLJP)
+ echo hoge
+.endif
+
.include <bsd.port.mk>
diff --git a/net/ppxp/pkg-descr b/net/ppxp/pkg-descr
index 10422c9..ff30bb7 100644
--- a/net/ppxp/pkg-descr
+++ b/net/ppxp/pkg-descr
@@ -8,8 +8,6 @@ is Tcl/Tk based console, and much more.
There are more documentation under /usr/local/share/doc/ppxp.
Ref. <URL:http://www.dsl.ics.tut.ac.jp/~manabe/PPxP/>
-
-Copyright (c) 1997, 1998 The PPxP Development Team. All rights reserved.
--
Norio Suzuki
nosuzuki@e-mail.ne.jp
OpenPOWER on IntegriCloud