aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/p5-Tcl-Tk/Makefile
blob: c0590bf50b1b02fa4e4fd8c9a5ce5238ebafb02a (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-Tcl-Tk
# Date created:             June 15th 1997
# Whom:                     James FitzGibbon <jfitz@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   TclTk
PORTVERSION=    b2
CATEGORIES= x11-toolkits lang perl5 tk82
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Tcl
PKGNAMEPREFIX=  p5-

MAINTAINER= jfitz@FreeBSD.org

BUILD_DEPENDS=  ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/i386-freebsd/Tcl.pm:${PORTSDIR}/lang/p5-Tcl
LIB_DEPENDS=    tk82.1:${PORTSDIR}/x11-toolkits/tk82

USE_PERL5=  yes
WRKSRC=     ${WRKDIR}/${PORTNAME}

MANPREFIX=  ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3=       Tcl::Tk.3

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

.include <bsd.port.mk>