diff options
author | pav <pav@FreeBSD.org> | 2005-11-10 04:40:59 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-11-10 04:40:59 +0800 |
commit | fdb8c73759960db7e6500a35eb894c8971c8af42 (patch) | |
tree | 25d7493fa95de70ff0174031411240a57003fab0 /devel/baz | |
parent | eded89b52f42a96f9b40fa693affdfd85ca7347c (diff) | |
download | freebsd-ports-gnome-fdb8c73759960db7e6500a35eb894c8971c8af42.tar.gz freebsd-ports-gnome-fdb8c73759960db7e6500a35eb894c8971c8af42.tar.zst freebsd-ports-gnome-fdb8c73759960db7e6500a35eb894c8971c8af42.zip |
This is a new port of bazaar, a C implementation of GNU Arch (based on tla)
from Canonical. The difference between this and bazaar-ng is that this is the
"mainline" version of bazaar, beeing faster and more stable, while bazaar-ng is
the somwhat future platform. I thought it would be nice to have this in ports
as well, this is a very good implemenation that is easy to use, much easier
than TLA.
PR: ports/88476
Submitted by: Ulf Lilleengen <lulf@kerneled.org>
Diffstat (limited to 'devel/baz')
-rw-r--r-- | devel/baz/Makefile | 65 | ||||
-rw-r--r-- | devel/baz/distinfo | 3 | ||||
-rw-r--r-- | devel/baz/files/patch-pfs-signatures.c | 11 | ||||
-rw-r--r-- | devel/baz/pkg-descr | 7 | ||||
-rw-r--r-- | devel/baz/pkg-plist | 38 |
5 files changed, 124 insertions, 0 deletions
diff --git a/devel/baz/Makefile b/devel/baz/Makefile new file mode 100644 index 000000000000..a15b18e80bff --- /dev/null +++ b/devel/baz/Makefile @@ -0,0 +1,65 @@ +# Ports collection makefile for: bazaar +# Date created: 11 October 2005 +# Whom: Ulf Lilleengen +# +# $FreeBSD$ +# + +PORTNAME= bazaar +PORTVERSION= 1.4.2 +CATEGORIES= devel +MASTER_SITES= http://bazaar.canonical.com/releases/src/ +MASTER_SITE_SUBDIR= gnu-arch +DISTNAME= bazaar_${PORTVERSION} + +MAINTAINER= lulf@kerneled.org +COMMENT= An implementation of the GNU Arch RCS protocol in C by Canonical + +BUILD_DEPENDS= gmake:${PORTSDIR}/devel/gmake \ + gpatch:${PORTSDIR}/devel/patch \ + gdiff:${PORTSDIR}/textproc/diffutils \ + gtar:${PORTSDIR}/archivers/gtar +RUN_DEPENDS= ${BUILD_DEPENDS} +LIB_DEPENDS= neon.24:${PORTSDIR}/www/neon \ + gpgme.15:${PORTSDIR}/security/gpgme + +USE_GMAKE= yes +USE_GETTEXT= yes +USE_PERL5_BUILD=yes +GNU_CONFIGURE= yes + +MAN1= baz.1 + +MAJORVERSION= 1.4 +BASEWRKDIR= ${WRKDIR}/thelove@canonical.com---dists--bazaar--${MAJORVERSION} +WRKSRC= ${BASEWRKDIR}/src/=build +PATCH_WRKSRC= ${BASEWRKDIR} +LDFLAGS+= -L ${LOCALBASE}/lib +CFLAGS+= -I ${LOCALBASE}/include ${LDFLAGS} + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +IGNORE= "does not compile (missing va_copy)" +.endif + +pre-patch: + ${MKDIR} ${WRKSRC} + +# I know the CFLAGS export is ugly, but it's the only way i've gotten bazaars +# own autotools to detect libraries the "correct" way. +do-configure: + cd ${WRKSRC} && export CFLAGS="${CFLAGS}" \ + && ../configure --prefix ${PREFIX} \ + --with-gnu-patch gpatch \ + --with-gnu-diff gdiff \ + --with-gnu-diff3 gdiff3 \ + --with-gnu-tar gtar + +post-install: + cd ${BASEWRKDIR}/src/baz-manpage && ${PERL} generate-manpage.pl ${MAN1}\ + && \ + ${INSTALL_MAN} ${BASEWRKDIR}/src/baz-manpage/${MAN1} \ + ${MAN1PREFIX}/man/man1 + +.include <bsd.port.post.mk> diff --git a/devel/baz/distinfo b/devel/baz/distinfo new file mode 100644 index 000000000000..bffde576eb03 --- /dev/null +++ b/devel/baz/distinfo @@ -0,0 +1,3 @@ +MD5 (bazaar_1.4.2.tar.gz) = 6e61d7aeec990a801977ee6cdc3958d5 +SHA256 (bazaar_1.4.2.tar.gz) = 4ad40013fb6572c9e7a5d14cd055ef98ca583893425c005697a5881b8ac0cc4e +SIZE (bazaar_1.4.2.tar.gz) = 6264573 diff --git a/devel/baz/files/patch-pfs-signatures.c b/devel/baz/files/patch-pfs-signatures.c new file mode 100644 index 000000000000..7952b9ff2d90 --- /dev/null +++ b/devel/baz/files/patch-pfs-signatures.c @@ -0,0 +1,11 @@ +--- src/baz/libarch/pfs-signatures.c.old Wed Nov 2 21:46:56 2005 ++++ src/baz/libarch/pfs-signatures.c Wed Nov 2 21:47:09 2005 +@@ -29,7 +29,7 @@ + #include "libarch/namespace.h" + #include "libarch/archives.h" + #include "libarch/cached-archive.h" +-#include <gpgme.h> ++#include <gpgme/gpgme.h> + #include "libarch/pfs-signatures.h" + + diff --git a/devel/baz/pkg-descr b/devel/baz/pkg-descr new file mode 100644 index 000000000000..97317bfb41c8 --- /dev/null +++ b/devel/baz/pkg-descr @@ -0,0 +1,7 @@ +Bazaar is an implementation of GNU arch in C from canoncial. Arch is a version +control system, which allows you to keep old versions of files and directories +(usually source code), keep a log of who, when, and why changes occurred, etc., +like SVN, CVS, or RCS. Arch is distributed, which gives it significant +advantages and some disadvantages compared to SVN and CVS. + +WWW: http://bazaar.canonical.com/ diff --git a/devel/baz/pkg-plist b/devel/baz/pkg-plist new file mode 100644 index 000000000000..75120f5fc799 --- /dev/null +++ b/devel/baz/pkg-plist @@ -0,0 +1,38 @@ +bin/annotate +bin/baz +share/locale/af/LC_MESSAGES/bazaar.mo +share/locale/ca/LC_MESSAGES/bazaar.mo +share/locale/cs/LC_MESSAGES/bazaar.mo +share/locale/cy/LC_MESSAGES/bazaar.mo +share/locale/da/LC_MESSAGES/bazaar.mo +share/locale/de/LC_MESSAGES/bazaar.mo +share/locale/en_AU/LC_MESSAGES/bazaar.mo +share/locale/en_CA/LC_MESSAGES/bazaar.mo +share/locale/es/LC_MESSAGES/bazaar.mo +share/locale/es_AR/LC_MESSAGES/bazaar.mo +share/locale/es_ES/LC_MESSAGES/bazaar.mo +share/locale/fi/LC_MESSAGES/bazaar.mo +share/locale/fr/LC_MESSAGES/bazaar.mo +share/locale/fr_BE/LC_MESSAGES/bazaar.mo +share/locale/fr_FR/LC_MESSAGES/bazaar.mo +share/locale/hr/LC_MESSAGES/bazaar.mo +share/locale/it_IT/LC_MESSAGES/bazaar.mo +share/locale/ja/LC_MESSAGES/bazaar.mo +share/locale/lt/LC_MESSAGES/bazaar.mo +share/locale/nl/LC_MESSAGES/bazaar.mo +share/locale/nl_BE/LC_MESSAGES/bazaar.mo +share/locale/pt_BR/LC_MESSAGES/bazaar.mo +share/locale/pt_PT/LC_MESSAGES/bazaar.mo +share/locale/zh_CN/LC_MESSAGES/bazaar.mo +@unexec rmdir %D/share/locale/nl_BE/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/nl_BE 2>/dev/null || true +@unexec rmdir %D/share/locale/it_IT/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/it_IT 2>/dev/null || true +@unexec rmdir %D/share/locale/fr_FR/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/fr_FR 2>/dev/null || true +@unexec rmdir %D/share/locale/fr_BE/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/fr_BE 2>/dev/null || true +@unexec rmdir %D/share/locale/es_AR/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/es_AR 2>/dev/null || true +@unexec rmdir %D/share/locale/en_AU/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/en_AU 2>/dev/null || true |