Date: Sun, 16 Feb 2014 12:49:24 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r344556 - head/java/dbvis Message-ID: <201402161249.s1GCnON6022355@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Sun Feb 16 12:49:24 2014 New Revision: 344556 URL: http://svnweb.freebsd.org/changeset/ports/344556 QAT: https://qat.redports.org/buildarchive/r344556/ Log: Stage support Modified: head/java/dbvis/Makefile Modified: head/java/dbvis/Makefile ============================================================================== --- head/java/dbvis/Makefile Sun Feb 16 12:35:37 2014 (r344555) +++ head/java/dbvis/Makefile Sun Feb 16 12:49:24 2014 (r344556) @@ -16,21 +16,17 @@ NO_BUILD= yes RESTRICTED= Redistribution is not permitted PLIST_FILES= bin/dbvis -WRKSRC= DbVisualizer-${PORTVERSION} +WRKSRC= ${WRKDIR}/DbVisualizer-${PORTVERSION} -NO_STAGE= yes do-install: - cd ${WRKDIR}/${WRKSRC} \ - && ${FIND} . -type d -exec ${MKDIR} ${DATADIR}/{} \; \ - && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \; \ - && ${LN} -s ${DATADIR}/dbvis ${PREFIX}/bin/dbvis \ - && ${CHMOD} a+x ${DATADIR}/dbvis + cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} + ${LN} -sf ${DATADIR}/dbvis ${STAGEDIR}${PREFIX}/bin/dbvis + ${CHMOD} a+x ${STAGEDIR}${DATADIR}/dbvis post-install: - cd ${WRKDIR}/${WRKSRC} && \ - ${FIND} ${DATADIR} -not -type d \ - | ${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST} - ${FIND} -d ${DATADIR} -type d \ - | ${SED} -ne 's,^${PREFIX}/,@dirrm ,p' >> ${TMPPLIST} + ${FIND} ${STAGEDIR}${DATADIR} -not -type d \ + | ${SED} -ne 's,^${STAGEDIR}${PREFIX}/,,p' >> ${TMPPLIST} + ${FIND} -d ${STAGEDIR}${DATADIR} -type d \ + | ${SED} -ne 's,^${STAGEDIR}${PREFIX}/,@dirrm ,p' >> ${TMPPLIST} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402161249.s1GCnON6022355>