2004-01-22 09:02:15 +01:00
|
|
|
# $NetBSD: Makefile,v 1.22 2004/01/22 08:02:16 grant Exp $
|
1999-11-17 18:34:38 +01:00
|
|
|
#
|
|
|
|
|
2003-02-17 00:08:55 +01:00
|
|
|
DISTNAME= rrdtool-1.0.40
|
2003-06-23 12:33:52 +02:00
|
|
|
PKGREVISION= 1
|
1999-11-17 18:34:38 +01:00
|
|
|
CATEGORIES= databases graphics net
|
|
|
|
MASTER_SITES= http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/pub/
|
|
|
|
|
|
|
|
MAINTAINER= wulf@ping.net.au
|
2003-06-09 11:38:32 +02:00
|
|
|
HOMEPAGE= http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/
|
2001-02-16 15:17:22 +01:00
|
|
|
COMMENT= Data analysis tool generating graphical representations
|
1999-11-17 18:34:38 +01:00
|
|
|
|
2002-06-15 20:35:13 +02:00
|
|
|
#needs FPC code not found in older versions of NetBSD
|
|
|
|
NOT_FOR_PLATFORM= NetBSD-1.[0-4]*-alpha NetBSD-1.5-alpha \
|
|
|
|
NetBSD-1.5.*-alpha NetBSD-1.5[A-U]-alpha
|
2001-02-23 13:32:47 +01:00
|
|
|
|
2000-08-27 09:10:59 +02:00
|
|
|
USE_LIBTOOL= # defined
|
2003-02-17 00:08:55 +01:00
|
|
|
USE_BUILDLINK2= # defined
|
2002-07-31 19:04:07 +02:00
|
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/config/ltconfig
|
|
|
|
LTCONFIG_OVERRIDE+= ${WRKSRC}/contrib/php4/ltconfig
|
2004-01-22 09:02:15 +01:00
|
|
|
USE_GNU_TOOLS+= make
|
2000-08-27 09:10:59 +02:00
|
|
|
GNU_CONFIGURE= # defined
|
1999-11-17 18:34:38 +01:00
|
|
|
|
|
|
|
CONFIGURE_ARGS= --enable-shared
|
2003-06-19 12:13:54 +02:00
|
|
|
CONFIGURE_ENV= PERL=${PERL5}
|
1999-11-17 18:34:38 +01:00
|
|
|
|
2003-02-17 00:08:55 +01:00
|
|
|
PERL5_CONFIGURE= NO
|
2000-08-27 09:10:59 +02:00
|
|
|
PERL5_PACKLIST+= ${PERL5_SITEARCH}/auto/RRDp/.packlist
|
|
|
|
PERL5_PACKLIST+= ${PERL5_SITEARCH}/auto/RRDs/.packlist
|
|
|
|
|
2003-02-17 00:08:55 +01:00
|
|
|
INSTALL_DIRS= ${WRKSRC} ${WRKSRC}/perl-piped ${WRKSRC}/perl-shared
|
|
|
|
|
|
|
|
MAKE_ENV+= CGILIB_INC=${BUILDLINK_PREFIX.cgilib}/include
|
|
|
|
MAKE_ENV+= CGILIB_LIB=${BUILDLINK_PREFIX.cgilib}/lib
|
|
|
|
MAKE_ENV+= GD_INC=${BUILDLINK_PREFIX.gd}/include
|
|
|
|
MAKE_ENV+= GD_LIB=${BUILDLINK_PREFIX.gd}/lib
|
|
|
|
MAKE_ENV+= JPEG_INC=${BUILDLINK_PREFIX.jpeg}/include
|
|
|
|
MAKE_ENV+= JPEG_LIB=${BUILDLINK_PREFIX.jpeg}/lib
|
|
|
|
MAKE_ENV+= ZLIB_INC=${BUILDLINK_PREFIX.zlib}/include
|
|
|
|
MAKE_ENV+= ZLIB_LIB=${BUILDLINK_PREFIX.zlib}/lib
|
|
|
|
MAKE_ENV+= PNG_INC=${BUILDLINK_PREFIX.png}/include
|
|
|
|
MAKE_ENV+= PNG_LIB=${BUILDLINK_PREFIX.png}/lib
|
|
|
|
MAKE_ENV+= TTF_INC=${BUILDLINK_PREFIX.freetype}/include
|
|
|
|
MAKE_ENV+= TTF_LIB=${BUILDLINK_PREFIX.freetype}/lib
|
|
|
|
|
|
|
|
MAKE_ENV+= _RPATH=${_OPSYS_RPATH_NAME}
|
|
|
|
|
|
|
|
# remove this or else it is installed
|
|
|
|
post-extract:
|
|
|
|
${RM} ${WRKSRC}/perl-shared/ntmake.pl
|
|
|
|
|
2003-06-23 12:33:52 +02:00
|
|
|
.include "../../graphics/freetype-lib/buildlink2.mk"
|
2003-02-17 00:08:55 +01:00
|
|
|
.include "../../graphics/jpeg/buildlink2.mk"
|
|
|
|
.include "../../graphics/gd/buildlink2.mk"
|
|
|
|
.include "../../www/cgilib/buildlink2.mk"
|
|
|
|
.include "../../lang/perl5/module.mk"
|
1999-11-17 18:34:38 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|