aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-Mail-Folder
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2004-05-31 17:23:00 +0800
committermat <mat@FreeBSD.org>2004-05-31 17:23:00 +0800
commit807d59f9cc41caf0de955e4ccbbb2d5aea90af42 (patch)
tree6c3c57c8a11a6c4efcd75ae30a149943288d4a2b /mail/p5-Mail-Folder
parentf4eb5f0a688f1b0775c75d8eebf5864f7a80cf9f (diff)
downloadfreebsd-ports-gnome-807d59f9cc41caf0de955e4ccbbb2d5aea90af42.tar.gz
freebsd-ports-gnome-807d59f9cc41caf0de955e4ccbbb2d5aea90af42.tar.zst
freebsd-ports-gnome-807d59f9cc41caf0de955e4ccbbb2d5aea90af42.zip
Put the .packlist somewhere it won't clash with other ports
Diffstat (limited to 'mail/p5-Mail-Folder')
-rw-r--r--mail/p5-Mail-Folder/Makefile4
-rw-r--r--mail/p5-Mail-Folder/pkg-plist3
2 files changed, 7 insertions, 0 deletions
diff --git a/mail/p5-Mail-Folder/Makefile b/mail/p5-Mail-Folder/Makefile
index 82ffc2775bf1..a99a62983ae4 100644
--- a/mail/p5-Mail-Folder/Makefile
+++ b/mail/p5-Mail-Folder/Makefile
@@ -27,4 +27,8 @@ PERL_CONFIGURE= YES
MAN3= Mail::Folder.3 Mail::Folder::Emaul.3 Mail::Folder::Mbox.3 \
Mail::Folder::NNTP.3 Mail::Folder::Maildir.3
+post-configure:
+ @${PERL} -pi -e 's/^FULLEXT.*/FULLEXT=Mail\/Folder/' \
+ ${WRKSRC}/Makefile
+
.include <bsd.port.mk>
diff --git a/mail/p5-Mail-Folder/pkg-plist b/mail/p5-Mail-Folder/pkg-plist
index b82b861a8b32..de212414bc59 100644
--- a/mail/p5-Mail-Folder/pkg-plist
+++ b/mail/p5-Mail-Folder/pkg-plist
@@ -3,5 +3,8 @@
%%SITE_PERL%%/Mail/Folder/Maildir.pm
%%SITE_PERL%%/Mail/Folder/Mbox.pm
%%SITE_PERL%%/Mail/Folder/NNTP.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/Folder/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/Folder
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail 2>/dev/null || true
@dirrm %%SITE_PERL%%/Mail/Folder
@unexec rmdir %D/%%SITE_PERL%%/Mail 2>/dev/null || true