aboutsummaryrefslogtreecommitdiff
path: root/japanese/oleo/Makefile
blob: 67a0caf4192e54b3f8e2efbffe0a2cad05fa9ac9 (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
45
46
47
48
49
50
51
52
# New ports collection makefile for:	ja-oleo
# Date created:		2 March 1997
# Whom:			Yoshiro MIHIRA
#
# $FreeBSD$
#

PORTNAME=	oleo
PORTVERSION=	1.99.16
PORTREVISION=	3
CATEGORIES=	japanese math
MASTER_SITES=	http://www.hh.iij4u.or.jp/~hayasida/oleo/ \
		${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=	oleo
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
		${PORTNAME}-doc.tar.gz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A Spreadsheet Program + Japanese patches

# xmkmf is for configure script, not for USE_IMAKE.
BUILD_DEPENDS=	imake:${PORTSDIR}/devel/imake

USE_BISON=	build

.if defined(WITH_MOTIF)
BUILD_DEPENDS+=	${LOCALBASE}/include/Xbae/Matrix.h:${PORTSDIR}/x11-toolkits/xbae
.else
CONFIGURE_ARGS+=--without-motif
.endif

USE_XORG=	x11 xext xt
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib"
GNU_CONFIGURE=	yes
INFO=		oleo

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
BROKEN=		Broken with gcc 4.2
.endif

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}/ja_JP.EUC
	@${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/FAQ ${DOCSDIR}
	@${INSTALL_DATA} ${WRKDIR}/USING.eucJP ${DOCSDIR}/ja_JP.EUC
.endif

.include <bsd.port.post.mk>