diff options
author | lwhsu <lwhsu@FreeBSD.org> | 2007-06-22 14:23:00 +0800 |
---|---|---|
committer | lwhsu <lwhsu@FreeBSD.org> | 2007-06-22 14:23:00 +0800 |
commit | fba26724622bfc7fb38c4bb61e66bd74cfb8846d (patch) | |
tree | 0812ab2952f1bba1af84409f2d7331d3cf429bab | |
parent | 84aafb10700b28dd02afbfb9540209703887c729 (diff) | |
download | freebsd-ports-gnome-fba26724622bfc7fb38c4bb61e66bd74cfb8846d.tar.gz freebsd-ports-gnome-fba26724622bfc7fb38c4bb61e66bd74cfb8846d.tar.zst freebsd-ports-gnome-fba26724622bfc7fb38c4bb61e66bd74cfb8846d.zip |
- Respect NOPORTEXAMPLES
-rw-r--r-- | ftp/py-pyftpdlib/Makefile | 4 | ||||
-rw-r--r-- | ftp/py-pyftpdlib/pkg-plist | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/ftp/py-pyftpdlib/Makefile b/ftp/py-pyftpdlib/Makefile index bceda87cde08..59501fa75e1f 100644 --- a/ftp/py-pyftpdlib/Makefile +++ b/ftp/py-pyftpdlib/Makefile @@ -18,9 +18,7 @@ COMMENT= Python FTP server library USE_PYTHON= yes USE_PYDISTUTILS= yes -.if !defined(NOPORTDOCS) DOCSDIR= ${TARGETDIR}/share/doc/py-${PORTNAME} -.endif EXAMPLESDIR= ${TARGETDIR}/share/examples/py-${PORTNAME} post-install: @@ -28,7 +26,9 @@ post-install: @${MKDIR} ${DOCSDIR} ${CP} -R ${WRKSRC}/doc/ ${DOCSDIR} .endif +.if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} ${CP} -R ${WRKSRC}/demo/ ${EXAMPLESDIR} +.endif .include <bsd.port.mk> diff --git a/ftp/py-pyftpdlib/pkg-plist b/ftp/py-pyftpdlib/pkg-plist index bf7a0b48052b..16f1060f8d31 100644 --- a/ftp/py-pyftpdlib/pkg-plist +++ b/ftp/py-pyftpdlib/pkg-plist @@ -5,11 +5,11 @@ %%PYTHON_SITELIBDIR%%/pyftpdlib/__init__.pyc %%PYTHON_SITELIBDIR%%/pyftpdlib/__init__.pyo @dirrm %%PYTHON_SITELIBDIR%%/pyftpdlib -%%EXAMPLESDIR%%/unix_ftpd.py -%%EXAMPLESDIR%%/md5_ftpd.py -%%EXAMPLESDIR%%/basic_ftpd.py -%%EXAMPLESDIR%%/winNT_ftpd.py -@dirrm %%EXAMPLESDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/unix_ftpd.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/md5_ftpd.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/basic_ftpd.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/winNT_ftpd.py +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% %%PORTDOCS%%%%DOCSDIR%%/pyftpdlib.css %%PORTDOCS%%%%DOCSDIR%%/pyftpdlib.html %%PORTDOCS%%@dirrm %%DOCSDIR%% |