summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/p5-Inline-Tcl/Makefile15
-rw-r--r--devel/p5-Inline-Tcl/pkg-descr4
-rw-r--r--devel/p5-Inline-Tcl/pkg-plist16
3 files changed, 19 insertions, 16 deletions
diff --git a/devel/p5-Inline-Tcl/Makefile b/devel/p5-Inline-Tcl/Makefile
index d1265d634a9a..8bd77fac8a6a 100644
--- a/devel/p5-Inline-Tcl/Makefile
+++ b/devel/p5-Inline-Tcl/Makefile
@@ -7,22 +7,25 @@
PORTNAME= Inline-Tcl
PORTVERSION= 0.09
-CATEGORIES= devel perl5 tcl83
+CATEGORIES= devel perl5 tcl84
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Inline
PKGNAMEPREFIX= p5-
-MAINTAINER= skv@protey.ru
+MAINTAINER= skv@FreeBSD.org
COMMENT= Write Perl subroutines in Tcl
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Inline.pm:${PORTSDIR}/devel/p5-Inline
-LIB_DEPENDS= tcl83:${PORTSDIR}/lang/tcl83
+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= </dev/null
+CONFIGURE_ARGS= INC="-I${PREFIX}/include/tcl8.4" \
+ LIBS="-L${PREFIX}/lib -R${PREFIX}/lib -ltcl84"
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Inline::Tcl.3
+post-patch:
+ @${PERL} -pi -e '$$_="" if $$.>1 && $$.<100' ${WRKSRC}/Makefile.PL
+
.include <bsd.port.mk>
diff --git a/devel/p5-Inline-Tcl/pkg-descr b/devel/p5-Inline-Tcl/pkg-descr
index f2086067030b..5c1c884fefad 100644
--- a/devel/p5-Inline-Tcl/pkg-descr
+++ b/devel/p5-Inline-Tcl/pkg-descr
@@ -8,7 +8,7 @@ The process of interrogating the Tcl interpreter for globals only occurs
the first time you run your Tcl code. The namespace is cached, and
subsequent calls use the cached version.
-WWW: http://search.cpan.org/search?dist=Inline-Tcl
+WWW: http://search.cpan.org/dist/Inline-Tcl/
-- Sergey Skvortsov
-skv@protey.ru
+skv@FreeBSD.org
diff --git a/devel/p5-Inline-Tcl/pkg-plist b/devel/p5-Inline-Tcl/pkg-plist
index 6254e885b5f3..74e41c6de495 100644
--- a/devel/p5-Inline-Tcl/pkg-plist
+++ b/devel/p5-Inline-Tcl/pkg-plist
@@ -1,8 +1,8 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Inline/Tcl/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Inline/Tcl.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Inline/Tcl.pod
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Inline/Tcl/Tcl.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Inline/Tcl/Tcl.so
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Inline/Tcl
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Inline 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Inline 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Inline/Tcl/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/Inline/Tcl.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Inline/Tcl.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Inline/Tcl/Tcl.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Inline/Tcl/Tcl.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Inline/Tcl
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Inline 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Inline 2>/dev/null || true