Ade Lovett 3f651573ad Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
2004-03-14 06:17:56 +00:00

36 lines
797 B
Makefile

# New ports collection makefile for: plotutils
# Date created: 19 June 1998
# Whom: Chuck Robey (chuckr)
#
# $FreeBSD$
#
PORTNAME= plotutils
PORTVERSION= 2.4.1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A plotting library and toolkit
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_MOTIF= yes
USE_LIBTOOL_VER=13
USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MOTIFLIB="${MOTIFLIB}" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-libplotter --enable-libxmi --with-motif
INSTALLS_SHLIB= yes
MAN1= ode.1 plot.1 plotfont.1 spline.1 tek2plot.1
INFO= libxmi plotutils
pre-patch:
@${REINPLACE_CMD} -e 's|-lXm |\$$\{MOTIFLIB\} |g' ${WRKSRC}/configure
.include <bsd.port.mk>