aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2014-03-22 19:53:56 +0800
committeraz <az@FreeBSD.org>2014-03-22 19:53:56 +0800
commit8352dfa84495fc2b9343f7a5016ba204eed2b794 (patch)
treed58574ecc9c3a4dd54c3287a0caff69942906b98
parent41d1b4dd3493d6e13069fd8573f2e9321f00da4d (diff)
downloadfreebsd-ports-gnome-8352dfa84495fc2b9343f7a5016ba204eed2b794.tar.gz
freebsd-ports-gnome-8352dfa84495fc2b9343f7a5016ba204eed2b794.tar.zst
freebsd-ports-gnome-8352dfa84495fc2b9343f7a5016ba204eed2b794.zip
- resolve install conflict with devel/p5-ReadLine-Perl-TTYtter
- bump portrevision
-rw-r--r--devel/p5-ReadLine-Perl/Makefile7
-rw-r--r--devel/p5-ReadLine-Perl/pkg-plist1
2 files changed, 6 insertions, 2 deletions
diff --git a/devel/p5-ReadLine-Perl/Makefile b/devel/p5-ReadLine-Perl/Makefile
index 4e87df506dd1..aab273c036d0 100644
--- a/devel/p5-ReadLine-Perl/Makefile
+++ b/devel/p5-ReadLine-Perl/Makefile
@@ -3,7 +3,7 @@
PORTNAME= ReadLine-Perl
PORTVERSION= 1.0303
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= Term
@@ -16,4 +16,9 @@ COMMENT= Perl 5 module for Term::ReadLine editing without GNU readline
USES= perl5
USE_PERL5= configure
+post-install:
+ # this port and devel/p5-ReadLine-Perl-TTYtter both install same file
+ # teach this port don't install this file and resolve conflict
+ ${RM} ${STAGEDIR}/${SITE_PERL}/${PERL_ARCH}/auto/Term/ReadLine/.packlist
+
.include <bsd.port.mk>
diff --git a/devel/p5-ReadLine-Perl/pkg-plist b/devel/p5-ReadLine-Perl/pkg-plist
index 9eafba40c70f..b600c701be59 100644
--- a/devel/p5-ReadLine-Perl/pkg-plist
+++ b/devel/p5-ReadLine-Perl/pkg-plist
@@ -1,6 +1,5 @@
%%SITE_PERL%%/Term/ReadLine/Perl.pm
%%SITE_PERL%%/Term/ReadLine/readline.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Term/ReadLine/.packlist
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Term/ReadLine
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Term
@dirrmtry %%SITE_PERL%%/Term/ReadLine