aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2007-06-22 06:23:00 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2007-06-22 06:23:00 +0000
commit1444e73e0b13540533ddb5ffd65fb014fa4f165c (patch)
treef747acc8c0146a822c659a147ef8cad6925bed72 /ftp
parent389440e0aa79e0dd9aa191bdb6f3d8166ff9b5f9 (diff)
downloadports-1444e73e0b13540533ddb5ffd65fb014fa4f165c.tar.gz
ports-1444e73e0b13540533ddb5ffd65fb014fa4f165c.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/py-pyftpdlib/Makefile4
-rw-r--r--ftp/py-pyftpdlib/pkg-plist10
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%%