aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/tkstep80/Makefile
blob: ebb001a022e570bbd6f8b541a171d739ff038cd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# New ports collection makefile for:    TkStep
# Version required: 8.0.4
# Date created:     25 March 1999
# Whom:         KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
#
# $FreeBSD$
#

DISTNAME=   tk8.0.4
PKGNAME=    ja-tkstep-8.0.4
CATEGORIES= japanese tk80
MASTER_SITES=   ftp://ftp.scriptics.com/pub/tcl/tcl8_0/

PATCH_SITES=    ftp://ftp.sra.co.jp/pub/lang/tcl/jp/ \
        http://www.aaa-int.or.jp/~jfactory/TkStep/dist/
PATCHFILES= tk8.0.4jp1.3.patch.gz tk8.0.4-Stepnize.gz

MAINTAINER= kiri@pis.toba-cmt.ac.jp

LIB_DEPENDS=    tcl80jp.1:${PORTSDIR}/japanese/tcl80

USE_XLIB=   yes
USE_AUTOCONF=   yes
HAS_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-gcc --enable-shared --enable-step \
        --with-tcl=${PREFIX}/lib/tcl${TCLVERSION}jp \
        --enable-dnd
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

TCLVERSION= 8.0
TOPDIR=     ${WRKDIR}/${DISTNAME}
PORTDOCDIR= ${PREFIX}/share/doc/tkstep${TCLVERSION}jp

.include <bsd.port.pre.mk>

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PORTDOCDIR}
    cd ${TOPDIR}/doc.tkstep; \
    ${INSTALL_DATA} INSTALL.TkSTEPjp NOTES README.TkDND README.TkSTEPjp \
        README.TkStep README.step changes.TkSTEPjp ${PORTDOCDIR}
.endif
    @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib

.include <bsd.port.post.mk>