summaryrefslogtreecommitdiff
path: root/devel/ArX
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-09-20 20:47:00 +0000
committerwiz <wiz@pkgsrc.org>2007-09-20 20:47:00 +0000
commit88cf42909ca8805d0d8844b2a1165ce1597d169c (patch)
treee979fd14bf65536c4003d93900e9ad4f1be9939c /devel/ArX
parent924886bbe1ca8cd4f8b7db364da879f2474647eb (diff)
downloadpkgsrc-88cf42909ca8805d0d8844b2a1165ce1597d169c.tar.gz
Move ArX2 to ArX, to make directory name match PKGNAME.
Diffstat (limited to 'devel/ArX')
-rw-r--r--devel/ArX/DESCR4
-rw-r--r--devel/ArX/Makefile44
-rw-r--r--devel/ArX/PLIST10
-rw-r--r--devel/ArX/distinfo10
-rw-r--r--devel/ArX/patches/patch-aa13
-rw-r--r--devel/ArX/patches/patch-ab13
-rw-r--r--devel/ArX/patches/patch-ac39
-rw-r--r--devel/ArX/patches/patch-ad13
-rw-r--r--devel/ArX/patches/patch-ae15
9 files changed, 161 insertions, 0 deletions
diff --git a/devel/ArX/DESCR b/devel/ArX/DESCR
new file mode 100644
index 00000000000..381d1a96f43
--- /dev/null
+++ b/devel/ArX/DESCR
@@ -0,0 +1,4 @@
+ArX is a revision control system: a program that lets programmers
+archive a history of changes made to the software they maintain and
+that, more importantly, helps programmers to coordinate, synchronize,
+and combine multiple lines of development for a single project.
diff --git a/devel/ArX/Makefile b/devel/ArX/Makefile
new file mode 100644
index 00000000000..19d97c435d3
--- /dev/null
+++ b/devel/ArX/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.17 2007/09/20 20:47:01 wiz Exp $
+#
+
+DISTNAME= ArX-2.2.4
+PKGREVISION= 7
+CATEGORIES= devel scm
+MASTER_SITES= http://savannah.nongnu.org/download/arx/
+
+MAINTAINER= recht@NetBSD.org
+HOMEPAGE= http://www.nongnu.org/arx/
+COMMENT= Distributed revision control system
+
+BUILD_DEPENDS+= scons-[0-9]*:../../devel/scons
+DEPENDS+= patch-[0-9]*:../../devel/patch
+DEPENDS+= diffutils-[0-9]*:../../devel/diffutils
+DEPENDS+= gtar-base-[0-9]*:../../archivers/gtar-base
+
+BUILD_DEFS+= GNU_PROGRAM_PREFIX
+
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= ARXDIFF=${LOCALBASE}/bin/${GNU_PROGRAM_PREFIX}diff
+CONFIGURE_ARGS+= ARXPATCH=${LOCALBASE}/bin/${GNU_PROGRAM_PREFIX}patch
+CONFIGURE_ARGS+= ARXTAR=${LOCALBASE}/bin/${GNU_PROGRAM_PREFIX}tar
+CONFIGURE_ARGS+= ARXPKGCONFIG=${PKG_CONFIG:Q}
+# XXX Python is needed for build only; this is handled by devel/scons
+CONFIGURE_ARGS+= ARXPYTHON=${TRUE:Q}
+
+INSTALLATION_DIRS= bin
+
+do-build:
+ ${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD} \
+ cd ${WRKSRC} \
+ && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons
+
+do-install:
+ ${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD} \
+ cd ${WRKSRC} \
+ && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons install
+
+.include "../../sysutils/gnome-vfs/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ArX/PLIST b/devel/ArX/PLIST
new file mode 100644
index 00000000000..441f26bb487
--- /dev/null
+++ b/devel/ArX/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.3 2007/09/20 20:47:01 wiz Exp $
+bin/arx
+man/man1/arx.1
+share/doc/arx/ArX.html
+share/doc/arx/ArX.pdf
+share/doc/arx/ArX001.png
+share/doc/arx/ArX002.png
+share/doc/arx/ArX003.png
+share/doc/arx/ArX004.png
+@dirrm share/doc/arx
diff --git a/devel/ArX/distinfo b/devel/ArX/distinfo
new file mode 100644
index 00000000000..4a24e244aad
--- /dev/null
+++ b/devel/ArX/distinfo
@@ -0,0 +1,10 @@
+$NetBSD: distinfo,v 1.6 2007/09/20 20:47:01 wiz Exp $
+
+SHA1 (ArX-2.2.4.tar.gz) = a575e005cfa2d80a6faced52b0128e9b7ff208df
+RMD160 (ArX-2.2.4.tar.gz) = 28bcab15b42bd116e736df7b4552ed00c34659ae
+Size (ArX-2.2.4.tar.gz) = 13561129 bytes
+SHA1 (patch-aa) = dbd26f2c93ee76655a5f024dd5319e0b462bc797
+SHA1 (patch-ab) = 42045fdfc5b731da1fb41271a2f39f980f898588
+SHA1 (patch-ac) = 315e7921421af2ed559c131e125a248568211e66
+SHA1 (patch-ad) = c4b3609cb2d3a9f8e21bb32b9825888387be041b
+SHA1 (patch-ae) = 854ef7137a066672616ceda234a3f99fba23eddd
diff --git a/devel/ArX/patches/patch-aa b/devel/ArX/patches/patch-aa
new file mode 100644
index 00000000000..4fe274f095a
--- /dev/null
+++ b/devel/ArX/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.3 2007/09/20 20:47:02 wiz Exp $
+
+--- SConstruct.in.orig 2005-07-27 00:25:59.000000000 +0200
++++ SConstruct.in 2005-07-27 00:26:19.000000000 +0200
+@@ -23,7 +23,7 @@
+ import os
+ import sys
+
+-env=Environment(CXX='@CXX@',LINK='@CXX@',CPPPATH='#/src')
++env=Environment(CXX='@CXX@',LINK='@CXX@',CPPPATH='#/src',ENV={'PATH':os.environ['PATH']})
+
+ cxxflags='@CXXFLAGS@'
+ if len(cxxflags)!=0:
diff --git a/devel/ArX/patches/patch-ab b/devel/ArX/patches/patch-ab
new file mode 100644
index 00000000000..15e698cea30
--- /dev/null
+++ b/devel/ArX/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.4 2007/09/20 20:47:03 wiz Exp $
+
+--- src/arx/libarx/sha256/sha2.cpp.orig 2006-01-30 19:44:39.000000000 +0000
++++ src/arx/libarx/sha256/sha2.cpp
+@@ -96,7 +96,7 @@ extern "C"
+
+ /* PLATFORM SPECIFIC INCLUDES */
+
+-#if defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined(__NetBSD__)
++#if defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined(__NetBSD__) || defined(__DragonFly__)
+ # include <sys/endian.h>
+ #elif (defined( BSD ) && ( BSD >= 199103 )) || defined(__APPLE__) || defined(__CYGWIN__)
+ # include <machine/endian.h>
diff --git a/devel/ArX/patches/patch-ac b/devel/ArX/patches/patch-ac
new file mode 100644
index 00000000000..0257dda0b9e
--- /dev/null
+++ b/devel/ArX/patches/patch-ac
@@ -0,0 +1,39 @@
+$NetBSD: patch-ac,v 1.1 2007/09/20 20:47:03 wiz Exp $
+
+--- src/boost/boost/config/platform/bsd.hpp.orig 2005-01-03 23:55:25.000000000 +0000
++++ src/boost/boost/config/platform/bsd.hpp
+@@ -9,7 +9,7 @@
+
+ // generic BSD config options:
+
+-#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
++#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__)
+ #error "This platform is not BSD"
+ #endif
+
+@@ -21,6 +21,10 @@
+ #define BOOST_PLATFORM "OpenBSD " BOOST_STRINGIZE(__OpenBSD__)
+ #endif
+
++#if defined(__DragonFly__)
++#define _REENTRANT 1
++#endif
++
+ //
+ // is this the correct version check?
+ // FreeBSD has <nl_types.h> but does not
+@@ -41,7 +45,14 @@
+ //
+ // No wide character support in the BSD header files:
+ //
++#if !((defined(__FreeBSD__) && (__FreeBSD__ >= 5))) && !defined(__DragonFly__)
+ #define BOOST_NO_CWCHAR
++#endif
++
++#ifdef __DragonFly__
++#define WCHAR_MIN INT_MIN
++#define WCHAR_MAX INT_MAX
++#endif
+
+ //
+ // The BSD <ctype.h> has macros only, no functions:
diff --git a/devel/ArX/patches/patch-ad b/devel/ArX/patches/patch-ad
new file mode 100644
index 00000000000..4403cfab6e4
--- /dev/null
+++ b/devel/ArX/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2007/09/20 20:47:04 wiz Exp $
+
+--- src/boost/boost/config/select_platform_config.hpp.orig 2007-06-30 15:50:08.000000000 +0000
++++ src/boost/boost/config/select_platform_config.hpp
+@@ -17,7 +17,7 @@
+ // linux:
+ # define BOOST_PLATFORM_CONFIG "boost/config/platform/linux.hpp"
+
+-#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
++#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
+ // BSD:
+ # define BOOST_PLATFORM_CONFIG "boost/config/platform/bsd.hpp"
+
diff --git a/devel/ArX/patches/patch-ae b/devel/ArX/patches/patch-ae
new file mode 100644
index 00000000000..7d25e5f02ae
--- /dev/null
+++ b/devel/ArX/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.1 2007/09/20 20:47:04 wiz Exp $
+
+For some weird reason, g++ 3.3.3 complains about a syntax error here.
+
+--- src/arx/libarx/merge_branches/three_way_merge.cpp.orig 2005-11-17 20:06:21.000000000 +0100
++++ src/arx/libarx/merge_branches/three_way_merge.cpp 2006-04-11 15:07:43.000000000 +0200
+@@ -143,7 +143,7 @@ Conflicts three_way_merge(const Parsed_N
+ make_pair(ancestor_temp.string(),
+ sibling_temp.string())));
+
+- path merge_path(path(getenv("HOME"))/".arx/merge3");
++ path merge_path = (path(getenv("HOME"))/".arx/merge3");
+ if(fs::exists(merge_path))
+ {
+ Spawn s;