Date: Fri, 3 Aug 2018 09:58:59 +0200 From: Mathieu Arnold <mat@FreeBSD.org> To: Martin Matuska <mm@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r476236 - in head/devel: . libubox Message-ID: <20180803075859.vqzjcnywaszawuah@atuin.in.mat.cc> In-Reply-To: <201808021504.w72F4eXY051791@repo.freebsd.org> References: <201808021504.w72F4eXY051791@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--tpbbo34urzvdmjmb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 02, 2018 at 03:04:40PM +0000, Martin Matuska wrote: > +maintainer-fetch: > + @${MAKE} clean > + @${MKDIR} ${WRKSRC} > + @git clone ${LIBUBOX_GITURL} ${WRKSRC} > + @cd ${WRKSRC} && git reset --hard ${DISTVERSIONSUFFIX:S|^-||} > + @${TAR} -c -J -f ${_DISTDIR:S|/$||}/${DISTFILES:M${PORTNAME}-*} \ > + -C ${WRKDIR} --exclude .git ${WRKSRC:S|${WRKDIR}/||} > + @${MAKE} makesum > + @${MAKE} clean You may want to look at git-archive(1), it would replace the reset and tar. Something like: git archive --format=3Dtar.gz --prefix=3D${DISTNAME}/ ${DISTVERSION} > ${_D= ISTDIR}/${DISTNAME}.tar.Gz --=20 Mathieu Arnold --tpbbo34urzvdmjmb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEOraXidLtEhBkQLpbOkUW81GDzkgFAltkC0NfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNB QjY5Nzg5RDJFRDEyMTA2NDQwQkE1QjNBNDUxNkYzNTE4M0NFNDgACgkQOkUW81GD zkgQfQ/+IVHyJAfvbd93DDrHGCkFcCBtFao+wFIH01vTgJtgZJiJBle9S0VxdrIn DSSRcWf7Hg2cXunqRqRbOumNcwX+U8GjV9fHRY9btjV0uc36xXWPImvc3MYoctI7 GpUto+upVuXALTCIoHh1onkh1X6SNpVcf21hc/AVuxKdDQjJzhCy9Q5vk4P+w0OG tzgcrYFpX84ksfMQ/mYcwGqCD8GNJjyvIq/hJQ/3kRFzznJT6or/vuZ7tq1XvR8X DSlZ9gqWuI5U2LLAPN+fX2EFZZmcU9bNKQlKoIC94DjOWaxpqC3+AU2bFQYVjPJt xOKQGXP+XYg7AXC629BNFVFsjErREU9g71ZzHLnhYAy+h9SGa/MHiA6OqCTtSvBN uQGYooQl2yeaSh9YP3wbx7k+epw9wSFU4d84yGyMxYSkNKV+VToqzlN4vxxffDcB nS6BQrfbxq2u2y23vvVp5NMurFl1kqL28g0bZaOz0Mu0+YmSelZwpr2iXDKDQH7l RTVBH+3756rJ2L4OryjaKnlFud9H796cN8Ue4pR8ay5Bb9fdR5sEP8sL/Yr+nR8X ZJsTpuaj1dVaepbRUODRfQ29PxGJX9JSfvDygDVFXbi441Bfe2U6q6qnu4hdByZi NtGl2OkP6p8ccs0Y/iUFNL0Oh9qftLycd4a25Liv0g+902ngJPM= =GfwJ -----END PGP SIGNATURE----- --tpbbo34urzvdmjmb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180803075859.vqzjcnywaszawuah>