diff options
author | pav <pav@FreeBSD.org> | 2004-10-13 17:25:45 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-10-13 17:25:45 +0800 |
commit | c23a34b8d632875b09aaaf194b99783609eddafc (patch) | |
tree | 7f8b05bd9396b9494bd2899beba706f481f943c4 | |
parent | c233cf605d38932d48bd38d565ddf3f0aafbc72e (diff) | |
download | freebsd-ports-gnome-c23a34b8d632875b09aaaf194b99783609eddafc.tar.gz freebsd-ports-gnome-c23a34b8d632875b09aaaf194b99783609eddafc.tar.zst freebsd-ports-gnome-c23a34b8d632875b09aaaf194b99783609eddafc.zip |
- Install docs and examples
PR: ports/72601
Submitted by: Choe, Cheng-Dae <whitekid@gmail.com> (maintainer)
-rw-r--r-- | databases/py-sqlobject/Makefile | 10 | ||||
-rw-r--r-- | databases/py-sqlobject/pkg-descr | 2 | ||||
-rw-r--r-- | databases/py-sqlobject/pkg-plist | 27 |
3 files changed, 38 insertions, 1 deletions
diff --git a/databases/py-sqlobject/Makefile b/databases/py-sqlobject/Makefile index b3e536b31277..7e4dc6b27252 100644 --- a/databases/py-sqlobject/Makefile +++ b/databases/py-sqlobject/Makefile @@ -7,6 +7,7 @@ PORTNAME= sqlobject PORTVERSION= 0.6 +PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -23,4 +24,13 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/MySQLdb/__init__.py:${PORTSDIR}/databases/py-M USE_PYTHON= yes USE_PYDISTUTILS= yes +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/README.txt ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR} + ${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} +.endif + .include <bsd.port.mk> diff --git a/databases/py-sqlobject/pkg-descr b/databases/py-sqlobject/pkg-descr index 4bf213755791..323c59c50cc4 100644 --- a/databases/py-sqlobject/pkg-descr +++ b/databases/py-sqlobject/pkg-descr @@ -1,4 +1,4 @@ -QLObject is an object-relational mapper. +SQLObject is an object-relational mapper. It allows you to translate RDBMS table rows into Python objects, and manipulate those objects to transparently manipulate the database. diff --git a/databases/py-sqlobject/pkg-plist b/databases/py-sqlobject/pkg-plist index 07ce197debb1..41a3de3243b4 100644 --- a/databases/py-sqlobject/pkg-plist +++ b/databases/py-sqlobject/pkg-plist @@ -79,6 +79,33 @@ %%PYTHON_SITELIBDIR%%/sqlobject/sybase/sybaseconnection.py %%PYTHON_SITELIBDIR%%/sqlobject/sybase/sybaseconnection.pyc %%PYTHON_SITELIBDIR%%/sqlobject/sybase/sybaseconnection.pyo +%%PORTDOCS%%%%DOCSDIR%%/Authors.html +%%PORTDOCS%%%%DOCSDIR%%/Authors.txt +%%PORTDOCS%%%%DOCSDIR%%/FAQ.html +%%PORTDOCS%%%%DOCSDIR%%/FAQ.txt +%%PORTDOCS%%%%DOCSDIR%%/News.html +%%PORTDOCS%%%%DOCSDIR%%/News.txt +%%PORTDOCS%%%%DOCSDIR%%/Plan06.html +%%PORTDOCS%%%%DOCSDIR%%/Plan06.txt +%%PORTDOCS%%%%DOCSDIR%%/README.txt +%%PORTDOCS%%%%DOCSDIR%%/SQLBuilder.html +%%PORTDOCS%%%%DOCSDIR%%/SQLBuilder.txt +%%PORTDOCS%%%%DOCSDIR%%/SQLObject.html +%%PORTDOCS%%%%DOCSDIR%%/SQLObject.txt +%%PORTDOCS%%%%DOCSDIR%%/TODO.txt +%%PORTDOCS%%%%DOCSDIR%%/default.css +%%PORTDOCS%%%%EXAMPLESDIR%%/codebits.py +%%PORTDOCS%%%%EXAMPLESDIR%%/config.py +%%PORTDOCS%%%%EXAMPLESDIR%%/examplestripper.py +%%PORTDOCS%%%%EXAMPLESDIR%%/leftjoin.py +%%PORTDOCS%%%%EXAMPLESDIR%%/people.py +%%PORTDOCS%%%%EXAMPLESDIR%%/personaddress.py +%%PORTDOCS%%%%EXAMPLESDIR%%/setup.py +%%PORTDOCS%%%%EXAMPLESDIR%%/simpleperson.py +%%PORTDOCS%%%%EXAMPLESDIR%%/styles.py +%%PORTDOCS%%%%EXAMPLESDIR%%/userrole.py +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm %%PYTHON_SITELIBDIR%%/sqlobject/sybase @dirrm %%PYTHON_SITELIBDIR%%/sqlobject/sqlite @dirrm %%PYTHON_SITELIBDIR%%/sqlobject/postgres |