Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 10:13:43 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337685 - head/devel/py-grouch
Message-ID:  <201312271013.rBRADhFu072028@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Fri Dec 27 10:13:43 2013
New Revision: 337685
URL: http://svnweb.freebsd.org/changeset/ports/337685

Log:
  devel/py-grouch: support staging and minor changes
  
  - Support staging
  - Use python auto plist
  - Unmute install command
  - Remove leading article from COMMENT

Deleted:
  head/devel/py-grouch/pkg-plist
Modified:
  head/devel/py-grouch/Makefile

Modified: head/devel/py-grouch/Makefile
==============================================================================
--- head/devel/py-grouch/Makefile	Fri Dec 27 10:12:13 2013	(r337684)
+++ head/devel/py-grouch/Makefile	Fri Dec 27 10:13:43 2013	(r337685)
@@ -10,24 +10,22 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	Grouch-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A system for describing and enforcing a Python object schema
+COMMENT=	System for describing and enforcing a Python object schema
 
-USE_PYTHON=	-2.7
+USE_PYTHON=	2
 USE_PYDISTUTILS=	yes
-PYDISTUTILS_PKGNAME=	Grouch
+PYDISTUTILS_AUTOPLIST=	yes
+
+PORTDOCS=	*
+PORTEXAMPLES=	*
 
-NO_STAGE=	yes
 post-install:
-.if !defined(NOPORTDOCS)
-	@ ${MKDIR} ${DOCSDIR}
-.for docfile in CHANGES LICENSE README
-	@ ${INSTALL_DATA} ${WRKSRC}/${docfile}.txt ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for docfile in CHANGES README
+	${INSTALL_DATA} ${WRKSRC}/${docfile}.txt ${STAGEDIR}${DOCSDIR}
 .endfor
-	@ ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
-.endif
-.if !defined(NOPORTEXAMPLES)
-	@ ${MKDIR} ${EXAMPLESDIR}
-	@ ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
-.endif
+	${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>



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