Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2013 11:56:34 +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: r338094 - head/textproc/py-ltxml
Message-ID:  <201312301156.rBUBuYvd003512@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Mon Dec 30 11:56:34 2013
New Revision: 338094
URL: http://svnweb.freebsd.org/changeset/ports/338094

Log:
  textproc/py-ltxml: support staging and minor changes

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

Modified: head/textproc/py-ltxml/Makefile
==============================================================================
--- head/textproc/py-ltxml/Makefile	Mon Dec 30 11:51:07 2013	(r338093)
+++ head/textproc/py-ltxml/Makefile	Mon Dec 30 11:56:34 2013	(r338094)
@@ -17,12 +17,14 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
-PYDISTUTILS_PKGNAME=	PyLTXML
+PYDISTUTILS_AUTOPLIST=	yes
 USE_LDCONFIG=	yes
+
 DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
 EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
+PORTDOCS=	*
+PORTEXAMPLES=	*
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "amd64" || ${ARCH} == "ia64"
@@ -33,10 +35,8 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|/group/ltg/projects/lcontrib9|${LOCALBASE}|' ${WRKSRC}/setup.py
 
 post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/00README ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/example/* ${EXAMPLESDIR}
-.endif
+	${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/00README ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/example/* ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.post.mk>



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