aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/py-analyzemft
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-08-30 01:28:42 +0800
committerantoine <antoine@FreeBSD.org>2014-08-30 01:28:42 +0800
commit66d688539f8f60fe75eba85a92de97861fd2c673 (patch)
tree0e5d6fab51bd007b36c0cb572b0a1101d7343b04 /sysutils/py-analyzemft
parent019d7cd2683659d7d0fc6c8a053ba9d6b9fc95fb (diff)
downloadfreebsd-ports-gnome-66d688539f8f60fe75eba85a92de97861fd2c673.tar.gz
freebsd-ports-gnome-66d688539f8f60fe75eba85a92de97861fd2c673.tar.zst
freebsd-ports-gnome-66d688539f8f60fe75eba85a92de97861fd2c673.zip
Convert a few ports to USES=python
Diffstat (limited to 'sysutils/py-analyzemft')
-rw-r--r--sysutils/py-analyzemft/Makefile9
-rw-r--r--sysutils/py-analyzemft/pkg-plist21
2 files changed, 2 insertions, 28 deletions
diff --git a/sysutils/py-analyzemft/Makefile b/sysutils/py-analyzemft/Makefile
index 54f4cc0856b9..97594e5f204d 100644
--- a/sysutils/py-analyzemft/Makefile
+++ b/sysutils/py-analyzemft/Makefile
@@ -16,21 +16,16 @@ LICENSE_NAME= Common Public License
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-USE_PYTHON= 2
-USE_PYDISTUTILS=yes
-PYDISTUTILS_PKGNAME=analyzeMFT
+USES= python:2
+USE_PYTHON= distutils autoplist
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS= README.txt
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-install:
-.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>
diff --git a/sysutils/py-analyzemft/pkg-plist b/sysutils/py-analyzemft/pkg-plist
deleted file mode 100644
index c0b843d2e304..000000000000
--- a/sysutils/py-analyzemft/pkg-plist
+++ /dev/null
@@ -1,21 +0,0 @@
-bin/analyzeMFT.py
-%%PYTHON_SITELIBDIR%%/analyzemft/__init__.py
-%%PYTHON_SITELIBDIR%%/analyzemft/__init__.pyc
-%%PYTHON_SITELIBDIR%%/analyzemft/__init__.pyo
-%%PYTHON_SITELIBDIR%%/analyzemft/bitparse.py
-%%PYTHON_SITELIBDIR%%/analyzemft/bitparse.pyc
-%%PYTHON_SITELIBDIR%%/analyzemft/bitparse.pyo
-%%PYTHON_SITELIBDIR%%/analyzemft/mft.py
-%%PYTHON_SITELIBDIR%%/analyzemft/mft.pyc
-%%PYTHON_SITELIBDIR%%/analyzemft/mft.pyo
-%%PYTHON_SITELIBDIR%%/analyzemft/mftsession.py
-%%PYTHON_SITELIBDIR%%/analyzemft/mftsession.pyc
-%%PYTHON_SITELIBDIR%%/analyzemft/mftsession.pyo
-%%PYTHON_SITELIBDIR%%/analyzemft/mftutils.py
-%%PYTHON_SITELIBDIR%%/analyzemft/mftutils.pyc
-%%PYTHON_SITELIBDIR%%/analyzemft/mftutils.pyo
-%%PYTHON_SITELIBDIR%%/analyzemft/test/__init__.py
-%%PYTHON_SITELIBDIR%%/analyzemft/test/__init__.pyc
-%%PYTHON_SITELIBDIR%%/analyzemft/test/__init__.pyo
-@dirrm %%PYTHON_SITELIBDIR%%/analyzemft/test
-@dirrm %%PYTHON_SITELIBDIR%%/analyzemft