head	1.2;
access;
symbols
	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
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1
	RELEASE_6_0_0:1.1
	RELEASE_5_4_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2011.11.15.04.25.52;	author rm;	state dead;
branches;
next	1.1;

1.1
date	2005.01.10.11.03.48;	author vs;	state Exp;
branches;
next	;


desc
@@


1.2
log
@- fix build with lang/swi-pl 5.10
- remove bogus PORTREVSION
- add missing tab
- use PYTHON_SITELIBDIR in pkg-plist
- bump PORTREVISION

PR:             ports/159926
Submitted by:   rm (myself)
Approved by:    maintainer (timeout - 2+ months), miwi (co-mentor)
Feature safe:   yes
@
text
@--- setup.py.orig	Sun Jun 10 05:16:04 2001
+++ setup.py	Tue Nov 16 12:46:44 2004
@@@@ -13,11 +13,13 @@@@
 
 # TDB: this code only need run during 'build'.
 arch = get_atom('arch')
-#swipl_version =  get_atom('version')
+swipl_version =  get_atom('version')
 swipl_home =  get_atom('home')
 #print 'P>', arch, swipl_version, swipl_home
 swipl_include_path = os.path.join(swipl_home, 'include')
 swipl_library_path = os.path.join(swipl_home, 'runtime', arch)
+if swipl_version > '50400':
+   swipl_library_path = os.path.join(swipl_home, 'lib', arch)
 #print 'I>', swipl_include_path, swipl_library_path
 
 setup(name="PyProlog",
@@@@ -25,7 +27,7 @@@@
 	  author="Glen Wilder",
 	  author_email="gwilder@@best.com",
 	  url="http://pyprolog.sourceforge.net",
-	  licence='LGPL',
+	  license='LGPL',
 	  description='SWI-Prolog extension module',
 	  packages=["pyprolog"],
 	  package_dir={"pyprolog":"Lib"},
@


1.1
log
@The upgrade of swi-pl requires an update for PyProlog as
well.  While PyProlog is not available yet in a new version,
this fix bridges that gap.

PR:		ports/75592
Submitted by:	maintainer
@
text
@@

