Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2015 15:25:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 198709] [New port] devel/unibilium:  a terminfo parsing library
Message-ID:  <bug-198709-13-m8weWwuIdt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-198709-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-198709-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198709

Dmitry Marakasov <amdmi3@FreeBSD.org> changed:

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198709-13-m8weWwuIdt>