summaryrefslogtreecommitdiffstats
path: root/graphics/ruby-gdchart/Makefile
blob: ec58fd69520d22e6c03611afc148fdcd9c285a78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:	Ruby/GDChart
# Date created:		16 July 2001
# Whom:			Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$

PORTNAME=	gdchart
PORTVERSION=	0.0.1
PORTREVISION=	1
CATEGORIES=	graphics ruby
MASTER_SITES=	http://www.aragorn.demon.nl/lib/
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
DISTNAME=	ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR=	ruby

MAINTAINER=	knu@FreeBSD.org

BUILD_DEPENDS=	${LOCALBASE}/lib/libgdchart.a:${PORTSDIR}/graphics/gdchart

USE_RUBY=	yes
USE_RUBY_EXTCONF=	yes

CONFIGURE_ARGS=	--with-gd-include="${LOCALBASE}/include/gd"
INSTALL_TARGET=	site-install

pre-configure:
	${CP} ${FILESDIR}/extconf.rb ${WRKSRC}/

post-install:
	${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/README.en ${RUBY_DOCDIR}/${PORTNAME}/

.include <bsd.port.mk>
OpenPOWER on IntegriCloud