aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-medusa
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-04-30 02:37:38 +0800
committerijliao <ijliao@FreeBSD.org>2002-04-30 02:37:38 +0800
commit0070b55b94bc9275fcfe0f076ef9627329c33849 (patch)
tree52777c4ec6298053248e53c8426ce08f742734ab /net/py-medusa
parent800d720f882ceb06aa66e91d393bbab507490821 (diff)
downloadfreebsd-ports-gnome-0070b55b94bc9275fcfe0f076ef9627329c33849.tar.gz
freebsd-ports-gnome-0070b55b94bc9275fcfe0f076ef9627329c33849.tar.zst
freebsd-ports-gnome-0070b55b94bc9275fcfe0f076ef9627329c33849.zip
use USE_PYDISTUTILS
Diffstat (limited to 'net/py-medusa')
-rw-r--r--net/py-medusa/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/net/py-medusa/Makefile b/net/py-medusa/Makefile
index d8105588a0e5..4878ae0ec251 100644
--- a/net/py-medusa/Makefile
+++ b/net/py-medusa/Makefile
@@ -14,19 +14,15 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= perky@fallin.lv
USE_PYTHON= yes
+USE_PYDISTUTILS= yes
DOCFILES= CHANGES.txt INSTALL.txt LICENSE.txt README.txt TODO.txt
EXAMPLEDIRS= demo test thread
DOCSDIR= ${PREFIX}/share/doc/py-medusa
EXAMPLESDIR= ${PREFIX}/share/examples/py-medusa
-SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
-do-build:
- ${SETUP_CMD} build
-
-do-install:
- @${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
.if !defined(NOPORTDOCS)
+post-install:
@${MKDIR} ${DOCSDIR}/docs
@cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}/docs