[Bug 198709] [New port] devel/unibilium: a terminfo parsing library

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 27 15:25:56 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198709

Dmitry Marakasov <amdmi3 at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress
                 CC|                            |amdmi3 at FreeBSD.org
           Assignee|freebsd-ports-bugs at FreeBSD. |amdmi3 at FreeBSD.org
                   |org                         |

--- Comment #2 from Dmitry Marakasov <amdmi3 at FreeBSD.org> ---
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 at 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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list