18 lines
522 B
Makefile
18 lines
522 B
Makefile
# $NetBSD: Makefile,v 1.25 2018/04/16 14:34:18 wiz Exp $
|
|
|
|
PKGREVISION= 2
|
|
.include "../../databases/rrdtool/Makefile.common"
|
|
|
|
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
|
|
|
|
USE_RUBY_EXTCONF= yes
|
|
EXTRACT_ELEMENTS= ${DISTNAME}/bindings/ruby ${DISTNAME}/src
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/bindings/ruby
|
|
MAKE_ENV+= ABS_TOP_BUILDDIR=${WRKDIR}/${DISTNAME}
|
|
|
|
pre-configure:
|
|
rm ${WRKDIR}/${DISTNAME}/src/rrd_config.h
|
|
|
|
.include "../../databases/rrdtool/buildlink3.mk"
|
|
.include "../../lang/ruby/modules.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|