head	1.3;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1;
locks; strict;
comment	@# @;


1.3
date	2012.11.02.13.23.08;	author crees;	state Exp;
branches;
next	1.2;

1.2
date	2012.11.02.13.11.56;	author ak;	state dead;
branches;
next	1.1;

1.1
date	2009.03.06.00.55.59;	author lioux;	state Exp;
branches;
next	;


desc
@@


1.3
log
@SVN rev 306850 on 2012-11-02 13:23:08Z by crees

Resurrect security/cfv and remove optional dependency on
security/py-fchksum; the port works just fine without it.
Feature safe:	yes
@
text
@--- Makefile.orig	2009-03-05 21:47:26.000000000 -0300
+++ Makefile	2009-03-05 21:51:11.000000000 -0300
@@@@ -37,7 +37,7 @@@@
 #this will create a wrapper script that calls python directly (if we can find it), or using the bin/env trick.
 #we don't need to check for PYTHON being set to something, since os.path.join handles the case of the component being an absolute path
 cfv.wrapper:
-	$(PYTHON) -c 'import string,os; py=filter(lambda x: os.path.isfile(x),map(lambda x: os.path.join(x,"$(PYTHON)"),string.split(os.environ["PATH"],":"))); py.append(" /usr/bin/env $(PYTHON)"); open("cfv.wrapper","w").write("#!%s\nimport cfv\ncfv.main()\n"%py[0])'
+	$(PYTHON) -c 'import string,os; py=filter(lambda x: os.path.isfile(x),map(lambda x: os.path.join(x,"$(PYTHON)"),string.split(os.environ["PATH"],":"))); py.append(" /usr/bin/env $(PYTHON)"); open("cfv.wrapper","w").write("#!%s\ntry:\n  import psyco\n  import re\n  psyco.cannotcompile(re.compile)\n  psyco.profile()\nexcept ImportError:\n  pass\nimport cfv\ncfv.main()\n"%py[0])'
 
 $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(bindir):
 	$(install_dir) $@@
@


1.2
log
@SVN rev 306848 on 2012-11-02 13:11:56Z by ak

Remove because it depends on security/py-fchksum which is not in the ports tree anymore.

Feature safe:	yes
@
text
@@


1.1
log
@- Add PSYCO option to enable devel/py-psyco optimization support
- Be conservative and use psyco.profile() instead of psyco.full()
@
text
@@

