svn commit: r340864 - head/devel/py-pydasm

Antoine Brodin antoine at FreeBSD.org
Thu Jan 23 21:47:41 UTC 2014


Author: antoine
Date: Thu Jan 23 21:47:41 2014
New Revision: 340864
URL: http://svnweb.freebsd.org/changeset/ports/340864
QAT: https://qat.redports.org/buildarchive/r340864/

Log:
  - Use PYDISTUTILS_AUTOPLIST (instead of using a plist that doesn't work with pkg_install)
  - Remove DOCS/EXAMPLES conditionals

Modified:
  head/devel/py-pydasm/Makefile

Modified: head/devel/py-pydasm/Makefile
==============================================================================
--- head/devel/py-pydasm/Makefile	Thu Jan 23 21:41:46 2014	(r340863)
+++ head/devel/py-pydasm/Makefile	Thu Jan 23 21:47:41 2014	(r340864)
@@ -17,23 +17,17 @@ LICENSE=	BSD2CLAUSE
 WRKSRC_SUBDIR=	${PORTNAME}
 USE_PYTHON=	yes
 USE_PYDISTUTILS=yes
+PYDISTUTILS_AUTOPLIST=yes
 
-PLIST_FILES=	${PYTHON_SITELIBDIR}/pydasm.so
 PORTDOCS=	README.txt
 PORTEXAMPLES=	das.py
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-.include <bsd.port.options.mk>
-
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/,} ${STAGEDIR}${EXAMPLESDIR}
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list