Summary: | [New port] devel/unibilium: a terminfo parsing library | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Anton Törnqvist <antont> | ||||||
Component: | Individual Port(s) | Assignee: | Dmitry Marakasov <amdmi3> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | amdmi3 | ||||||
Priority: | --- | ||||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 198711, 198713 | ||||||||
Attachments: |
|
Created attachment 154524 [details]
poudriere-buildlog-10amd64-unibilium
This needs improvements and modernization. For instance, you may not use GH_COMMIT. Are you ok with these? - Properly use github tags, changes distinfo - Add LICENSE_FILE - Build needs pod2man from perl5 - Strip .so to not update this line when lib version changes --- unibilium.orig/Makefile 2015-05-27 18:09:39.099072000 +0300 +++ unibilium/Makefile 2015-05-27 18:08:46.708875000 +0300 @@ -3,25 +3,26 @@ PORTNAME= unibilium PORTVERSION= 1.1.2 +DISTVERSIONPREFIX= v CATEGORIES= devel MAINTAINER= antont@inbox.lv COMMENT= Unibilium is a very basic terminfo library LICENSE= LGPL3 +LICENSE_FILE= ${WRKSRC}/LGPLv3 USE_GITHUB= yes GH_ACCOUNT= mauke -GH_COMMIT= d7c348a -GH_TAGNAME= v${PORTVERSION} -USES= gmake libtool:build pkgconfig +USES= gmake libtool:build perl5 pkgconfig +USE_PERL5= build USE_LDCONFIG= yes pre-build: ${REINPLACE_CMD} -e 's|$$(LIBDIR)/pkgconfig|${PREFIX}/libdata/pkgconfig|g' ${WRKSRC}/Makefile -post-stage: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libunibilium.so.0.2.1 +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libunibilium.so .include <bsd.port.mk> diff -u unibilium.orig/distinfo unibilium/distinfo --- unibilium.orig/distinfo 2015-05-27 18:09:39.097738000 +0300 +++ unibilium/distinfo 2015-05-27 18:06:41.958965000 +0300 @@ -1,2 +1,2 @@ -SHA256 (unibilium-1.1.2.tar.gz) = 5c9570ee0cbdb0062f86d580672e2d134b6c8240a96bc8eab2cd91a24998f147 -SIZE (unibilium-1.1.2.tar.gz) = 76845 +SHA256 (mauke-unibilium-v1.1.2_GH0.tar.gz) = bdf3750b9e6ecdb30ba42dd0ef041c34222051495ff420c8c76d391f11e149e3 +SIZE (mauke-unibilium-v1.1.2_GH0.tar.gz) = 76823 Looks good. A commit references this bug: Author: amdmi3 Date: Thu May 28 09:17:03 UTC 2015 New revision: 387712 URL: https://svnweb.freebsd.org/changeset/ports/387712 Log: Unibilium is a very basic terminfo library. It doesn't depend on curses or any other library. It also doesn't use global variables, so it should be thread-safe. WWW: https://github.com/mauke/unibilium PR: 198709 Submitted by: antont@inbox.lv Changes: head/devel/Makefile head/devel/unibilium/ head/devel/unibilium/Makefile head/devel/unibilium/distinfo head/devel/unibilium/pkg-descr head/devel/unibilium/pkg-plist |
Created attachment 154523 [details] unibilium.shar