Date: 9 Oct 2003 19:30:39 -0000 From: Sergei Kolobov <sergei@kolobov.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: jason@mastaler.com Subject: ports/57814: [PATCH] databases/py-cdb: install example and docs Message-ID: <20031009193039.7281.qmail@kolobov.com> Resent-Message-ID: <200310091940.h99JeNbM000897@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 57814 >Category: ports >Synopsis: [PATCH] databases/py-cdb: install example and docs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Oct 09 12:40:22 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Sergei Kolobov >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD elf.chetwood.ru 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Sun Oct 5 18:18:29 MSD >Description: - Install example and (minimal) documentation - Use PYTHON_SITELIBDIR macro in pkg-plist - Shorten COMMENT to make pkg_info(1) happier - Bump PORTREVISION for changed package Port maintainer (jason@mastaler.com) is cc'd. Generated with FreeBSD Port Tools 0.29 >How-To-Repeat: >Fix: --- py22-cdb-0.32_1.patch begins here --- Index: Makefile =================================================================== RCS file: /FreeBSD/cvs/ports/databases/py-cdb/Makefile,v retrieving revision 1.5 diff -u -u -r1.5 Makefile --- Makefile 21 Feb 2003 11:15:04 -0000 1.5 +++ Makefile 9 Oct 2003 19:25:51 -0000 @@ -7,15 +7,30 @@ PORTNAME= cdb PORTVERSION= 0.32 +PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= http://pilcrow.madison.wi.us/python-${PORTNAME}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python-${PORTNAME}-${PORTVERSION} MAINTAINER= jason@mastaler.com -COMMENT= Python interface to D. J. Bernstein's CDB (constant database) library +COMMENT= Python interface to DJB's constant database library USE_PYTHON= yes USE_PYDISTUTILS= yes + +DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} +EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} + +DOCS= ChangeLog README +EXAMPLES= Example + +post-install: + @${MKDIR} ${EXAMPLESDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR} +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} +.endif .include <bsd.port.mk> Index: pkg-plist =================================================================== RCS file: /FreeBSD/cvs/ports/databases/py-cdb/pkg-plist,v retrieving revision 1.1 diff -u -u -r1.1 pkg-plist --- pkg-plist 4 Dec 2001 09:40:13 -0000 1.1 +++ pkg-plist 9 Oct 2003 19:20:38 -0000 @@ -1 +1,6 @@ -lib/%%PYTHON_VERSION%%/site-packages/cdbmodule.so +%%PYTHON_SITELIBDIR%%/cdbmodule.so +%%EXAMPLESDIR%%/Example +@dirrm %%EXAMPLESDIR%% +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% --- py22-cdb-0.32_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031009193039.7281.qmail>