head	1.4;
access;
symbols
	RELEASE_8_3_0:1.3
	RELEASE_9_0_0:1.3
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.3
	RELEASE_8_1_0:1.3
	RELEASE_7_3_0:1.3
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.3
	RELEASE_7_1_0:1.3
	RELEASE_6_4_0:1.3
	RELEASE_5_EOL:1.3
	RELEASE_7_0_0:1.3
	RELEASE_6_3_0:1.3
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.2
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2
	RELEASE_4_9_0:1.2
	RELEASE_5_1_0:1.2;
locks; strict;
comment	@# @;


1.4
date	2012.11.02.16.01.37;	author pawel;	state dead;
branches;
next	1.3;

1.3
date	2007.08.10.07.40.21;	author beech;	state Exp;
branches;
next	1.2;

1.2
date	2003.05.05.10.28.32;	author sumikawa;	state Exp;
branches;
next	1.1;

1.1
date	2003.04.19.21.37.11;	author sumikawa;	state Exp;
branches;
next	;


desc
@@


1.4
log
@SVN rev 306866 on 2012-11-02 16:01:37Z by pawel

- Update MASTER_SITES and WWW: line
- Add LICENSE
- Switch to PLIST_FILES

PR:		ports/172250
Submitted by:	KATO Tsuguru <tkato432@@yahoo.com>
Feature safe:	yes
@
text
@--- configure.orig	2003-05-05 14:25:10.000000000 -0800
+++ configure	2007-07-16 13:41:43.000000000 -0800
@@@@ -5,50 +5,59 @@@@
 #
 
 VERSION=0.5
-DESTDIR='/usr/local'
+DESTDIR=${PREFIX}
 SHAREDIR="$DESTDIR/share"
 BINDIR="$DESTDIR/bin"
 MANDIR="$DESTDIR/man/man1"
 
-echo "Installing smtpscan..."
-echo " Using directory $DESTDIR"
+#echo "Installing smtpscan..."
+#echo " Using directory $DESTDIR"
 
-echo -n " Checking for Net::DNS ... "
-perl -MNet::DNS -e '' >/dev/null 2>&1
-if [ $? != 0 ] 
-then
-  echo ""
-  echo ""
-  echo "   !!! ERROR !!!"
-  echo "   Net::DNS not found"
-  echo "   You are strongly adviced to install it !"
-
-  echo "   Net::DNS is included in the smtpscan distribution"
-  echo "   To install it, just make :"
-  echo "     # tar zxvf Net-DNS-0.29.tar.gz"
-  echo "     # cd Net-DNS-0.29"
-  echo "     # perl Makefile.PL"
-  echo "     # make"
-  echo "     # make install"
-  exit
-fi
+#echo -n " Checking for Net::DNS ... "
+#perl -MNet::DNS -e '' >/dev/null 2>&1
+#if [ $? != 0 ] 
+#then
+#  echo ""
+#  echo ""
+#  echo "   !!! ERROR !!!"
+#  echo "   Net::DNS not found"
+#  echo "   You are strongly adviced to install it !"
+#
+#  echo "   Net::DNS is included in the smtpscan distribution"
+#  echo "   To install it, just make :"
+#  echo "     # tar zxvf Net-DNS-0.29.tar.gz"
+#  echo "     # cd Net-DNS-0.29"
+#  echo "     # perl Makefile.PL"
+#  echo "     # make"
+#  echo "     # make install"
+#  exit
+#fi
 
-echo "Ok"
+#echo "Ok"
 
+if [ "$1" = "install" ]
+then
 install -m 755 -d "$SHAREDIR/smtpscan"
 install -m 755 -d "$BINDIR"
 install -m 755 -d "$MANDIR"
 
 install -m 444 ./src/fingerprints "$SHAREDIR/smtpscan/fingerprints"
 install -m 444 ./src/tests "$SHAREDIR/smtpscan/tests"
+fi
 
+if [ "$1" = "build" ]
+then
 perl -i -pe "s{(\\\$LOCAL_SHARE\s+=\s+)'/usr/local/share';}{\$1'$SHAREDIR';};" ./src/smtpscan
 perl -i -pe "s{\\@@prefix\\@@}{$SHAREDIR};" ./docs/man/smtpscan.1
 perl -i -pe "s{\\@@VERSION\\@@}{$VERSION};" ./src/smtpscan
 perl -i -pe "s{\\@@VERSION\\@@}{$VERSION};" ./INSTALL
 perl -i -pe "s{\\@@VERSION\\@@}{$VERSION};" ./docs/man/smtpscan.1
+fi
 
+if [ "$1" = "install" ]
+then
 install -m 755 ./src/smtpscan "$BINDIR/smtpscan"
 install -m 644 ./docs/man/smtpscan.1 "$DESTDIR/man/man1"
+fi
 
-echo "Installation Ok"
+#echo "Installation Ok"
@


1.3
log
@- Make fetchable
- Remove 4.x cruft

PR:		ports/114581
Submitted by:	Hubert Tournier <hubert@@frbsd.org>
Approved by:	sat (mentor)
@
text
@@


1.2
log
@Upgrade to 4.0
@
text
@d1 9
a9 3
--- configure.orig     Sun May  4 23:36:44 2003
+++ configure  Sun May  4 23:40:21 2003
@@@@ -10,45 +10,54 @@@@
@


1.1
log
@Add smtpscan 0.3.1, a remote SMTP server version detector.

PR:		46221
Submitted by:	Hubert Tournier <hubert@@frbsd.org>
@
text
@d1 3
a3 3
--- configure.orig	Sun Dec  1 19:13:29 2002
+++ configure	Sun Dec  1 19:17:43 2002
@@@@ -9,42 +9,51 @@@@
d67 4
a70 1
 perl -i -pe "s{\\@@prefix\\@@}{$DESTDIR};" ./docs/man/smtpscan.1
@

