aboutsummaryrefslogtreecommitdiff
path: root/japanese/xjtext/Makefile
blob: deddb13a370c21badba3f0ca29be8ea3f9915747 (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
34
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:	xjtext
# Date created:		8 July 2000
# Whom:			sada
#
# $FreeBSD$
#

PORTNAME=	xjtext
PORTVERSION=	1.3
PORTREVISION=	2
CATEGORIES=	japanese
MASTER_SITES=	http://plaza.harmonix.ne.jp/~onizuka/
DISTNAME=	XJTEXT-${PORTVERSION}

MAINTAINER=	sada@FreeBSD.org
COMMENT=	A text viewer for Japanese virtical writings

USE_BISON=	yes
USE_GNOME=	imlib
EXAMPLEDIR=	${PREFIX}/share/examples/xjtext
DOCDIR=		${PREFIX}/share/doc/xjtext

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500113
BROKEN=         "Does not compile (bad C++ code)"
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/xjtext ${PREFIX}/bin

post-install:
	strip ${PREFIX}/bin/xjtext
	${MKDIR} ${EXAMPLEDIR}
.for i in FSS README YAMA \
		Ao.png Back2.png Brown.png Royal.png Royal2.png
	${INSTALL_DATA} ${WRKSRC}/$i ${EXAMPLEDIR}
.endfor
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCDIR}
	${INSTALL_MAN} ${WRKSRC}/README.txt ${DOCDIR}
.endif

.include <bsd.port.post.mk>