aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/tk80/Makefile
diff options
context:
space:
mode:
authoritojun <itojun@FreeBSD.org>1998-05-10 16:11:44 +0800
committeritojun <itojun@FreeBSD.org>1998-05-10 16:11:44 +0800
commita4911d41611f009c8562d681529d916337ede29d (patch)
treefa3149b2279f2c0a422f72b6c94891b26945c6d8 /japanese/tk80/Makefile
parent9d40a9b9da985e6d0dc8aeacd1cb6ddfde194746 (diff)
downloadfreebsd-ports-gnome-a4911d41611f009c8562d681529d916337ede29d.tar.gz
freebsd-ports-gnome-a4911d41611f009c8562d681529d916337ede29d.tar.zst
freebsd-ports-gnome-a4911d41611f009c8562d681529d916337ede29d.zip
imported japanese/tk80,
"Graphical toolkit for Japanized TCL, version 8.0". PR: 5579
Diffstat (limited to 'japanese/tk80/Makefile')
-rw-r--r--japanese/tk80/Makefile59
1 files changed, 59 insertions, 0 deletions
diff --git a/japanese/tk80/Makefile b/japanese/tk80/Makefile
new file mode 100644
index 000000000000..4eb4f387186a
--- /dev/null
+++ b/japanese/tk80/Makefile
@@ -0,0 +1,59 @@
+# New ports collection makefile for: ja-tk8.0
+# Version required: 8.0
+# Date created: 26 Dec 1997
+# Whom: taguchi@tohoku.iij.ad.jp
+#
+# $Id:$
+#
+
+DISTNAME= tk8.0p2
+PKGNAME= ja-tk-8.0.2
+CATEGORIES= japanese x11 tk80
+MASTER_SITES= ftp://ftp.sunlabs.com/pub/tcl/
+
+PATCH_SITES= ftp://ftp.sra.co.jp/pub/lang/tcl/jp/
+PATCHFILES= tk8.0p2jp_beta3-patch.gz
+
+MAINTAINER= taguchi@tohoku.iij.ad.jp
+
+LIB_DEPENDS= tcl80jp\\.1\\.2:${PORTSDIR}/japanese/tcl80
+
+VERSION= 8.0
+TOPDIR= ${WRKDIR}/tk${VERSION}
+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
+GNU_CONFIGURE= yes
+USE_AUTOCONF= yes
+CONFIGURE_ARGS= --enable-shared --with-tcl=${PREFIX}/lib/tcl${VERSION}jp
+
+.if !defined(NOPORTDOCS)
+post-patch:
+ @${CP} ${FILESDIR}/README.FreeBSD.in ${TOPDIR}/README.FreeBSD.in
+ @${SED} -e 's%AC_OUTPUT(Makefile tkConfig.sh)%AC_OUTPUT(Makefile tkConfig.sh ../README.FreeBSD)%' \
+ < ${WRKSRC}/configure.in \
+ > ${WRKSRC}/configure.in.tmp
+ @${MV} -f ${WRKSRC}/configure.in.tmp ${WRKSRC}/configure.in
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/tk${VERSION}jp
+ @(cd ${TOPDIR}; \
+ ${INSTALL_DATA} README changes README.FreeBSD README.JP changes.JP \
+ Incompat80jp ${PREFIX}/share/doc/tk${VERSION}jp; \
+ )
+.endif
+ @${LDCONFIG} -m ${PREFIX}/lib
+ @${CAT} ${PKGDIR}/MESSAGE
+
+test:
+ cd ${WRKSRC} && ${MAKE} test
+
+install-man:
+ cd ${WRKSRC} && ${MAKE} install-man
+
+.include <bsd.port.mk>