aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-11-18 01:48:26 +0800
committerpav <pav@FreeBSD.org>2005-11-18 01:48:26 +0800
commit0fc8bb1ebb766354ba51fd9b3eedccac0502ddeb (patch)
tree7f93ae88ab7e78ab7965d62d4d0101abeac12752 /databases
parentff495ad4ffda41ac5a7b61fa561d06527259d320 (diff)
downloadfreebsd-ports-gnome-0fc8bb1ebb766354ba51fd9b3eedccac0502ddeb.tar.gz
freebsd-ports-gnome-0fc8bb1ebb766354ba51fd9b3eedccac0502ddeb.tar.zst
freebsd-ports-gnome-0fc8bb1ebb766354ba51fd9b3eedccac0502ddeb.zip
- add run dependency on py-formencode
- fix DOCSDIR/EXAMPLESDIR with py- prefix - mark ports docs plist with PORTDOCS PR: ports/89163 Submitted by: Choe Cheng-Dae <whitekid@gmail.com> (maintainer)
Diffstat (limited to 'databases')
-rw-r--r--databases/py-sqlobject/Makefile9
-rw-r--r--databases/py-sqlobject/pkg-plist35
2 files changed, 8 insertions, 36 deletions
diff --git a/databases/py-sqlobject/Makefile b/databases/py-sqlobject/Makefile
index 6edbd2aa050b..cb6960ce58c2 100644
--- a/databases/py-sqlobject/Makefile
+++ b/databases/py-sqlobject/Makefile
@@ -7,6 +7,7 @@
PORTNAME= sqlobject
PORTVERSION= 0.7.0
+PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= http://cheeseshop.python.org/packages/source/S/SQLObject/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,12 +17,18 @@ MAINTAINER= whitekid@gmail.com
COMMENT= A python object for manipulation with SQL table row
# Someone will add SQLite, Firebird and DBMConnection support things.
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/MySQLdb/__init__.py:${PORTSDIR}/databases/py-MySQLdb \
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/formencode/__init__.py:${PORTSDIR}/www/py-formencode \
+ ${PYTHON_SITELIBDIR}/MySQLdb/__init__.py:${PORTSDIR}/databases/py-MySQLdb \
${PYTHON_SITELIBDIR}/psycopgmodule.so:${PORTSDIR}/databases/py-psycopg
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
+EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
+
+PORTDOCS= *
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
diff --git a/databases/py-sqlobject/pkg-plist b/databases/py-sqlobject/pkg-plist
index 454b9f8ccf31..540079cdac35 100644
--- a/databases/py-sqlobject/pkg-plist
+++ b/databases/py-sqlobject/pkg-plist
@@ -107,41 +107,6 @@ bin/sqlobject-admin
%%PYTHON_SITELIBDIR%%/sqlobject/util/threadinglocal.py
%%PYTHON_SITELIBDIR%%/sqlobject/util/threadinglocal.pyc
%%PYTHON_SITELIBDIR%%/sqlobject/util/threadinglocal.pyo
-%%PORTDOCS%%%%DOCSDIR%%/Authors.txt
-%%PORTDOCS%%%%DOCSDIR%%/DeveloperGuide.txt
-%%PORTDOCS%%%%DOCSDIR%%/FAQ.txt
-%%PORTDOCS%%%%DOCSDIR%%/Inheritance.txt
-%%PORTDOCS%%%%DOCSDIR%%/News.txt
-%%PORTDOCS%%%%DOCSDIR%%/README.txt
-%%PORTDOCS%%%%DOCSDIR%%/SQLBuilder.txt
-%%PORTDOCS%%%%DOCSDIR%%/SQLObject.txt
-%%PORTDOCS%%%%DOCSDIR%%/TODO.txt
-%%PORTDOCS%%%%DOCSDIR%%/community.txt
-%%PORTDOCS%%%%DOCSDIR%%/default.css
-%%PORTDOCS%%%%DOCSDIR%%/download.txt
-%%PORTDOCS%%%%DOCSDIR%%/europython/europython_sqlobj.py
-%%PORTDOCS%%%%DOCSDIR%%/europython/main.css
-%%PORTDOCS%%%%DOCSDIR%%/europython/person.py
-%%PORTDOCS%%%%DOCSDIR%%/index.txt
-%%PORTDOCS%%%%DOCSDIR%%/interface.py
-%%PORTDOCS%%%%DOCSDIR%%/links.txt
-%%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/sqlobject-and-database-programming.html
-%%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/bodybg.gif
-%%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/custom.css
-%%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/framing.css
-%%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/opera.css
-%%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/pretty.css
-%%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/print.css
-%%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/s5-core.css
-%%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/slides.css
-%%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/slides.js
-%%PORTDOCS%%%%DOCSDIR%%/rebuild
-%%PORTDOCS%%%%DOCSDIR%%/sqlobject-admin.txt
-%%PORTDOCS%%%%DOCSDIR%%/test.py
-@dirrm %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui
-@dirrm %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11
-@dirrm %%PORTDOCS%%%%DOCSDIR%%/europython
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%PYTHON_SITELIBDIR%%/sqlobject/util
@dirrm %%PYTHON_SITELIBDIR%%/sqlobject/sybase
@dirrm %%PYTHON_SITELIBDIR%%/sqlobject/sqlite