Created attachment 154529 [details] libvterm.shar
Created attachment 154530 [details] poudriere-buildlog-10amd64-libvterm
Likewise, suggested changes: - use date instead of fake version in PORTVERSION - add LICENSE_FILE - properly use github (change distinfo) - strip unversioned .so diff -ruN libvterm.orig/Makefile libvterm/Makefile --- libvterm.orig/Makefile 2015-05-27 18:33:39.535858000 +0300 +++ libvterm/Makefile 2015-05-27 18:31:18.886569000 +0300 @@ -2,18 +2,18 @@ # $FreeBSD$ PORTNAME= libvterm -PORTVERSION= 0.0.1 +PORTVERSION= git20150527 CATEGORIES= devel -MASTER_SITES= http://github.com/neovim/libvterm/archive/ -COMMIT= 1b745d29d45623aa8d22a7b9288c7b0e331c7088 -DISTFILES= ${COMMIT}.tar.gz MAINTAINER= antont@inbox.lv COMMENT= Implementation of a VT220/xterm/ECMA-48 terminal emulator LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE -WRKSRC= ${WRKDIR}/${PORTNAME}-${COMMIT} +USE_GITHUB= yes +GH_ACCOUNT= neovim +GH_TAGNAME= 1b745d2 USES= gmake libtool:build perl5 USE_LDCONFIG= yes @@ -21,10 +21,10 @@ pre-build: ${REINPLACE_CMD} -e 's|$$(LIBDIR)/pkgconfig|${PREFIX}/libdata/pkgconfig|g' ${WRKSRC}/Makefile -post-stage: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libvterm.so.0.0.0 - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vterm-dump - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vterm-ctrl +post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/unterm + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vterm-ctrl + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vterm-dump + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libvterm.so .include <bsd.port.mk> diff -ruN libvterm.orig/distinfo libvterm/distinfo --- libvterm.orig/distinfo 2015-05-27 18:33:39.533526000 +0300 +++ libvterm/distinfo 2015-05-27 18:30:56.496999000 +0300 @@ -1,2 +1,2 @@ -SHA256 (1b745d29d45623aa8d22a7b9288c7b0e331c7088.tar.gz) = 3fc75908256c0d158d6c2a32d39f34e86bfd26364f5404b7d9c03bb70cdc3611 -SIZE (1b745d29d45623aa8d22a7b9288c7b0e331c7088.tar.gz) = 63733 +SHA256 (neovim-libvterm-git20150527-1b745d2_GH0.tar.gz) = fb9e25065f764cf23d0947cd17c9abd941fc1a22e0cd5e42d7ad59b3ff1f093f +SIZE (neovim-libvterm-git20150527-1b745d2_GH0.tar.gz) = 63714
Is submitter OK with these changes?
(In reply to Dmitry Marakasov from comment #3) I approve
A commit references this bug: Author: amdmi3 Date: Thu May 28 09:58:56 UTC 2015 New revision: 387715 URL: https://svnweb.freebsd.org/changeset/ports/387715 Log: Abstract C99 library which implements a VT220 or xterm-like terminal emulator. It doesn't use any particular graphics toolkit or output system, instead it invokes callback function pointers that its embedding program should provide it to draw on its behalf. It avoids calling malloc() during normal running state, allowing it to be used in embedded kernel situations. WWW: http://www.leonerd.org.uk/code/libvterm/ PR: 198712 Submitted by: antont@inbox.lv Changes: head/devel/Makefile head/devel/libvterm/ head/devel/libvterm/Makefile head/devel/libvterm/distinfo head/devel/libvterm/pkg-descr head/devel/libvterm/pkg-plist