1995-03-24 06:12:06 -05:00
|
|
|
# New ports collection makefile for: oleo
|
1995-04-10 21:19:12 -04:00
|
|
|
# Date created: 3 September 1994
|
1994-10-11 14:17:01 -04:00
|
|
|
# Whom: mr
|
|
|
|
#
|
1999-08-25 03:23:21 -04:00
|
|
|
# $FreeBSD$
|
1994-10-11 14:17:01 -04:00
|
|
|
#
|
|
|
|
|
2000-04-14 03:20:58 -04:00
|
|
|
PORTNAME= oleo
|
2001-03-20 08:03:54 -05:00
|
|
|
PORTVERSION= 1.99.16
|
1996-11-18 05:25:35 -05:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
2000-08-01 20:05:11 -04:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1995-04-10 21:19:12 -04:00
|
|
|
|
1999-08-31 02:53:31 -04:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1997-10-31 08:43:28 -05:00
|
|
|
|
2002-03-15 14:44:29 -05:00
|
|
|
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext-old
|
1994-10-11 14:17:01 -04:00
|
|
|
|
2001-03-20 08:03:54 -05:00
|
|
|
USE_BISON= yes
|
2002-01-06 01:20:22 -05:00
|
|
|
USE_AUTOCONF_VER=213
|
1999-09-20 01:50:21 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
2001-03-20 08:03:54 -05:00
|
|
|
CONFIGURE_ARGS= --with-x --without-xlt --without-SciPlot
|
1997-10-31 08:43:28 -05:00
|
|
|
|
2000-12-02 11:27:23 -05:00
|
|
|
.if defined(WITH_MOTIF)
|
2001-10-15 09:21:23 -04:00
|
|
|
LIB_DEPENDS+= plot:${PORTSDIR}/graphics/plotutils \
|
|
|
|
Xbae:${PORTSDIR}/x11-toolkits/xbae \
|
|
|
|
XmHTML:${PORTSDIR}/x11-toolkits/xmhtml
|
2000-12-02 11:27:23 -05:00
|
|
|
USE_MOTIF= yes
|
|
|
|
CONFIGURE_ARGS+= --with-motif
|
|
|
|
.else
|
2001-03-20 08:03:54 -05:00
|
|
|
USE_XLIB= yes
|
2000-12-02 11:27:23 -05:00
|
|
|
CONFIGURE_ARGS+= --without-motif
|
|
|
|
.endif
|
|
|
|
|
2001-12-31 05:20:19 -05:00
|
|
|
pre-everything::
|
2001-03-20 08:03:54 -05:00
|
|
|
.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
|
|
|
|
|
2002-03-29 12:22:14 -05:00
|
|
|
post-patch:
|
|
|
|
@find ${WRKSRC} -name '*.[ch]' | xargs \
|
|
|
|
${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g"
|
|
|
|
|
1994-10-11 14:17:01 -04:00
|
|
|
.include <bsd.port.mk>
|