blob: 29dd8fba7c4f8c3c97d8087f7d34acb5f486c45f (
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
|
# $NetBSD: Makefile,v 1.8 2002/10/27 23:57:17 seb Exp $
DISTNAME= g2-0.40
PKGREVISION= 1
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
USE_LIBTOOL= yes
USE_BUILDLINK2= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/G2/.packlist
PERL5_CONFIGURE= NO
PERL5_CONFIGURE_DIRS= ${WRKSRC}/g2_perl
BUILD_DIRS= ${WRKSRC} ${WRKSRC}/g2_perl
post-configure: perl5-configure
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/g2
cd ${WRKSRC} && ${INSTALL_DATA} doc/g2_ref.txt COPYING README \
${PREFIX}/share/doc/g2
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/g2
cd ${WRKSRC}/demo && ${INSTALL_DATA} demo_f.f g2_test.c penguin.c \
simple_PS.c simple_X11.c ${PREFIX}/share/examples/g2
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
|