aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/bookview/Makefile
blob: 42224746257ec65ef29994c5dfdc908221ffc4e2 (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
# New ports collection makefile for:    bookview
# Date created:         2 Oct 1997
# Whom:             Motoyuki Kasahara <m-kasahr@sra.co.jp>
#
# $FreeBSD$
#

PORTNAME=   bookview
PORTVERSION=    3.2.1
CATEGORIES= japanese
MASTER_SITES=   ftp://ftp.sra.co.jp/pub/net/ndtp/bookview/ \
        ftp://ftp.eos.hokudai.ac.jp/pub/net/ndtp/bookview/

MAINTAINER= ports@FreeBSD.org
COMMENT=    NDTP client written in Tcl/Tk

USE_TK_WRAPPER=     yes

do-build:
.for i in bookview/bookview doc/bookview.html
    cd ${WRKSRC} && ${SED} -e \
        's|@WISH@|${WISH}|g ; \
         s|@VERSION@|${PORTVERSION}|g ; \
         s|@sysconfdir@|${PREFIX}/etc|g ; \
         s|@pkgdatadir@|${DATADIR}|g' < ${i}.in > ${i}
.endfor

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/bookview/bookview ${PREFIX}/bin
    @${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/bitmap/*.gif ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/bitmap/*.xbm ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/bookview/*.tcl ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/bookview/*.mo ${DATADIR}
    @${MKDIR} ${DATADIR}/doc
    ${INSTALL_DATA} ${WRKSRC}/doc/*.css ${DATADIR}/doc
    ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DATADIR}/doc
    ${INSTALL_DATA} ${WRKSRC}/doc/*.png ${DATADIR}/doc

.include <bsd.port.mk>