summaryrefslogtreecommitdiffstats
path: root/japanese/xv/Makefile
blob: 2639829f9cd30927016ea01f17a8233e26469a9b (plain)
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:	ja-xv
# Version required:	3.10a
# Date created:		07 Oct 1998
# Whom:			Shigeyuki FUKUSHIMA (shige@kuis.kyoto-u.ac.jp)
#
# $Id: Makefile,v 1.1.1.1 1998/10/27 22:06:53 kuriyama Exp $
#

PKGNAME=	ja-xv-3.10a
CATEGORIES=	japanese graphics

MAINTAINER=	shige@kuis.kyoto-u.ac.jp

MASTERDIR=	${.CURDIR}/../../graphics/xv
PKGDIR=		${.CURDIR}/pkg

MAKE_ENV=	LOCALE_EXTENSION=-DTV_L10N

RUN_DEPENDS=	xv:${.CURDIR}/../../graphics/xv

NOMAN=		yes

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/xv ${PREFIX}/bin/ja-xv
	@if [ ! -f ${PREFIX}/bin/xv.orig ]; then \
	    ${MV} ${PREFIX}/bin/xv ${PREFIX}/bin/xv.orig ;\
	else \
	    ${RM} ${PREFIX}/bin/xv ;\
	fi
	@${LN} -sf ${PREFIX}/bin/ja-xv ${PREFIX}/bin/xv

.include "${MASTERDIR}/Makefile"
OpenPOWER on IntegriCloud