Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2013 12:00:11 +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: r338095 - head/textproc/py-rxp
Message-ID:  <201312301200.rBUC0BE5004129@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Mon Dec 30 12:00:10 2013
New Revision: 338095
URL: http://svnweb.freebsd.org/changeset/ports/338095

Log:
  textproc/py-rxp: support staging and use auto plist

Deleted:
  head/textproc/py-rxp/pkg-plist
Modified:
  head/textproc/py-rxp/Makefile

Modified: head/textproc/py-rxp/Makefile
==============================================================================
--- head/textproc/py-rxp/Makefile	Mon Dec 30 11:56:34 2013	(r338094)
+++ head/textproc/py-rxp/Makefile	Mon Dec 30 12:00:10 2013	(r338095)
@@ -16,20 +16,16 @@ COMMENT=	Fast validating XML parser for 
 NO_WRKSUBDIR=	yes
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
-PYDISTUTILS_PKGNAME=	pyRXP
-PYDISTUTILS_PKGVERSION=	0.5
+PYDISTUTILS_AUTOPLIST=	yes
 
-EXAMPLESDIR=	${PREFIX}/share/examples/py-rxp
 DOCSDIR=	${PREFIX}/share/doc/py-rxp
+EXAMPLESDIR=	${PREFIX}/share/examples/py-rxp
+PORTDOCS=	*
+PORTEXAMPLES=	*
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
-.if !defined(NOPORTDOCS)
 post-install:
-	@${MKDIR} ${EXAMPLESDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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