mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
f3171de7e6
- USE_AUTO* -> USE_AUTO*_VER=* where required - USE_AUTO* / *_DEPENDS=.*auto*:*/devel/auto* -> GNU_CONFIGURE where OK - Other minor changes to fix things These changes should be no-ops with the current bsd.port.mk, but will assist in preparing for the next generation of USE_AUTO*. Submitted by: bento 4-exp USE_AUTO* cleanups http://people.FreeBSD.org/~will/4-exp/ http://bento.FreeBSD.org/errorlogs/4-exp-latest/
44 lines
1005 B
Makefile
44 lines
1005 B
Makefile
# New ports collection makefile for: oleo
|
|
# Date created: 3 September 1994
|
|
# Whom: mr
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= oleo
|
|
PORTVERSION= 1.99.16
|
|
CATEGORIES= math
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
|
|
|
|
USE_BISON= 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
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|