aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-pefile
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 /devel/py-pefile
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 'devel/py-pefile')
-rw-r--r--devel/py-pefile/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/devel/py-pefile/Makefile b/devel/py-pefile/Makefile
index c9f7dc6d2d12..78052923bbab 100644
--- a/devel/py-pefile/Makefile
+++ b/devel/py-pefile/Makefile
@@ -12,21 +12,16 @@ COMMENT= Python module to read and work with PE files
LICENSE= MIT
-USE_PYTHON= 2
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python:2
+USE_PYTHON= distutils autoplist
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS= README
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>