mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
38 lines
868 B
Makefile
38 lines
868 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_AUTOTOOLS= libtool:15
|
|
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 ; \
|
|
s|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
|
|
${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|