Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2014 19:16:13 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340926 - in head/devel: py-freebsd py-urwid
Message-ID:  <201401241916.s0OJGD9A082727@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mva
Date: Fri Jan 24 19:16:13 2014
New Revision: 340926
URL: http://svnweb.freebsd.org/changeset/ports/340926
QAT: https://qat.redports.org/buildarchive/r340926/

Log:
  - Enable stagedir support
  - Convert to PYDISTUTILS_AUTOPLIST

Deleted:
  head/devel/py-urwid/pkg-plist
Modified:
  head/devel/py-freebsd/Makefile
  head/devel/py-urwid/Makefile

Modified: head/devel/py-freebsd/Makefile
==============================================================================
--- head/devel/py-freebsd/Makefile	Fri Jan 24 19:06:04 2014	(r340925)
+++ head/devel/py-freebsd/Makefile	Fri Jan 24 19:16:13 2014	(r340926)
@@ -16,14 +16,8 @@ COMMENT=	Python interface to FreeBSD-spe
 
 USE_PYTHON=	2
 USE_PYDISTUTILS=	yes
-PYDISTUTILS_PKGNAME=	py-freebsd
+PYDISTUTILS_AUTOPLIST=	yes
 
-PLIST_FILES=	%%PYTHON_SITELIBDIR%%/freebsd.so \
-		%%PYTHON_SITELIBDIR%%/freebsd_compat02.py \
-		%%PYTHON_SITELIBDIR%%/freebsd_compat02.pyc \
-		%%PYTHON_SITELIBDIR%%/freebsd_compat02.pyo
-
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 # Multi-IPv4/v6/no-IP jails.

Modified: head/devel/py-urwid/Makefile
==============================================================================
--- head/devel/py-urwid/Makefile	Fri Jan 24 19:06:04 2014	(r340925)
+++ head/devel/py-urwid/Makefile	Fri Jan 24 19:16:13 2014	(r340926)
@@ -16,8 +16,9 @@ LICENSE=	LGPL21
 OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
 OPTIONS_DEFINE=	EXAMPLES
 
-USE_PYTHON=	2
-USE_PYDISTUTILS=yes
+USE_PYTHON=		2
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
 
 PORTEXAMPLES=	bigtext.py \
 		browse.py \
@@ -35,7 +36,6 @@ PORTEXAMPLES=	bigtext.py \
 		treesample.py
 EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-patch:
@@ -44,8 +44,8 @@ post-patch:
 
 post-install:
 .if ${PORT_OPTIONS:MEXAMPLES}
-	${MKDIR} ${EXAMPLESDIR}/
-	@cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}/
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
+	(cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/)
 .endif
 
 regression-test: build



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