diff options
author | johans <johans@FreeBSD.org> | 2010-03-21 01:05:56 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2010-03-21 01:05:56 +0800 |
commit | 88f7d7e033667a90255d0dbb30e0fbe04bc3e230 (patch) | |
tree | d44047815c288b0b91016e7218b7db749bb3000e /devel | |
parent | 632dc304d732375f73a82489c0779150ecf95380 (diff) | |
download | freebsd-ports-gnome-88f7d7e033667a90255d0dbb30e0fbe04bc3e230.tar.gz freebsd-ports-gnome-88f7d7e033667a90255d0dbb30e0fbe04bc3e230.tar.zst freebsd-ports-gnome-88f7d7e033667a90255d0dbb30e0fbe04bc3e230.zip |
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/
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/gnulib/Makefile | 53 | ||||
-rw-r--r-- | devel/gnulib/distinfo | 3 | ||||
-rw-r--r-- | devel/gnulib/pkg-descr | 14 |
4 files changed, 71 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 992ccf0f6204..8b8c9ed4cda2 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -482,6 +482,7 @@ SUBDIR += gnome-vfsmm SUBDIR += gnome2-hacker-tools SUBDIR += gnucflow + SUBDIR += gnulib SUBDIR += gnulibiberty SUBDIR += gnustep SUBDIR += gnustep-make diff --git a/devel/gnulib/Makefile b/devel/gnulib/Makefile new file mode 100644 index 000000000000..62958bcc52a3 --- /dev/null +++ b/devel/gnulib/Makefile @@ -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> diff --git a/devel/gnulib/distinfo b/devel/gnulib/distinfo new file mode 100644 index 000000000000..4b9f4fe2c78b --- /dev/null +++ b/devel/gnulib/distinfo @@ -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 diff --git a/devel/gnulib/pkg-descr b/devel/gnulib/pkg-descr new file mode 100644 index 000000000000..1c03db466780 --- /dev/null +++ b/devel/gnulib/pkg-descr @@ -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/ |