[Midnightbsd-cvs] mports [19467] trunk/devel: add gnulib

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Jun 10 18:48:59 EDT 2015


Revision: 19467
          http://svnweb.midnightbsd.org/mports/?rev=19467
Author:   laffer1
Date:     2015-06-10 18:48:59 -0400 (Wed, 10 Jun 2015)
Log Message:
-----------
add gnulib

Modified Paths:
--------------
    trunk/devel/Makefile

Added Paths:
-----------
    trunk/devel/gnulib/
    trunk/devel/gnulib/Makefile
    trunk/devel/gnulib/distinfo
    trunk/devel/gnulib/pkg-descr

Modified: trunk/devel/Makefile
===================================================================
--- trunk/devel/Makefile	2015-06-10 22:44:41 UTC (rev 19466)
+++ trunk/devel/Makefile	2015-06-10 22:48:59 UTC (rev 19467)
@@ -97,6 +97,7 @@
 SUBDIR += gnome-common
 SUBDIR += gnome-js-common
 SUBDIR += gnome-vfs
+SUBDIR += gnulib
 SUBDIR += gnustep
 SUBDIR += gnustep-make
 SUBDIR += gobject-introspection

Added: trunk/devel/gnulib/Makefile
===================================================================
--- trunk/devel/gnulib/Makefile	                        (rev 0)
+++ trunk/devel/gnulib/Makefile	2015-06-10 22:48:59 UTC (rev 19467)
@@ -0,0 +1,50 @@
+# $MidnightBSD$
+# $FreeBSD: head/devel/gnulib/Makefile 359172 2014-06-24 22:52:47Z bapt $
+
+PORTNAME=	gnulib
+PORTVERSION=	20140202
+CATEGORIES=	devel
+MASTER_SITES=	http://erislabs.net/ianb/projects/gnulib/
+DISTNAME=	${PORTNAME}-${PORTVERSION}-stable
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	GNU portability library
+
+LICENSE=	lgpl gpl2 lgpl2.1 gpl3 lgpl3
+LICENSE_COMB=	multi
+
+BUILD_DEPENDS=	${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
+
+USES=		gmake perl5 shebangfix
+SHEBANG_FILES=	check-module
+
+PLIST_FILES=	bin/check-module bin/gnulib-tool
+INFO=		${PORTNAME}
+PORTDOCS=	gnulib.html
+PORTDATA=	*
+
+OPTIONS_DEFINE=	DOCS
+
+post-patch:
+	${REINPLACE_CMD} -e 's/date -u.*/stat -f %Sa -t "@set UPDATED %F %T" `ls -t $$^ | sed 1q` > $$@/' \
+		-e 's: makeinfo$$: ${LOCALBASE}/bin/makeinfo:' \
+		${WRKSRC}/doc/Makefile
+
+do-build:
+	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C doc info html
+
+do-install:
+	${MKDIR} ${DATADIR} ${PREFIX}/${INFO_PATH}
+	for p in check-module gnulib-tool;\
+		do ${INSTALL_SCRIPT} ${WRKSRC}/$$p ${DATADIR};\
+			cd ${PREFIX}/bin;\
+			${LN} -s ../${DATADIR_REL}/$$p;\
+		done
+	${TAR} -cf - -C ${WRKSRC} build-aux config doc lib m4 modules \
+		tests top | ${TAR} -xof - -C ${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/gnulib.info \
+		${PREFIX}/${INFO_PATH}
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/gnulib.html ${DOCSDIR}
+
+.include <bsd.port.mk>


Property changes on: trunk/devel/gnulib/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/gnulib/distinfo
===================================================================
--- trunk/devel/gnulib/distinfo	                        (rev 0)
+++ trunk/devel/gnulib/distinfo	2015-06-10 22:48:59 UTC (rev 19467)
@@ -0,0 +1,2 @@
+SHA256 (gnulib-20140202-stable.tar.gz) = 9f028f48e60f066bf511a969c519da705eeefb20d54a80dce88afd0935a845e1
+SIZE (gnulib-20140202-stable.tar.gz) = 5297856


Property changes on: trunk/devel/gnulib/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/gnulib/pkg-descr
===================================================================
--- trunk/devel/gnulib/pkg-descr	                        (rev 0)
+++ trunk/devel/gnulib/pkg-descr	2015-06-10 22:48:59 UTC (rev 19467)
@@ -0,0 +1,14 @@
+Gnulib, the GNU portability library, offers a macro system and C
+declarations and definitions for commonly-used API elements and
+abstracted system behaviors. It can be used to improve portability and
+other functionality in your programs. 
+
+Gnulib takes a different approach than libiberty. Gnulib components are
+intended to be shared at the source level, rather than being a library that
+gets built, installed, and linked against. Thus, there is no distribution
+tarball; the idea is to copy files from Gnulib into your own source tree.
+
+However, there are bimonthly stable snapshots of the Gnulib codebase
+published at http://erislabs.net/ianb/projects/gnulib/
+
+WWW: http://www.gnu.org/software/gnulib/


Property changes on: trunk/devel/gnulib/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list