2000-12-07 12:25:09 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2000/12/07 17:25:09 brad Exp $
|
2000-06-14 01:57:49 -04:00
|
|
|
|
2000-11-19 20:12:41 -05:00
|
|
|
VERSION= 1.0.28
|
2000-09-06 15:17:22 -04:00
|
|
|
DISTNAME= rrdtool-${VERSION}
|
|
|
|
CATEGORIES= net
|
2000-11-19 20:12:41 -05:00
|
|
|
NEED_VERSION= 1.340
|
2000-09-06 15:17:22 -04:00
|
|
|
MASTER_SITES= http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/pub/ \
|
|
|
|
ftp://ftp.sunet.se/pub/network/monitoring/rrdtool/ \
|
|
|
|
http://ftp.sunet.se/pub/network/monitoring/rrdtool/
|
2000-06-14 01:57:49 -04:00
|
|
|
|
2000-09-06 15:17:22 -04:00
|
|
|
HOMEPAGE= http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/
|
|
|
|
|
2000-09-23 15:59:51 -04:00
|
|
|
MAINTAINER= Dan Harnett <danh@openbsd.org>
|
2000-06-14 01:57:49 -04:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2000-09-06 15:17:22 -04:00
|
|
|
SUBST_VARS= VERSION
|
2000-06-14 01:57:49 -04:00
|
|
|
|
2000-09-06 15:17:22 -04:00
|
|
|
FLAVORS= tcl
|
2000-06-15 06:39:42 -04:00
|
|
|
FLAVOR?=
|
|
|
|
|
2000-09-06 15:17:22 -04:00
|
|
|
LIB_DEPENDS+= gd.18::graphics/gd
|
|
|
|
.if ${FLAVOR:L:Mtcl}
|
|
|
|
LIB_DEPENDS+= tcl83::lang/tcl/8.3
|
2000-06-15 06:39:42 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mtcl}
|
2000-09-06 15:17:22 -04:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
.endif
|
2000-06-19 05:11:27 -04:00
|
|
|
|
2000-09-06 15:17:22 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2000-12-07 12:25:09 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ARGS+= --enable-static
|
|
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
CPPFLAGS="-I${LOCALBASE}/include"
|
2000-06-19 05:11:27 -04:00
|
|
|
|
2000-09-06 15:17:22 -04:00
|
|
|
.if ${FLAVOR:L:Mtcl}
|
2000-12-07 12:25:09 -05:00
|
|
|
CONFIGURE_ARGS+= --with-tcllib="${LOCALBASE}/lib/tcl8.3"
|
|
|
|
CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include/tcl8.3"
|
2000-06-15 06:39:42 -04:00
|
|
|
.else
|
2000-09-06 15:17:22 -04:00
|
|
|
CONFIGURE_ARGS+= --without-tcllib
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mtcl}
|
|
|
|
post-install:
|
|
|
|
cd ${WRKSRC} && ${MAKE} site-tcl-install
|
2000-06-15 06:39:42 -04:00
|
|
|
.endif
|
|
|
|
|
2000-06-14 01:57:49 -04:00
|
|
|
.include <bsd.port.mk>
|