diff options
author | adamw <adamw@FreeBSD.org> | 2014-08-06 12:34:23 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-08-06 12:34:23 +0800 |
commit | a46f8bdcd0bd94d6fe1cdcc8ce6a6f67bd2e39a8 (patch) | |
tree | d206a205dd3870d245c26875f1da2aaa627aad64 /databases/py-psycopg | |
parent | 0a17597462ff11896ad3e619b25fc9df0263fcef (diff) | |
download | freebsd-ports-gnome-a46f8bdcd0bd94d6fe1cdcc8ce6a6f67bd2e39a8.tar.gz freebsd-ports-gnome-a46f8bdcd0bd94d6fe1cdcc8ce6a6f67bd2e39a8.tar.zst freebsd-ports-gnome-a46f8bdcd0bd94d6fe1cdcc8ce6a6f67bd2e39a8.zip |
In some straightforward situations, protect examples behind PORTEXAMPLES,
adding EXAMPLES to OPTIONS_DEFINE where necessary. In a couple instances,
correct examples being controlled by the DOCS option.
Diffstat (limited to 'databases/py-psycopg')
-rw-r--r-- | databases/py-psycopg/Makefile | 2 | ||||
-rw-r--r-- | databases/py-psycopg/pkg-plist | 40 |
2 files changed, 21 insertions, 21 deletions
diff --git a/databases/py-psycopg/Makefile b/databases/py-psycopg/Makefile index a5cfa92a9655..9bc7cbf0b3aa 100644 --- a/databases/py-psycopg/Makefile +++ b/databases/py-psycopg/Makefile @@ -28,7 +28,7 @@ CONFIGURE_ARGS= --with-python=${PYTHON_CMD} \ --with-postgres-includes=${LOCALBASE}/include \ --with-mxdatetime-includes=${DATETIME_INC} -OPTIONS_DEFINE= ZOPE DOCS +OPTIONS_DEFINE= ZOPE DOCS EXAMPLES OPTIONS_SUB= yes ZOPE_USES= zope diff --git a/databases/py-psycopg/pkg-plist b/databases/py-psycopg/pkg-plist index 11b5f731749e..939565d29e38 100644 --- a/databases/py-psycopg/pkg-plist +++ b/databases/py-psycopg/pkg-plist @@ -10,26 +10,26 @@ %%PORTDOCS%%%%DOCSDIR%%/RELEASE-1.0 %%PORTDOCS%%%%DOCSDIR%%/SUCCESS %%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%%%EXAMPLESDIR%%/binary.py -%%PORTDOCS%%%%EXAMPLESDIR%%/bool.py -%%PORTDOCS%%%%EXAMPLESDIR%%/bounded.py -%%PORTDOCS%%%%EXAMPLESDIR%%/commit.py -%%PORTDOCS%%%%EXAMPLESDIR%%/copy_from.py -%%PORTDOCS%%%%EXAMPLESDIR%%/copy_from2.py -%%PORTDOCS%%%%EXAMPLESDIR%%/copy_to.py -%%PORTDOCS%%%%EXAMPLESDIR%%/dictfetch.py -%%PORTDOCS%%%%EXAMPLESDIR%%/dt.py -%%PORTDOCS%%%%EXAMPLESDIR%%/first.py -%%PORTDOCS%%%%EXAMPLESDIR%%/integrity.py -%%PORTDOCS%%%%EXAMPLESDIR%%/interval.py -%%PORTDOCS%%%%EXAMPLESDIR%%/notify.py -%%PORTDOCS%%%%EXAMPLESDIR%%/oid.py -%%PORTDOCS%%%%EXAMPLESDIR%%/somehackers.jpg -%%PORTDOCS%%%%EXAMPLESDIR%%/threads.py -%%PORTDOCS%%%%EXAMPLESDIR%%/usercast.py -%%PORTDOCS%%%%EXAMPLESDIR%%/whereareyou.jpg -%%PORTDOCS%%%%EXAMPLESDIR%%/work.py -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/binary.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bool.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bounded.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/commit.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/copy_from.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/copy_from2.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/copy_to.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dictfetch.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dt.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/first.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/integrity.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interval.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/notify.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/oid.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/somehackers.jpg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/threads.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/usercast.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/whereareyou.jpg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/work.py +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%% %%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/DA.py %%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/DA.pyc |