aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/p5-GtkGLArea/Makefile
blob: 84ee2e1204ad82702c83177dda7d8b49e2815980 (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
# 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

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

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>