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. WWW: http://www.gnu.org/software/gnulib/
This commit is contained in:
parent
b28a16f990
commit
a663ed4f79
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251280
@ -482,6 +482,7 @@
|
||||
SUBDIR += gnome-vfsmm
|
||||
SUBDIR += gnome2-hacker-tools
|
||||
SUBDIR += gnucflow
|
||||
SUBDIR += gnulib
|
||||
SUBDIR += gnulibiberty
|
||||
SUBDIR += gnustep
|
||||
SUBDIR += gnustep-make
|
||||
|
53
devel/gnulib/Makefile
Normal file
53
devel/gnulib/Makefile
Normal file
@ -0,0 +1,53 @@
|
||||
# New ports collection makefile for: gnulib
|
||||
# Date created: 20 March 2010
|
||||
# Whom: Johans van Selst <johans@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= gnulib
|
||||
PORTVERSION= 20100308
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://erislabs.net/ianb/projects/gnulib/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-stable
|
||||
|
||||
MAINTAINER= johans@FreeBSD.org
|
||||
COMMENT= GNU portability library
|
||||
|
||||
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_PERL5_RUN= yes
|
||||
|
||||
PLIST_FILES= bin/check-module bin/gnulib-tool
|
||||
INFO= ${PORTNAME}
|
||||
PORTDATA= *
|
||||
|
||||
.ifndef NOPORTDOCS
|
||||
PLIST_DIRS+= %%DOCSDIR%%
|
||||
PLIST_FILES+= %%DOCSDIR%%/${PORTNAME}.html
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's/date -u.*/stat -f %Sa -t "@set UPDATED %F %T" `ls -t $$^ | sed 1q` > $$@/' ${WRKSRC}/doc/Makefile
|
||||
${REINPLACE_CMD} -e '1s@/bin/sh@${LOCALBASE}/bin/bash@' \
|
||||
${WRKSRC}/gnulib-tool
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${GMAKE} -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}/$$p;\
|
||||
done
|
||||
cd ${WRKSRC} && \
|
||||
${CP} -a build-aux config doc lib m4 modules tests ${DATADIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/gnulib.info ${PREFIX}/${INFO_PATH}
|
||||
.ifndef NOPORTDOCS
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/gnulib.html ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/gnulib/distinfo
Normal file
3
devel/gnulib/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gnulib-20100308-stable.tar.gz) = 3a0ebdd0d43f3c175fa8ae3504fe3983
|
||||
SHA256 (gnulib-20100308-stable.tar.gz) = b16a791294ff5b260b5218edd997e8900403c169fa27ee3101a190018c16ad4a
|
||||
SIZE (gnulib-20100308-stable.tar.gz) = 4157001
|
14
devel/gnulib/pkg-descr
Normal file
14
devel/gnulib/pkg-descr
Normal file
@ -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/
|
Loading…
Reference in New Issue
Block a user