[Lunar-commits] r19424 - moonbase/trunk/mail/pop-before-smtp

Auke Kok sofar at lunar-linux.org
Fri Mar 24 15:53:22 UTC 2006


Author: sofar
Date: 2006-03-24 15:53:21 +0000 (Fri, 24 Mar 2006)
New Revision: 19424

Removed:
   moonbase/trunk/mail/pop-before-smtp/POST_INSTALL
Modified:
   moonbase/trunk/mail/pop-before-smtp/BUILD
Log:
cleanup.


Modified: moonbase/trunk/mail/pop-before-smtp/BUILD
===================================================================
--- moonbase/trunk/mail/pop-before-smtp/BUILD	2006-03-24 05:59:10 UTC (rev 19423)
+++ moonbase/trunk/mail/pop-before-smtp/BUILD	2006-03-24 15:53:21 UTC (rev 19424)
@@ -1,15 +1,18 @@
 (
 
-  mkdir -p /{etc/init.d,usr/{sbin,share/man/man8,share/doc/$MODULE-$VERSION,share/doc/$MODULE-$VERSION/contrib}}           &&
-  prepare_install                                                                        &&
-  cp pop-before-smtp    /usr/sbin                                                        &&
-  pod2man pop-before-smtp >/usr/share/man/man8/pop-before-smtp.8 2>/dev/null             &&
-  perl -i -e 'undef $/; $_ = <>; s/\n=head1.*\n=cut//s; print' /usr/sbin/pop-before-smtp &&
-  cp pop-before-smtp-conf.pl /etc                                                        &&
-  cp pop-before-smtp.init /etc/init.d/pop-before-smtp                                    &&
-  chmod 0755 /etc/init.d/pop-before-smtp /usr/sbin/pop-before-smtp                       &&
-  chmod 0644 /etc/pop-before-smtp-conf.pl                                                &&
-  cp README TODO ChangeLog pop-before-smtp-conf.pl /usr/share/doc/$MODULE-$VERSION       &&
-  cp contrib/README* contrib/getfromcpan contrib/perlmod2rpm /usr/share/doc/$MODULE-$VERSION/contrib
+	perl -i -e 'undef $/; $_ = <>; s/\n=head1.*\n=cut//s; print' pop-before-smtp &&
+	pod2man pop-before-smtp > /usr/share/man/man8/pop-before-smtp.8 2>/dev/null &&
 
+	prepare_install &&
+  
+  	mkdir -p /usr/share/man/man8/ &&
+	install -m0755 pop-before-smtp /usr/sbin/ &&
+	install -m0755 pop-before-smtp.init /etc/init.d/pop-before-smtp &&
+	install -mo644 pop-before-smtp.8 /usr/share/man/man8/ &&
+  
+	if [ ! -e /etc/pop-before-smtp-conf.pl ]; then
+  		install -m0644 pop-before-smtp-conf.pl /etc/                                                        &&
+	fi &&
+	gather_cods contrib/README* contrib/getfromcpan contrib/perlmod2rpm
+
 ) > $C_FIFO 2>&1

Deleted: moonbase/trunk/mail/pop-before-smtp/POST_INSTALL



More information about the Lunar-commits mailing list