1995-03-24 12:12:06 +01:00
|
|
|
# New ports collection makefile for: oleo
|
1995-04-11 03:19:12 +02:00
|
|
|
# Date created: 3 September 1994
|
1994-10-11 19:17:01 +01:00
|
|
|
# Whom: 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
|
1996-11-18 11:25:35 +01:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
2000-08-02 02:05:11 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1995-04-11 03:19:12 +02:00
|
|
|
|
1999-08-31 08:53:31 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1997-10-31 14:43:28 +01:00
|
|
|
|
2000-08-02 02:05:11 +02:00
|
|
|
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
|
1994-10-11 19:17:01 +01:00
|
|
|
|
2001-03-20 14:03:54 +01:00
|
|
|
USE_BISON= yes
|
2000-08-02 02:05:11 +02:00
|
|
|
USE_AUTOCONF= yes
|
1999-09-20 07:50:21 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
2001-03-20 14:03:54 +01:00
|
|
|
CONFIGURE_ARGS= --with-x --without-xlt --without-SciPlot
|
1997-10-31 14:43:28 +01:00
|
|
|
|
2000-12-02 17:27:23 +01:00
|
|
|
.if defined(WITH_MOTIF)
|
2001-03-20 14:03:54 +01:00
|
|
|
LIB_DEPENDS+= plot.3:${PORTSDIR}/graphics/plotutils \
|
|
|
|
Xbae.8:${PORTSDIR}/x11-toolkits/xbae \
|
|
|
|
XmHTML.1:${PORTSDIR}/x11-toolkits/xmhtml
|
2000-12-02 17:27:23 +01:00
|
|
|
USE_MOTIF= yes
|
|
|
|
CONFIGURE_ARGS+= --with-motif
|
|
|
|
.else
|
2001-03-20 14:03:54 +01:00
|
|
|
USE_XLIB= yes
|
2000-12-02 17:27:23 +01:00
|
|
|
CONFIGURE_ARGS+= --without-motif
|
|
|
|
.endif
|
|
|
|
|
2001-03-20 14:03:54 +01:00
|
|
|
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
|
|
|
|
|
1994-10-11 19:17:01 +01:00
|
|
|
.include <bsd.port.mk>
|