aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/gxditview/Makefile
blob: 6071ee86141c5510d2b767d4b95a5d857aeeb243 (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
# New ports collection makefile for:    gxditview (part of ja-groff)
# Date created:     14 April 1995
# Whom:         Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
#
# $FreeBSD$
#

PORTNAME=   gxditview
PORTVERSION=    0.100
CATEGORIES= japanese print
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= groff
DISTNAME=   groff-1.15

PATCH_SITES=    ${MASTER_SITE_LOCAL}
PATCH_SITE_SUBDIR= okazaki
PATCHFILES= ${DISTNAME}-jgroff-${PORTVERSION}-pl1.diff.gz
PATCH_DIST_ARGS=    -d ${WRKSRC}/.. --forward --quiet -E -p1

MAINTAINER= okazaki@FreeBSD.org

RUN_DEPENDS=    ${LOCALBASE}/bin/groff:${PORTSDIR}/japanese/groff

USE_IMAKE=  yes
MAKE_ENV=   NIPPONDEFINES="-DNIPPON"
WRKSRC=     ${WRKDIR}/${DISTNAME}/xditview
MAN1=       gxditview.1

post-patch:
    @${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Imakefile

.include <bsd.port.mk>