Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2014 21:47:41 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340864 - head/devel/py-pydasm
Message-ID:  <201401232147.s0NLlfx1044329@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401232147.s0NLlfx1044329>