Date: Fri, 12 Sep 2014 21:47:57 +0000 (UTC) From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368068 - head/www/qooxdoo Message-ID: <201409122147.s8CLlvrn079856@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adamw Date: Fri Sep 12 21:47:57 2014 New Revision: 368068 URL: http://svnweb.freebsd.org/changeset/ports/368068 QAT: https://qat.redports.org/buildarchive/r368068/ Log: Update to 4.0.1. The plist was thousands of lines long, and with this update became over 1MB. Switch to a dynamically-generated plist. Deleted: head/www/qooxdoo/pkg-plist Modified: head/www/qooxdoo/Makefile head/www/qooxdoo/distinfo Modified: head/www/qooxdoo/Makefile ============================================================================== --- head/www/qooxdoo/Makefile Fri Sep 12 21:15:15 2014 (r368067) +++ head/www/qooxdoo/Makefile Fri Sep 12 21:47:57 2014 (r368068) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= qooxdoo -PORTVERSION= 2.1.1 -PORTREVISION= 0 +PORTVERSION= 4.0.1 CATEGORIES= www devel MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-current/${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-sdk @@ -14,37 +13,43 @@ COMMENT= Comprehensive and innovative Aj LICENSE= LGPL3 EPL LICENSE_COMB= dual -FIND_FILES= ${WRKSRC} -type f -name "*.py" -print0 -FIND_FILES_BAK= ${WRKSRC} -type f -and \( -name "*.orig" -or -name "*.bak" \) - -QXDDIRS= component framework tool - -REINPLACE_ARGS= -e 's,/usr/bin/env python,&${PYTHON_VER},' -i.bak - -USE_PYTHON= 2 -USES= zip - -SHAREMODE= 644 +USES= zip python:2 OPTIONS_DEFINE= DOCS EXAMPLES +PORTDOCS= * +PORTEXAMPLES= * + post-patch: - ${FIND} ${FIND_FILES} | ${XARGS} -0 ${REINPLACE_CMD} - ${FIND} ${FIND_FILES_BAK} -delete + ${FIND} ${WRKSRC} -type f -name '*.py' -print0 | ${XARGS} -0 \ + ${REINPLACE_CMD} -e 's|/usr/bin/env python|&${PYTHON_VER}|' + ${FIND} ${WRKSRC} -type f -and \( -name '*.orig' -or -name '*.bak' \) -delete do-build: ${PYTHON_CMD} -m compileall -f ${WRKSRC}/tool ${PYTHON_CMD} -O -m compileall -f ${WRKSRC}/tool do-install: - ${MKDIR} ${STAGEDIR}${DATADIR} -.for D in ${QXDDIRS} - cd ${WRKSRC} && ${COPYTREE_SHARE} ${D} ${STAGEDIR}${DATADIR} -.endfor - cd ${WRKSRC}/documentation/manual && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC}/application && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/version.txt ${STAGEDIR}${DATADIR} - ${CHMOD} ${BINMODE} ${STAGEDIR}${DATADIR}/tool/bin/*.py - ${INSTALL_SCRIPT} ${WRKSRC}/create-application.py ${STAGEDIR}${DATADIR}/create-application.py + @${MKDIR} ${STAGEDIR}${DATADIR} + (cd ${WRKSRC} && ${COPYTREE_SHARE} \ + "create-application.py component framework tool version.txt" \ + ${STAGEDIR}${DATADIR}) + (cd ${WRKSRC}/documentation/manual && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + (cd ${WRKSRC}/application && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) + +# build plist +# make the python files executable + @${ECHO_CMD} '@mode ${BINMODE}' >> ${TMPPLIST} + @${FIND} ${STAGEDIR}${DATADIR} -type f -name '*.py' | ${SORT} | \ + ${SED} -e 's|^${STAGEDIR}${PREFIX}/||' >> ${TMPPLIST} + + @${ECHO_CMD} '@mode 644' >> ${TMPPLIST} + @${FIND} ${STAGEDIR}${DATADIR} -type f \! -name '*.py' | ${SORT} | \ + ${SED} -e 's|^${STAGEDIR}${PREFIX}/||' >> ${TMPPLIST} + + @${ECHO_CMD} '@mode' >> ${TMPPLIST} + @${FIND} ${STAGEDIR}${DATADIR}/* -type d | ${SORT} -r | \ + ${SED} -e 's|^${STAGEDIR}${PREFIX}/|@dirrmtry |' >> ${TMPPLIST} + @${ECHO_CMD} '@dirrmtry ${DATADIR_REL}' >> ${TMPPLIST} .include <bsd.port.mk> Modified: head/www/qooxdoo/distinfo ============================================================================== --- head/www/qooxdoo/distinfo Fri Sep 12 21:15:15 2014 (r368067) +++ head/www/qooxdoo/distinfo Fri Sep 12 21:47:57 2014 (r368068) @@ -1,2 +1,2 @@ -SHA256 (qooxdoo-2.1.1-sdk.zip) = c4c8a566fdb66c35ff8d6be543b9159c40532f43256ba25e54df1b35f001d9c0 -SIZE (qooxdoo-2.1.1-sdk.zip) = 39437905 +SHA256 (qooxdoo-4.0.1-sdk.zip) = 29f5500a64b98955a3eb66740a0c879b3ff96d12ef04c526b645879f65e4d5dc +SIZE (qooxdoo-4.0.1-sdk.zip) = 44858618
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409122147.s8CLlvrn079856>