ports/184317: [PATCH] devel/libbegemot: [Staging support]

Ilya A. Arkhipov rum1cro at yandex.ru
Tue Nov 26 20:40:03 UTC 2013


>Number:         184317
>Category:       ports
>Synopsis:       [PATCH] devel/libbegemot: [Staging support]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 26 20:40:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Ilya A. Arkhipov
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
Home Inc. ^_^
>Environment:
FreeBSD mhome 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Thu Mar 29 18:04:50 UTC 2012
>Description:
[PATCH] devel/libbegemot: [Staging support]
>How-To-Repeat:

>Fix:
--- libbegemot-1.11_3.patch begins here ---
Index: Makefile
===================================================================
--- Makefile    (revision 334970)
+++ Makefile    (working copy)
@@ -5,14 +5,19 @@
 PORTVERSION=   1.11
 PORTREVISION=  3
 CATEGORIES=    devel
-MASTER_SITES=  http://people.freebsd.org/~harti/libbegemot/
-DISTNAME=      libbegemot-${PORTVERSION}
+MASTER_SITES=  http://people.freebsd.org/~harti/libbegemot/ \
+               http://m1cro.tk/ports/distfiles/libbegemot/

 MAINTAINER=    rum1cro at yandex.ru
 COMMENT=       A function library for begemot tools

+LICENSE=       BSD2CLAUSE
+LICENSE_NAME=  FreeBSD BSD Variant (2 clause BSD)
+LICENSE_FILE=  ${WRKDIR}/libbegemot-${PORTVERSION}/COPYRIGHT
+LICENSE_PERMS= auto-accept
+
 GNU_CONFIGURE= yes
-USE_GMAKE=     yes
+USES=  gmake
 USE_AUTOTOOLS= automake:env autoconf:env libltdl libtool
 USE_LDCONFIG=  yes
 MAKE_JOBS_UNSAFE=      yes
@@ -19,9 +24,7 @@

 MAN1=  cstrc.1 frame.1 getfields.1 intro.1 panic.1 prstat.1 readline.1 \
                rpoll.1 strnchr.1 strnlen.1 strsave.1 strtrimsp.1 verb.1 xalloc.1
-MLINKS=        xalloc.1 xrealloc.1

-NO_STAGE=      yes
 run-autotools::
        @(cd ${CONFIGURE_WRKSRC} && ${ACLOCAL} -I ${LIBTOOL_SHAREDIR}/libltdl/)
        @(cd ${CONFIGURE_WRKSRC} && ${AUTOCONF})
@@ -32,7 +35,7 @@
 post-install:
 .for i in ${MAN1}
        @${CP} ${WRKSRC}/${i:S/.1/.man/} ${WRKSRC}/${i}
-       ${INSTALL_MAN} ${WRKSRC}/${i} ${MANPREFIX}/man/man1
+       ${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${MANPREFIX}/man/man1
 .endfor

 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
--- pkg-plist   (revision 334970)
+++ pkg-plist   (working copy)
@@ -1,6 +1,20 @@
+include/begemot.h
+include/rpoll.h
 lib/libbegemot.a
 lib/libbegemot.la
 lib/libbegemot.so
 lib/libbegemot.so.1
-include/begemot.h
-include/rpoll.h
+man/man1/cstrc.1.gz
+man/man1/frame.1.gz
+man/man1/getfields.1.gz
+man/man1/intro.1.gz
+man/man1/panic.1.gz
+man/man1/prstat.1.gz
+man/man1/readline.1.gz
+man/man1/rpoll.1.gz
+man/man1/strnchr.1.gz
+man/man1/strnlen.1.gz
+man/man1/strsave.1.gz
+man/man1/strtrimsp.1.gz
+man/man1/verb.1.gz
+man/man1/xalloc.1.gz
--- libbegemot-1.11_3.patch ends here ---


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 334963)
+++ Makefile	(working copy)
@@ -5,14 +5,19 @@
 PORTVERSION=	1.11
 PORTREVISION=	3
 CATEGORIES=	devel
-MASTER_SITES=	http://people.freebsd.org/~harti/libbegemot/
-DISTNAME=	libbegemot-${PORTVERSION}
+MASTER_SITES=	http://people.freebsd.org/~harti/libbegemot/ \
+		http://m1cro.tk/ports/distfiles/libbegemot/
 
 MAINTAINER=	rum1cro at yandex.ru
 COMMENT=	A function library for begemot tools
 
+LICENSE=	BSD2CLAUSE
+LICENSE_NAME=	FreeBSD BSD Variant (2 clause BSD)
+LICENSE_FILE=	${WRKDIR}/libbegemot-${PORTVERSION}/COPYRIGHT
+LICENSE_PERMS=	auto-accept
+
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+USES=	gmake
 USE_AUTOTOOLS=	automake:env autoconf:env libltdl libtool
 USE_LDCONFIG=	yes
 MAKE_JOBS_UNSAFE=	yes
@@ -19,9 +24,7 @@
 
 MAN1=	cstrc.1 frame.1 getfields.1 intro.1 panic.1 prstat.1 readline.1 \
 		rpoll.1 strnchr.1 strnlen.1 strsave.1 strtrimsp.1 verb.1 xalloc.1
-MLINKS=	xalloc.1 xrealloc.1
 
-NO_STAGE=	yes
 run-autotools::
 	@(cd ${CONFIGURE_WRKSRC} && ${ACLOCAL} -I ${LIBTOOL_SHAREDIR}/libltdl/)
 	@(cd ${CONFIGURE_WRKSRC} && ${AUTOCONF})
@@ -32,7 +35,7 @@
 post-install:
 .for i in ${MAN1}
 	@${CP} ${WRKSRC}/${i:S/.1/.man/} ${WRKSRC}/${i}
-	${INSTALL_MAN} ${WRKSRC}/${i} ${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${MANPREFIX}/man/man1
 .endfor
 
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 334963)
+++ pkg-plist	(working copy)
@@ -1,6 +1,20 @@
+include/begemot.h
+include/rpoll.h
 lib/libbegemot.a
 lib/libbegemot.la
 lib/libbegemot.so
 lib/libbegemot.so.1
-include/begemot.h
-include/rpoll.h
+man/man1/cstrc.1.gz
+man/man1/frame.1.gz
+man/man1/getfields.1.gz
+man/man1/intro.1.gz
+man/man1/panic.1.gz
+man/man1/prstat.1.gz
+man/man1/readline.1.gz
+man/man1/rpoll.1.gz
+man/man1/strnchr.1.gz
+man/man1/strnlen.1.gz
+man/man1/strsave.1.gz
+man/man1/strtrimsp.1.gz
+man/man1/verb.1.gz
+man/man1/xalloc.1.gz


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list