6cd163c1f8
PyGreSQL has been folded into that of PostgreSQL itself. - This update effectivly takes PyGreSQL to version 3.3, which is distributed with PostgreSQL 7.2.3. - Byte-compile installed modules to ensure clean deinstallation. - Install documentation under $DOCSDIR. - Remove Makefile from $FILESDIR - not required anymore. - Remove patch-pgdb.py - not required any longer. - Add two patches to ensure installation is $PREFIX-clean. - Update pkg-comment and pkg-descr to reflect the current status of the port.
28 lines
1.3 KiB
Text
28 lines
1.3 KiB
Text
--- src/interfaces/python/GNUmakefile.orig Thu Dec 13 20:39:04 2001
|
|
+++ src/interfaces/python/GNUmakefile Wed Oct 23 15:52:18 2002
|
|
@@ -34,9 +34,9 @@
|
|
echo "*** become the appropriate user, and do '$(MAKE) install'."; }
|
|
|
|
install: all installdirs
|
|
- @if test -w $(DESTDIR)$(python_moduleexecdir) && test -w $(DESTDIR)$(python_moduledir); then \
|
|
- echo "$(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(python_moduleexecdir)/_pgmodule$(DLSUFFIX)"; \
|
|
- $(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(python_moduleexecdir)/_pgmodule$(DLSUFFIX); \
|
|
+ @if test -w $(DESTDIR)$(python_moduledir); then \
|
|
+ echo "$(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(python_moduledir)/_pgmodule$(DLSUFFIX)"; \
|
|
+ $(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(python_moduledir)/_pgmodule$(DLSUFFIX); \
|
|
\
|
|
echo "$(INSTALL_DATA) $(srcdir)/pg.py $(DESTDIR)$(python_moduledir)/pg.py"; \
|
|
$(INSTALL_DATA) $(srcdir)/pg.py $(DESTDIR)$(python_moduledir)/pg.py; \
|
|
@@ -48,10 +48,10 @@
|
|
fi
|
|
|
|
installdirs:
|
|
- $(mkinstalldirs) $(DESTDIR)$(python_moduleexecdir) $(DESTDIR)$(python_moduledir)
|
|
+ $(mkinstalldirs) $(DESTDIR)$(python_moduledir)
|
|
|
|
uninstall:
|
|
- rm -f $(DESTDIR)$(python_moduleexecdir)/_pgmodule$(DLSUFFIX) \
|
|
+ rm -f $(DESTDIR)$(python_moduledir)/_pgmodule$(DLSUFFIX) \
|
|
$(DESTDIR)$(python_moduledir)/pg.py \
|
|
$(DESTDIR)$(python_moduledir)/pgdb.py
|
|
|