Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2014 17:21:21 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r342047 - branches/2014Q1/textproc/dblatex
Message-ID:  <201401311721.s0VHLLhY015323@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Fri Jan 31 17:21:21 2014
New Revision: 342047
URL: http://svnweb.freebsd.org/changeset/ports/342047
QAT: https://qat.redports.org/buildarchive/r342047/

Log:
  MFH: r337966
  
  - Fix packaging after switch to setuptools (egginfo in plist)
  - Stage support
  - Use PYDISTUTILS_AUTOPLIST
  
  Approved by:	portmgr (implicit)

Deleted:
  branches/2014Q1/textproc/dblatex/pkg-plist
Modified:
  branches/2014Q1/textproc/dblatex/Makefile
Directory Properties:
  branches/2014Q1/   (props changed)

Modified: branches/2014Q1/textproc/dblatex/Makefile
==============================================================================
--- branches/2014Q1/textproc/dblatex/Makefile	Fri Jan 31 17:13:46 2014	(r342046)
+++ branches/2014Q1/textproc/dblatex/Makefile	Fri Jan 31 17:21:21 2014	(r342047)
@@ -16,23 +16,23 @@ RUN_DEPENDS=	xsltproc:${PORTSDIR}/textpr
 
 USE_BZIP2=	yes
 USE_TEX=	tex
-USE_PYTHON=	2.5+
+USE_PYTHON=	yes
 USE_PYDISTUTILS=yes
-PYDISTUTILS_INSTALLARGS=	-c -O1 --prefix=${PREFIX} \
-				--catalogs=${PREFIX}/share/xml/catalog.ports
+PYDISTUTILS_AUTOPLIST=yes
 
-PYDISTUTILS_NOEGGINFO=	yes
-PLIST_SUB+=	PYDISTUTILS_EGGINFO=${PYDISTUTILS_EGGINFO}
+OPTIONS_DEFINE=	DOCS
 
-MAN1=		dblatex.1
-MANCOMPRESSED=	yes
+.include <bsd.port.options.mk>
 
-NO_STAGE=	yes
 post-patch:
-.if defined(NOPORTDOCS)
+.if ! ${PORT_OPTIONS:MDOCS}
 	@${REINPLACE_CMD} -e '/pdfdocs),/d' ${WRKSRC}/setup.py
 	@${REINPLACE_CMD} -e '/htmldoc)/d' ${WRKSRC}/setup.py
 .endif
 	@${REINPLACE_CMD} -e "s,share/man/man1,man/man1,g" ${WRKSRC}/setup.py
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+PYDISTUTILS_INSTALLARGS+=	--catalogs=${PREFIX}/share/xml/catalog.ports
+
+.include <bsd.port.post.mk>



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