aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/gp/Makefile
blob: 3fc4f3d3c0fda379bb19e39d98e586bd1e1d7569 (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
# New ports collection makefile for: GP-jp
# Version required: 2.01jp
# Date created:     15 April 1997
# Whom:         Kiriyama Kazuhiko<kiri@kiri.toba-cmt.ac.jp>
#
# $Id: Makefile,v 1.2 1997/06/29 11:30:39 obrien Exp $
#

DISTNAME=   GP-2.01jp
PKGNAME=    jp-gp-2.01
CATEGORIES= japanese print
MASTER_SITES=   http://www.kamome.or.jp/hueda/GP/ \
        ftp://green.arailab.dnj.ynu.ac.jp/pub/AraiLab/GP/

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

RUN_DEPENDS=    wish4.2jp:${PORTSDIR}/japanese/tk42 \
        nup:${PORTSDIR}/japanese/dvi2ps \
        a2ps-j:${PORTSDIR}/japanese/a2ps \
        ghostview:${PORTSDIR}/print/ghostview

NO_BUILD=   yes

DOCDIR=     ${PREFIX}/share/doc/GP-jp

pre-patch:
    @${MKDIR} ${PATCHDIR}
    @${SETENV} FILESDIR=${FILESDIR} PATCHDIR=${PATCHDIR} \
        PREFIX=${PREFIX} SED=${SED} X11BASE=${X11BASE} \
        ${SH} ${FILESDIR}/pr-setup.sh

do-install:
    @${MKDIR} ${PREFIX}/etc/GP-jp
    @${INSTALL_SCRIPT} ${WRKSRC}/GP ${PREFIX}/bin/GP-j
    @${INSTALL_DATA} ${FILESDIR}/printer ${FILESDIR}/filetype  \
        ${PREFIX}/etc/GP-jp

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCDIR}
    @${INSTALL_DATA} ${WRKSRC}/Doc/README ${WRKSRC}/Doc/Variables \
         ${DOCDIR}
.endif

pre-clean:
    @${RM} -f ${FILESDIR}/filetype ${FILESDIR}/printer ${PATCHDIR}/patch-aa

.include <bsd.port.mk>