Date: Fri, 6 Aug 2004 05:26:51 GMT From: Choe@FreeBSD.org, Cheng-Dae <whitekid@netian.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/70064: [MAINTAINER] databases/py-sqlobject: Install doc and examples Message-ID: <200408060526.i765Qp4H045488@www.freebsd.org> Resent-Message-ID: <200408060530.i765UTEP037062@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 70064 >Category: ports >Synopsis: [MAINTAINER] databases/py-sqlobject: Install doc and examples >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Aug 06 05:30:29 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Choe, Cheng-Dae >Release: FreeBSD 5.2.1-RELEASE-p8 i386 >Organization: >Environment: System: FreeBSD w.comdongin.com 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 #0: Thu May 27 13:39:13 KST 2004 root@w.comdongin.com:/usr/obj/usr/src/sys/CDI i386 >Description: now install documentation and examples when install ports >How-To-Repeat: N/A >Fix: diff -ruN py-sqlobject.orig/Makefile py-sqlobject/Makefile --- py-sqlobject.orig/Makefile Fri Aug 6 13:59:08 2004 +++ py-sqlobject/Makefile Fri Aug 6 14:18:56 2004 @@ -7,6 +7,7 @@ PORTNAME= sqlobject PORTVERSION= 0.5.2 +PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -22,5 +23,15 @@ USE_PYTHON= yes USE_PYDISTUTILS= yes + +DOCSDIR= ${PREFIX}/share/doc/py-sqlobject +EXAMPLESDIR= ${PREFIX}/share/examples/py-sqlobject + +post-install: + @${MKDIR} ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} + + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR} .include <bsd.port.mk> diff -ruN py-sqlobject.orig/pkg-plist py-sqlobject/pkg-plist --- py-sqlobject.orig/pkg-plist Fri Aug 6 13:59:08 2004 +++ py-sqlobject/pkg-plist Fri Aug 6 14:16:36 2004 @@ -34,5 +34,31 @@ %%PYTHON_SITELIBDIR%%/SQLObject/include/__init__.py %%PYTHON_SITELIBDIR%%/SQLObject/include/__init__.pyc %%PYTHON_SITELIBDIR%%/SQLObject/include/__init__.pyo +share/doc/py-sqlobject/Authors.html +share/doc/py-sqlobject/Authors.txt +share/doc/py-sqlobject/FAQ.html +share/doc/py-sqlobject/FAQ.txt +share/doc/py-sqlobject/News.html +share/doc/py-sqlobject/News.txt +share/doc/py-sqlobject/Plan.html +share/doc/py-sqlobject/Plan.txt +share/doc/py-sqlobject/SQLBuilder.html +share/doc/py-sqlobject/SQLBuilder.txt +share/doc/py-sqlobject/SQLObject.html +share/doc/py-sqlobject/SQLObject.txt +share/doc/py-sqlobject/default.css +share/examples/py-sqlobject/class_dbi.py +share/examples/py-sqlobject/codebits.py +share/examples/py-sqlobject/config.py +share/examples/py-sqlobject/examplestripper.py +share/examples/py-sqlobject/leftjoin.py +share/examples/py-sqlobject/people.py +share/examples/py-sqlobject/personaddress.py +share/examples/py-sqlobject/setup.py +share/examples/py-sqlobject/simpleperson.py +share/examples/py-sqlobject/styles.py +share/examples/py-sqlobject/userrole.py +@dirrm share/examples/py-sqlobject +@dirrm share/doc/py-sqlobject @dirrm %%PYTHON_SITELIBDIR%%/SQLObject/include @dirrm %%PYTHON_SITELIBDIR%%/SQLObject >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408060526.i765Qp4H045488>