2012-10-03 09:45:37 +02:00
|
|
|
# Created by: mr
|
1999-08-25 09:23:21 +02:00
|
|
|
# $FreeBSD$
|
1994-10-11 19:17:01 +01:00
|
|
|
|
2000-04-14 09:20:58 +02:00
|
|
|
PORTNAME= oleo
|
2001-03-20 14:03:54 +01:00
|
|
|
PORTVERSION= 1.99.16
|
2014-05-10 23:17:45 +02:00
|
|
|
PORTREVISION= 8
|
1996-11-18 11:25:35 +01:00
|
|
|
CATEGORIES= math
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= GNU
|
1995-04-11 03:19:12 +02:00
|
|
|
|
2014-12-10 23:29:14 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= The GNU spreadsheet for X11 and terminals
|
1997-10-31 14:43:28 +01:00
|
|
|
|
2014-02-14 10:40:28 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-09-16 18:45:35 +02:00
|
|
|
USES= bison perl5
|
2014-09-24 21:35:57 +02:00
|
|
|
USE_PERL5= build
|
|
|
|
GNU_CONFIGURE= yes
|
2001-03-20 14:03:54 +01:00
|
|
|
CONFIGURE_ARGS= --with-x --without-xlt --without-SciPlot
|
2014-09-24 21:35:57 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LIBS+= -L${LOCALBASE}/lib -lintl
|
|
|
|
MAKE_ENV+= DESTDIR=${STAGEDIR}
|
1997-10-31 14:43:28 +01:00
|
|
|
|
2004-06-07 23:27:03 +02:00
|
|
|
INFO= oleo
|
|
|
|
|
2012-10-03 09:45:37 +02:00
|
|
|
OPTIONS_DEFINE= MOTIF NLS
|
2004-08-21 01:12:23 +02:00
|
|
|
|
2012-10-03 09:45:37 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2008-03-10 18:52:15 +01:00
|
|
|
|
2012-10-03 09:45:37 +02:00
|
|
|
.if ${PORT_OPTIONS:MMOTIF}
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS+= libplot.so:graphics/plotutils \
|
|
|
|
libXbae.so:x11-toolkits/xbae \
|
|
|
|
libXmHTML.so:x11-toolkits/xmhtml
|
2013-07-10 09:00:44 +02:00
|
|
|
USES+= motif
|
2000-12-02 17:27:23 +01:00
|
|
|
CONFIGURE_ARGS+= --with-motif
|
|
|
|
.else
|
2008-03-10 18:52:15 +01:00
|
|
|
USE_XORG= xt ice sm
|
2000-12-02 17:27:23 +01:00
|
|
|
CONFIGURE_ARGS+= --without-motif
|
|
|
|
.endif
|
|
|
|
|
2012-10-03 09:45:37 +02:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-26 12:44:28 +02:00
|
|
|
USES+= gettext
|
2004-06-07 23:27:03 +02:00
|
|
|
PLIST_SUB= NLS=""
|
2012-10-03 09:45:37 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB= NLS="@comment "
|
2004-02-08 00:29:51 +01:00
|
|
|
.endif
|
|
|
|
|
2002-03-29 18:22:14 +01:00
|
|
|
post-patch:
|
2003-09-04 16:27:56 +02:00
|
|
|
@${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|malloc\.h|stdlib.h|g'
|
2014-02-14 10:40:28 +01:00
|
|
|
@${REINPLACE_CMD} -e '/^DESTDIR/s|=|?=|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
2004-06-07 23:27:03 +02:00
|
|
|
.for pof in en fr nl
|
|
|
|
@${REINPLACE_CMD} -e "s|CHARSET|ISO-8859-1|;s|ENCODING|8bit|" \
|
|
|
|
${WRKSRC}/po/${pof}.po
|
|
|
|
.endfor
|
|
|
|
@${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
|
2002-03-29 18:22:14 +01:00
|
|
|
|
2012-10-03 09:45:37 +02:00
|
|
|
.include <bsd.port.mk>
|