aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xv-m17n/Makefile
blob: 793c5d67371f6c94fe1eb19e341ae117d45f9b50 (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
# Created by: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
# $FreeBSD$

PKGNAMESUFFIX=  -m17n

MAINTAINER= dinoex@FreeBSD.org
COMMENT=    An X11 program that displays images of various formats with multilingualization

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

MAKE_ENV=   LOCALE_EXTENSION=-DTV_MULTILINGUAL

RUN_DEPENDS=    xv:${PORTSDIR}/${PKGCATEGORY}/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 "${MASTERDIR}/Makefile"