aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Inline-Tcl/Makefile
blob: 8bd77fac8a6a65e56c0a479ae0e65c054241f237 (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
# New ports collection makefile for:    Inline::Tcl
# Date created:     14 Dec 2001
# Whom:         Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#

PORTNAME=   Inline-Tcl
PORTVERSION=    0.09
CATEGORIES= devel perl5 tcl84
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Inline
PKGNAMEPREFIX=  p5-

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

BUILD_DEPENDS=  ${SITE_PERL}/Inline.pm:${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:
    @${PERL} -pi -e '$$_="" if $$.>1 && $$.<100' ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>