diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1997-03-02 13:01:25 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1997-03-02 13:01:25 +0000 |
commit | 59baa782f09e66b7b6e69b4f5e88112da329501c (patch) | |
tree | c5b360ced40569f4c6ec3304c4ce99f966da6b0c /japanese/tcl76/Makefile | |
parent | Change "/usr/local" to "${LOCALBASE}". While I'm here, change (diff) |
Japanized tcl ver 7.6. Together with the tk import, closes PR
ports/2764.
Submitted by: Taguchi Takeshi <taguchi@tohoku.iij.ad.jp>
Notes
Notes:
svn path=/head/; revision=5788
Diffstat (limited to 'japanese/tcl76/Makefile')
-rw-r--r-- | japanese/tcl76/Makefile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/japanese/tcl76/Makefile b/japanese/tcl76/Makefile new file mode 100644 index 000000000000..4f504e1fc77e --- /dev/null +++ b/japanese/tcl76/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: tcl7.6jp +# Version required: 7.6p2jp +# Date created: +# Whom: taguchi@tohoku.iij.ad.jp +# +# $Id$ +# + +DISTNAME= tcl7.6p2 +PKGNAME= jp-tcl-7.6 +CATEGORIES= japanese lang +MASTER_SITES= ftp://ftp.sunlabs.com/pub/tcl/ + +PATCH_SITES= ftp://ftp.sra.co.jp/pub/lang/tcl/jp/ +PATCHFILES= tcl7.6jp-patch.gz + +MAINTAINER= taguchi@tohoku.iij.ad.jp + +WRKSRC= ${WRKDIR}/${DISTNAME}/unix +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-shared +CONFIGURE_ENV= PORTSDIR=${PORTSDIR} + +.if defined(PATCH_DEBUG) +PATCH_DIST_ARGS= -d ${WRKDIR}/${DISTNAME} -E ${PATCH_DIST_STRIP} +.else +PATCH_DIST_ARGS= -d ${WRKDIR}/${DISTNAME} --forward --quiet -E ${PATCH_DIST_STRIP} +.endif + +post-extract: + @${MV} ${WRKDIR}/tcl7.6 ${WRKDIR}/${DISTNAME} + +post-configure: + @${ECHO} "We will NOT only make shared library, but also static one." + @${CP} ${FILESDIR}/Makefile.lib ${WRKSRC} + +pre-build: + cd ${WRKSRC} && ${MAKE} -f Makefile.lib PREFIX=${PREFIX} && rm *.o + +pre-install: + ${MKDIR} ${PREFIX}/lib/tcl7.6jp + cd ${WRKSRC} && ${MAKE} -f Makefile.lib install PREFIX=${PREFIX} + ${LDCONFIG} -m ${PREFIX}/lib + +test: + cd ${WRKSRC} && ${MAKE} test + +.include <bsd.port.mk> |