openbsd-ports/net/rrdtool/Makefile

52 lines
1.3 KiB
Makefile
Raw Normal View History

2002-12-27 10:26:07 -05:00
# $OpenBSD: Makefile,v 1.20 2002/12/27 15:26:07 danh Exp $
COMMENT= "system to store and display time-series data"
2002-12-27 10:26:07 -05:00
VERSION= 1.0.40
DISTNAME= rrdtool-${VERSION}
CATEGORIES= net
MASTER_SITES= http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/ \
ftp://ftp.sunet.se/pub/network/monitoring/rrdtool/ \
http://ftp.sunet.se/pub/network/monitoring/rrdtool/
HOMEPAGE= http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
2000-09-23 15:59:51 -04:00
MAINTAINER= Dan Harnett <danh@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
SUBST_VARS= VERSION
FLAVORS= tcl
FLAVOR?=
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} --enable-static
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/config ${WRKSRC}/contrib/php4
.if ${FLAVOR:L:Mtcl}
2001-04-06 11:04:13 -04:00
LIB_DEPENDS+= tcl83::lang/tcl/8.3
USE_GMAKE= Yes
CONFIGURE_ARGS+= --with-tcllib="${LOCALBASE}/lib/tcl8.3"
2001-03-18 22:53:25 -05:00
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include/tcl8.3"
.else
CONFIGURE_ARGS+= --without-tcllib
.endif
.if ${FLAVOR:L:Mtcl}
post-install:
cd ${WRKSRC} && ${MAKE} site-tcl-install
.endif
2001-10-08 12:36:57 -04:00
post-patch:
@cd ${WRKSRC}/config; \
${PATCH} --forward --quiet -E < \
${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltconfig && \
${PATCH} --forward --quiet -E < \
${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltmain_sh
.include <bsd.port.mk>