summaryrefslogtreecommitdiff
path: root/graphics/xv-m17n/Makefile
blob: 508990e30c3950710530bb4a324b40f3d66f06b0 (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
# New ports collection makefile for:	xv-m17n
# Version required:	3.10a
# Date created:		07 Oct 1998
# Whom:			Shigeyuki FUKUSHIMA (shige@kuis.kyoto-u.ac.jp)
#
# $Id$
#

PKGNAME=	xv-m17n-3.10a
CATEGORIES=	graphics

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

# can't use PORTSDIR here, since we haven't included bsd.port.mk
FILESDIR=	${.CURDIR}/../../graphics/xv/files
PATCHDIR=	${.CURDIR}/../../graphics/xv/patches

MAKE_ENV=	LOCALE_EXTENSION=-DTV_MULTILINGUAL

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

NOMAN=		yes

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/xv ${PREFIX}/bin/xv-m17n
	@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/xv-m17n ${PREFIX}/bin/xv

.include <${.CURDIR}/../../graphics/xv/Makefile>