summaryrefslogtreecommitdiff
path: root/graphics/g2/Makefile
blob: b0ee5b23d493f98274ef1eb55b8ed186ef158ee3 (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
# $NetBSD: Makefile,v 1.4 2001/04/14 21:43:43 jtb Exp $

DISTNAME=		g2-0.40
CATEGORIES=		graphics
MASTER_SITES=		ftp://g2.sourceforge.net/pub/g2/

MAINTAINER=		packages@netbsd.org
HOMEPAGE=		http://g2.sourceforge.net/
COMMENT=		Powerful, easy to use 2D graphics library

GNU_CONFIGURE=		yes
USE_X11=		yes
ALL_TARGET=		depend all

USE_PERL5=		#defined
PERL5_PACKLIST=		${PERL5_SITEARCH}/auto/G2/.packlist

post-configure:
	cd ${WRKSRC}/g2_perl; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL

post-build:
	cd ${WRKSRC}/g2_perl && ${MAKE}

post-install:
	cd ${WRKSRC}/g2_perl && ${MAKE} install

.include "../../mk/bsd.pkg.mk"