freebsd-ports/math/oleo/Makefile

58 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: oleo
# Date created: 3 September 1994
# Whom: mr
#
1999-08-25 03:23:21 -04:00
# $FreeBSD$
#
2000-04-14 03:20:58 -04:00
PORTNAME= oleo
PORTVERSION= 1.99.16
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
2003-02-20 14:00:52 -05:00
COMMENT= The GNU spreadsheet for X11 and terminals
2003-05-06 17:37:26 -04:00
BROKEN= "Does not compile"
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
USE_REINPLACE= yes
USE_AUTOCONF_VER=213
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
CONFIGURE_ARGS= --with-x --without-xlt --without-SciPlot
.if defined(WITH_MOTIF)
LIB_DEPENDS+= plot:${PORTSDIR}/graphics/plotutils \
Xbae:${PORTSDIR}/x11-toolkits/xbae \
XmHTML:${PORTSDIR}/x11-toolkits/xmhtml
USE_MOTIF= yes
CONFIGURE_ARGS+= --with-motif
.else
USE_XLIB= yes
CONFIGURE_ARGS+= --without-motif
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile"
.endif
pre-everything::
.if !defined(WITH_MOTIF)
@${ECHO_MSG}
@${ECHO_MSG} "If you want to compile with Motif support,"
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_MOTIF=yes\""
@${ECHO_MSG}
.endif
post-patch:
@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} \
${REINPLACE_CMD} -e "s|<malloc.h>|<stdlib.h>|g"
2003-05-18 06:15:44 -04:00
.include <bsd.port.post.mk>