2012-10-03 07:45:37 +00:00
|
|
|
# Created by: mr
|
1999-08-25 07:23:21 +00:00
|
|
|
# $FreeBSD$
|
1994-10-11 18:17:01 +00:00
|
|
|
|
2000-04-14 07:20:58 +00:00
|
|
|
PORTNAME= oleo
|
2001-03-20 13:03:54 +00:00
|
|
|
PORTVERSION= 1.99.16
|
2010-05-31 02:01:56 +00:00
|
|
|
PORTREVISION= 7
|
1996-11-18 10:25:35 +00:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
2000-08-02 00:05:11 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1995-04-11 01:19:12 +00:00
|
|
|
|
2008-02-21 21:20:01 +00:00
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
2003-02-20 19:00:52 +00:00
|
|
|
COMMENT= The GNU spreadsheet for X11 and terminals
|
1997-10-31 13:43:28 +00:00
|
|
|
|
2013-09-16 16:45:35 +00:00
|
|
|
USE_PERL5= build
|
|
|
|
USES= bison perl5
|
2010-12-04 07:34:27 +00:00
|
|
|
USE_AUTOTOOLS= autoconf213
|
2011-09-23 22:26:39 +00:00
|
|
|
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2001-03-20 13:03:54 +00:00
|
|
|
CONFIGURE_ARGS= --with-x --without-xlt --without-SciPlot
|
1997-10-31 13:43:28 +00:00
|
|
|
|
2004-06-07 21:27:03 +00:00
|
|
|
INFO= oleo
|
|
|
|
PORTDOCS= AUTHORS FAQ
|
|
|
|
|
2012-10-03 07:45:37 +00:00
|
|
|
OPTIONS_DEFINE= MOTIF NLS
|
2004-08-20 23:12:23 +00:00
|
|
|
|
2013-09-20 20:55:04 +00:00
|
|
|
NO_STAGE= yes
|
2012-10-03 07:45:37 +00:00
|
|
|
.include <bsd.port.options.mk>
|
2008-03-10 17:52:15 +00:00
|
|
|
|
2012-10-03 07:45:37 +00:00
|
|
|
.if ${PORT_OPTIONS:MMOTIF}
|
2001-10-15 13:21:23 +00:00
|
|
|
LIB_DEPENDS+= plot:${PORTSDIR}/graphics/plotutils \
|
|
|
|
Xbae:${PORTSDIR}/x11-toolkits/xbae \
|
|
|
|
XmHTML:${PORTSDIR}/x11-toolkits/xmhtml
|
2013-07-10 07:00:44 +00:00
|
|
|
USES+= motif
|
2000-12-02 16:27:23 +00:00
|
|
|
CONFIGURE_ARGS+= --with-motif
|
|
|
|
.else
|
2008-03-10 17:52:15 +00:00
|
|
|
USE_XORG= xt ice sm
|
2000-12-02 16:27:23 +00:00
|
|
|
CONFIGURE_ARGS+= --without-motif
|
|
|
|
.endif
|
|
|
|
|
2012-10-03 07:45:37 +00:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-26 10:44:28 +00:00
|
|
|
USES+= gettext
|
2004-06-07 21:27:03 +00:00
|
|
|
PLIST_SUB= NLS=""
|
2012-10-03 07:45:37 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB= NLS="@comment "
|
2004-02-07 23:29:51 +00:00
|
|
|
.endif
|
|
|
|
|
2002-03-29 17:22:14 +00:00
|
|
|
post-patch:
|
2003-09-04 14:27:56 +00:00
|
|
|
@${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|malloc\.h|stdlib.h|g'
|
2004-06-07 21:27:03 +00:00
|
|
|
.for pof in en fr nl
|
|
|
|
@${REINPLACE_CMD} -e "s|CHARSET|ISO-8859-1|;s|ENCODING|8bit|" \
|
|
|
|
${WRKSRC}/po/${pof}.po
|
|
|
|
.endfor
|
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
@${REINPLACE_CMD} -e "s|am: install-docDATA|am:|" ${WRKSRC}/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e "s|install-info-am install-htmlDATA|install-info-am|" \
|
|
|
|
${WRKSRC}/doc/Makefile.in
|
|
|
|
.endif
|
2003-09-04 14:27:56 +00:00
|
|
|
|
|
|
|
pre-build:
|
|
|
|
.for file in src/io-term.c
|
|
|
|
cd ${WRKSRC} && ${MV} ${file} ${file}.pre_iconv \
|
|
|
|
&& iconv -c -t ascii ${file}.pre_iconv > ${file} || ${TRUE}
|
|
|
|
.endfor
|
2002-03-29 17:22:14 +00:00
|
|
|
|
2012-10-03 07:45:37 +00:00
|
|
|
.include <bsd.port.mk>
|