aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Inline-Tcl/Makefile
blob: 73762935b78f16f542706ea6429132ba38b7c9d9 (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
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$

PORTNAME=   Inline-Tcl
PORTVERSION=    0.09
CATEGORIES= devel perl5 tcl
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Write Perl subroutines in Tcl

BUILD_DEPENDS=  p5-Inline>=0:${PORTSDIR}/devel/p5-Inline
LIB_DEPENDS=    tcl84:${PORTSDIR}/lang/tcl84
RUN_DEPENDS:=   ${BUILD_DEPENDS}

PERL_CONFIGURE= yes
CONFIGURE_ARGS= INC="-I${PREFIX}/include/tcl8.4" \
        LIBS="-L${PREFIX}/lib -R${PREFIX}/lib -ltcl84"

MAN3=       Inline::Tcl.3

post-patch:
    @${REINPLACE_CMD} -i.bak '2,99d' ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>