summaryrefslogtreecommitdiff
path: root/mail/majordomo/scripts/configure
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-01 21:25:59 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-01 21:25:59 +0000
commit8003ba152f15aa82aaadd76fcd6b669cc0cc9981 (patch)
tree7842527232644d8f0fc76639a38e9596a910d381 /mail/majordomo/scripts/configure
parentConvert to USES=libtool and add INSTALL_TARGET=install-strip (diff)
Remove non staged ports without pending PR from ma*
Notes
Notes: svn path=/head/; revision=366959
Diffstat (limited to 'mail/majordomo/scripts/configure')
-rw-r--r--mail/majordomo/scripts/configure29
1 files changed, 0 insertions, 29 deletions
diff --git a/mail/majordomo/scripts/configure b/mail/majordomo/scripts/configure
deleted file mode 100644
index 68dc3d105de9..000000000000
--- a/mail/majordomo/scripts/configure
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/perl
-#
-
-eval '(exit $?0)' && eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
-& eval 'exec /usr/bin/perl -S $0 $argv:q'
-if 0;
-
-if( getpwnam( "majordom" ) ) {
- ( $null, $null, $mjUID ) = getpwnam( "majordom" );
-} else {
- print "\nMajordomo user not found - aborting!\n\n";
- exit 1;
-}
-
-if( getgrnam( "majordom" ) ) {
- ( $null, $null, $mjGID ) = getgrnam( "majordom" );
-} else {
- print "\nMajordomo group not found - aborting!\n\n";
- exit 1;
-}
-
-chop( $hostname = `hostname` );
-
-system( "/usr/bin/perl -pi -e 's|%%MJUID%%|$mjUID|g' $ENV{'WRKSRC'}/Makefile" );
-system( "/usr/bin/perl -pi -e 's|%%MJGID%%|$mjGID|g' $ENV{'WRKSRC'}/Makefile" );
-system( "/usr/bin/perl -pi -e 's|%%HOSTNAME%%|$hostname|g' $ENV{'WRKSRC'}/sample.cf $ENV{'WRKSRC'}/aliases.majordomo" );
-foreach $file( "bounce-remind", "contrib/archive_mh.pl", "archive2.pl", "digest", "contrib/digest.num", "contrib/new-list", "contrib/sequencer", "majordomo", "medit", "request-answer", "resend", "sample.cf" ) {
- system( "/usr/bin/perl -pi -e 's|%%PREFIX%%|$ENV{'PREFIX'}|g' $ENV{'WRKSRC'}/$file" );
-}