1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/japanese/xv/Makefile

29 lines
658 B
Makefile

# Created by: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
# $FreeBSD$
CATEGORIES= japanese
MAINTAINER= ports@FreeBSD.org
COMMENT= An X11 program that displays images of various formats with japanization
MASTERDIR= ${.CURDIR}/../../graphics/xv
PKGDIR= ${.CURDIR}
MAKE_ENV= LOCALE_EXTENSION=-DTV_L10N
RUN_DEPENDS= xv:${PORTSDIR}/graphics/xv
NOMAN= yes
NO_STAGE= 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"