Date: Tue, 22 Apr 2014 09:52:49 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351787 - head/x11-toolkits/py-Pmw Message-ID: <201404220952.s3M9qnT6050652@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Tue Apr 22 09:52:49 2014 New Revision: 351787 URL: http://svnweb.freebsd.org/changeset/ports/351787 QAT: https://qat.redports.org/buildarchive/r351787/ Log: Support stage Modified: head/x11-toolkits/py-Pmw/Makefile Modified: head/x11-toolkits/py-Pmw/Makefile ============================================================================== --- head/x11-toolkits/py-Pmw/Makefile Tue Apr 22 09:50:21 2014 (r351786) +++ head/x11-toolkits/py-Pmw/Makefile Tue Apr 22 09:52:49 2014 (r351787) @@ -12,6 +12,7 @@ DISTNAME= ${PORTNAME}.${PORTVERSION} MAINTAINER= fmysh@iijmio-mail.jp COMMENT= High-level compound graphics widgets for Python +OPTIONS_DEFINE= DOCS EXAMPLES RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter LIB_DEPENDS= libBLT25.so:${PORTSDIR}/x11-toolkits/blt @@ -22,24 +23,13 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/src PMWVERSION= ${DISTNAME:R:S/./_/g} PLIST_SUB= PMWVERSION="${PMWVERSION}" -NO_STAGE= yes post-install: - @${MKDIR} ${DATADIR} - @(cd ${WRKSRC}/Pmw/${PMWVERSION}/bin; ${TAR} cf - .) | \ - (cd ${DATADIR}; ${TAR} -xof -) - -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @(cd ${WRKSRC}/Pmw/${PMWVERSION}/doc; ${TAR} cf - .) | \ - (cd ${DOCSDIR}; ${TAR} -xof -) -.endif - -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${DOCSDIR} \ + ${STAGEDIR}${EXAMPLESDIR} + @(cd ${WRKSRC}/Pmw/${PMWVERSION}/bin; ${PAX} -rw . ${STAGEDIR}${DATADIR}) + @(cd ${WRKSRC}/Pmw/${PMWVERSION}/doc; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .for d in contrib demos - @(cd ${WRKSRC}/Pmw/${PMWVERSION}; ${TAR} cf - $d) | \ - (cd ${EXAMPLESDIR}; ${TAR} -xof -) + @(cd ${WRKSRC}/Pmw/${PMWVERSION}; ${COPYTREE_SHARE} $d ${STAGEDIR}${EXAMPLESDIR}) .endfor -.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404220952.s3M9qnT6050652>