aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/p5-GtkGLArea/Makefile
blob: cab659f90921c0eafa463067113ef23e6367b9f7 (plain) (blame)
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
# New ports collection makefile for:    p5-GtkGLArea
# Date created:             30 Oct 2000
# Whom:                 vanilla
#
# $FreeBSD$
#

PORTNAME=   GtkGLArea
PORTVERSION=    0.7004
CATEGORIES= x11-toolkits lang perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Gtk
PKGNAMEPREFIX=  p5-
DISTNAME=   Gtk-Perl-${PORTVERSION}

MAINTAINER= vanilla@FreeBSD.org

BUILD_DEPENDS=  ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
LIB_DEPENDS=    gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea

BROKEN=     "It need p5-OpenGL, I will commit p5-OpenGl soon!"

USE_PERL5=  yes
USE_MESA=   yes
USE_GTK=    yes
WRKSRC=     ${WRKDIR}/${DISTNAME}/${PORTNAME}

do-configure:
    @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
    CC="${CC}" CCFLAGS="${CFLAGS} -L${LOCALBASE}/lib"

.include <bsd.port.mk>