Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 10:51:57 +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: r337705 - head/devel/py-plex
Message-ID:  <201312271051.rBRApv15087667@svn.freebsd.org>

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

Log:
  devel/py-plex: support staging

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

Modified: head/devel/py-plex/Makefile
==============================================================================
--- head/devel/py-plex/Makefile	Fri Dec 27 10:46:54 2013	(r337704)
+++ head/devel/py-plex/Makefile	Fri Dec 27 10:51:57 2013	(r337705)
@@ -13,22 +13,23 @@ COMMENT=	Lexical Analysis Module for Pyt
 
 USE_PYTHON=	yes
 USE_PYDISTUTILS=yes
+PYDISTUTILS_AUTOPLIST=	yes
 
 NO_WRKSUBDIR=	yes
-DOCSDIR=	share/doc/${PKGNAMEPREFIX}${PORTNAME}
-EXAMPLESDIR=	share/examples/${PKGNAMEPREFIX}${PORTNAME}
+DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+EXAMPLESDIR=	${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
+
+PORTDOCS=	*
+PORTEXAMPLES=	*
 
-NO_STAGE=	yes
 post-extract:
 	${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|g' ${FILESDIR}/setup.py \
 		> ${WRKSRC}/setup.py
 
 post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${PREFIX}/${DOCSDIR}
-	cd ${WRKSRC}/doc && ${INSTALL_DATA} ./* ${PREFIX}/${DOCSDIR}
-	${MKDIR} ${PREFIX}/${EXAMPLESDIR}
-	cd ${WRKSRC}/examples && ${INSTALL_DATA} ./* ${PREFIX}/${EXAMPLESDIR}
-.endif
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/doc && ${INSTALL_DATA} ./* ${STAGEDIR}${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	cd ${WRKSRC}/examples && ${INSTALL_DATA} ./* ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>



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