b0407f0e4e
- added dependencies on devel/libtool, graphics/gd
53 lines
1.1 KiB
Makefile
53 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.7 2000/09/06 19:19:10 danh Exp $
|
|
|
|
VERSION= 1.0.25
|
|
DISTNAME= rrdtool-${VERSION}
|
|
CATEGORIES= net
|
|
NEED_VERSION= 1.319
|
|
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/
|
|
|
|
HOMEPAGE= http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/
|
|
|
|
MAINTAINER= 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?=
|
|
|
|
LIB_DEPENDS+= gd.18::graphics/gd
|
|
.if ${FLAVOR:L:Mtcl}
|
|
LIB_DEPENDS+= tcl83::lang/tcl/8.3
|
|
.endif
|
|
|
|
USE_LIBTOOL= Yes
|
|
.if ${FLAVOR:L:Mtcl}
|
|
USE_GMAKE= Yes
|
|
.endif
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ENV= LDFLAGS='-L${LOCALBASE}/lib' \
|
|
CPPFLAGS='-I${LOCALBASE}/include'
|
|
|
|
.if ${FLAVOR:L:Mtcl}
|
|
CONFIGURE_ARGS+= --with-tcllib='${LOCALBASE}/lib/tcl8.3'
|
|
CONFIGURE_ENV+= 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
|
|
|
|
.include <bsd.port.mk>
|