diff options
author | lwhsu <lwhsu@FreeBSD.org> | 2007-06-21 05:24:22 +0800 |
---|---|---|
committer | lwhsu <lwhsu@FreeBSD.org> | 2007-06-21 05:24:22 +0800 |
commit | f0a139b3fc1e24651072517b8993a666b5ba428f (patch) | |
tree | 7ad81ff061ee51b7fb5c75d9328872651753226b /databases | |
parent | b6caecee1accd5c1ad96a6eb62b07ce0f4b8e36e (diff) | |
download | freebsd-ports-gnome-f0a139b3fc1e24651072517b8993a666b5ba428f.tar.gz freebsd-ports-gnome-f0a139b3fc1e24651072517b8993a666b5ba428f.tar.zst freebsd-ports-gnome-f0a139b3fc1e24651072517b8993a666b5ba428f.zip |
- EXAMPLES should be omitted when NOPORTEXAMPLES is defined
Noticed by: sat
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%% |