diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2007-06-20 21:24:22 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2007-06-20 21:24:22 +0000 |
commit | b5fad02a0d88152ca6db306d28dfade020fb8197 (patch) | |
tree | bdb9cf806bd878ce5dbee5508d4c22c3e39cc838 /databases | |
parent | b8035fa687f8b804cb5ed1725eebaa9c0a6a89b9 (diff) | |
download | ports-b5fad02a0d88152ca6db306d28dfade020fb8197.tar.gz ports-b5fad02a0d88152ca6db306d28dfade020fb8197.zip |
Notes
Diffstat (limited to 'databases')
-rw-r--r-- | databases/py-pyPgSQL/Makefile | 4 | ||||
-rw-r--r-- | databases/py-pyPgSQL/pkg-plist | 12 |
2 files changed, 9 insertions, 7 deletions
diff --git a/databases/py-pyPgSQL/Makefile b/databases/py-pyPgSQL/Makefile index b56d7c66f24e..262b08f2eecd 100644 --- a/databases/py-pyPgSQL/Makefile +++ b/databases/py-pyPgSQL/Makefile @@ -7,7 +7,7 @@ PORTNAME= pyPgSQL PORTVERSION= 2.5.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pypgsql @@ -37,9 +37,11 @@ post-install: @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif +.if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} .for f in ${EXAMPLES} @${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR} .endfor +.endif .include <bsd.port.mk> diff --git a/databases/py-pyPgSQL/pkg-plist b/databases/py-pyPgSQL/pkg-plist index f8a4307de36a..3b2ea88b1d92 100644 --- a/databases/py-pyPgSQL/pkg-plist +++ b/databases/py-pyPgSQL/pkg-plist @@ -15,9 +15,9 @@ %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/README.html %%PORTDOCS%%@dirrm %%DOCSDIR%% -%%EXAMPLESDIR%%/basic.py -%%EXAMPLESDIR%%/demo1a.py -%%EXAMPLESDIR%%/demo1b.py -%%EXAMPLESDIR%%/demo2a.py -%%EXAMPLESDIR%%/demo2b.py -@dirrm %%EXAMPLESDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/basic.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo1a.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo1b.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo2a.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo2b.py +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% |