ports/72601: [MAINTAINER] databases/py-sqlobject: install additional docs, examples
Choe at FreeBSD.org
Choe at FreeBSD.org
Wed Oct 13 02:20:25 UTC 2004
>Number: 72601
>Category: ports
>Synopsis: [MAINTAINER] databases/py-sqlobject: install additional docs, examples
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Oct 13 02:20:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Choe, Cheng-Dae
>Release: FreeBSD 5.3-BETA7 i386
>Organization:
>Environment:
System: FreeBSD comdongin.com 5.3-BETA7 FreeBSD 5.3-BETA7 #0: Thu Oct 7 03:38:39 KST 2004 root at comdongin.com:/usr/obj/data/src/sys/CDI i386
>Description:
install additional docs and examples for database/py-sqlobject
>How-To-Repeat:
N/A
>Fix:
diff -ruN py-sqlobject.orig/Makefile py-sqlobject/Makefile
--- py-sqlobject.orig/Makefile Wed Oct 13 10:16:56 2004
+++ py-sqlobject/Makefile Wed Oct 13 11:07:04 2004
@@ -7,6 +7,7 @@
PORTNAME= sqlobject
PORTVERSION= 0.6
+PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -22,5 +23,14 @@
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 -ruN py-sqlobject.orig/pkg-descr py-sqlobject/pkg-descr
--- py-sqlobject.orig/pkg-descr Wed Oct 13 10:16:56 2004
+++ py-sqlobject/pkg-descr Wed Oct 13 10:45:43 2004
@@ -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 -ruN py-sqlobject.orig/pkg-plist py-sqlobject/pkg-plist
--- py-sqlobject.orig/pkg-plist Wed Oct 13 10:16:56 2004
+++ py-sqlobject/pkg-plist Wed Oct 13 10:52:03 2004
@@ -79,6 +79,33 @@
%%PYTHON_SITELIBDIR%%/sqlobject/sybase/sybaseconnection.py
%%PYTHON_SITELIBDIR%%/sqlobject/sybase/sybaseconnection.pyc
%%PYTHON_SITELIBDIR%%/sqlobject/sybase/sybaseconnection.pyo
+%%DOCSDIR%%/Authors.html
+%%DOCSDIR%%/Authors.txt
+%%DOCSDIR%%/FAQ.html
+%%DOCSDIR%%/FAQ.txt
+%%DOCSDIR%%/News.html
+%%DOCSDIR%%/News.txt
+%%DOCSDIR%%/Plan06.html
+%%DOCSDIR%%/Plan06.txt
+%%DOCSDIR%%/README.txt
+%%DOCSDIR%%/SQLBuilder.html
+%%DOCSDIR%%/SQLBuilder.txt
+%%DOCSDIR%%/SQLObject.html
+%%DOCSDIR%%/SQLObject.txt
+%%DOCSDIR%%/TODO.txt
+%%DOCSDIR%%/default.css
+%%EXAMPLESDIR%%/codebits.py
+%%EXAMPLESDIR%%/config.py
+%%EXAMPLESDIR%%/examplestripper.py
+%%EXAMPLESDIR%%/leftjoin.py
+%%EXAMPLESDIR%%/people.py
+%%EXAMPLESDIR%%/personaddress.py
+%%EXAMPLESDIR%%/setup.py
+%%EXAMPLESDIR%%/simpleperson.py
+%%EXAMPLESDIR%%/styles.py
+%%EXAMPLESDIR%%/userrole.py
+ at dirrm %%EXAMPLESDIR%%
+ at dirrm %%DOCSDIR%%
@dirrm %%PYTHON_SITELIBDIR%%/sqlobject/sybase
@dirrm %%PYTHON_SITELIBDIR%%/sqlobject/sqlite
@dirrm %%PYTHON_SITELIBDIR%%/sqlobject/postgres
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list