mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Add monotone 0.11, a distributed version control system with
digital signatures. PR: 65921 Submitted by: Mark A. Wicks
This commit is contained in:
parent
07e83a4a5b
commit
61c8e5224e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111481
@ -514,6 +514,7 @@
|
||||
SUBDIR += mkmf
|
||||
SUBDIR += mm
|
||||
SUBDIR += mob
|
||||
SUBDIR += monotone
|
||||
SUBDIR += moonshine
|
||||
SUBDIR += motor
|
||||
SUBDIR += mpatrol
|
||||
|
65
devel/monotone/Makefile
Normal file
65
devel/monotone/Makefile
Normal file
@ -0,0 +1,65 @@
|
||||
# New ports collection makefile for: monotone
|
||||
# Date created: 05 Feb 2004
|
||||
# Whom: Mark A. Wicks <mwicks@kettering.edu>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= monotone
|
||||
PORTVERSION= 0.11
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://www.venge.net/monotone/ \
|
||||
http://norton.kettering.edu/freebsd/
|
||||
|
||||
MAINTAINER= mwicks@kettering.edu
|
||||
COMMENT= A distributed version control system with digital signatures
|
||||
|
||||
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
|
||||
boost_regex.1:${PORTSDIR}/devel/boost
|
||||
|
||||
USE_ICONV= yes
|
||||
.if !defined(WITHOUT_NLS)
|
||||
USE_GETTEXT= yes
|
||||
.endif
|
||||
USE_GMAKE= yes
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
CXXFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
|
||||
|
||||
PLIST_FILES= bin/depot.cgi bin/monotone
|
||||
INFO= monotone
|
||||
MAN1= monotone.1
|
||||
|
||||
.if defined(WITHOUT_NLS)
|
||||
CONFIGURE_ARGS= --disable-nls
|
||||
.endif
|
||||
.if !defined(WITHOUT_ADNS)
|
||||
LIB_DEPENDS+= adns.1:${PORTSDIR}/dns/adns
|
||||
.else
|
||||
CONFIGURE_ARGS= --with-bundled-adns
|
||||
.endif
|
||||
.if !defined(WITHOUT_LUA)
|
||||
LIB_DEPENDS+= lua.5:${PORTSDIR}/lang/lua
|
||||
.else
|
||||
CONFIGURE_ARGS= --with-bundled-lua
|
||||
.endif
|
||||
.if !defined(WITHOUT_SQLITE)
|
||||
LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite
|
||||
.else
|
||||
CONFIGURE_ARGS= --with-bundled-sqlite
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= "Does not run on FreeBSD-4.x at this time"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${TOUCH} ${WRKDIR}/${DISTNAME}/configure
|
||||
${TOUCH} ${WRKDIR}/${DISTNAME}/*.in
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
devel/monotone/distinfo
Normal file
2
devel/monotone/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (monotone-0.11.tar.gz) = 126d792c5e9a4387db5f547c33b3fe5a
|
||||
SIZE (monotone-0.11.tar.gz) = 1861996
|
11
devel/monotone/files/patch-Makefile.in
Normal file
11
devel/monotone/files/patch-Makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.in.orig Mon Mar 1 00:49:43 2004
|
||||
+++ Makefile.in Sun Mar 21 22:49:58 2004
|
||||
@@ -1143,7 +1143,7 @@
|
||||
$(CXXLINK) $(depot_cgi_LDFLAGS) $(depot_cgi_OBJECTS) $(depot_cgi_LDADD) $(LIBS)
|
||||
monotone$(EXEEXT): $(monotone_OBJECTS) $(monotone_DEPENDENCIES)
|
||||
@rm -f monotone$(EXEEXT)
|
||||
- $(CXXLINK) $(monotone_LDFLAGS) $(monotone_OBJECTS) $(monotone_LDADD) $(LIBS)
|
||||
+ $(CXXLINK) $(monotone_LDFLAGS) $(monotone_OBJECTS) $(monotone_LDADD) $(LIBS) $(LTLIBINTL) $(LTLIBICONV)
|
||||
unit_tests$(EXEEXT): $(unit_tests_OBJECTS) $(unit_tests_DEPENDENCIES)
|
||||
@rm -f unit_tests$(EXEEXT)
|
||||
$(CXXLINK) $(unit_tests_LDFLAGS) $(unit_tests_OBJECTS) $(unit_tests_LDADD) $(LIBS)
|
2093
devel/monotone/files/patch-configure
Normal file
2093
devel/monotone/files/patch-configure
Normal file
File diff suppressed because it is too large
Load Diff
14
devel/monotone/files/patch-monotone.cc
Normal file
14
devel/monotone/files/patch-monotone.cc
Normal file
@ -0,0 +1,14 @@
|
||||
--- monotone.cc.orig Wed Jan 7 13:11:47 2004
|
||||
+++ monotone.cc Sun Mar 21 22:49:59 2004
|
||||
@@ -129,8 +129,11 @@
|
||||
|
||||
setlocale(LC_CTYPE, "");
|
||||
setlocale(LC_MESSAGES, "");
|
||||
+
|
||||
+#ifdef ENABLE_NLS
|
||||
bindtextdomain(PACKAGE, LOCALEDIR);
|
||||
textdomain(PACKAGE);
|
||||
+#endif
|
||||
|
||||
// decode all argv values into a UTF-8 array
|
||||
|
14
devel/monotone/files/patch-sanity.hh
Normal file
14
devel/monotone/files/patch-sanity.hh
Normal file
@ -0,0 +1,14 @@
|
||||
--- sanity.hh.orig Wed Jan 7 13:11:48 2004
|
||||
+++ sanity.hh Sun Mar 21 22:49:59 2004
|
||||
@@ -58,7 +58,11 @@
|
||||
extern sanity global_sanity;
|
||||
|
||||
// F is for when you want to build a boost formatter
|
||||
+#ifdef ENABLE_NLS
|
||||
#define F(str) boost::format(gettext(str))
|
||||
+#else
|
||||
+#define F(str) boost::format((str))
|
||||
+#endif
|
||||
|
||||
// L is for logging, you can log all you want
|
||||
#define L(fmt) global_sanity.log(fmt)
|
9
devel/monotone/pkg-descr
Normal file
9
devel/monotone/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
Monotone is a distributed version control tool. It can help automate
|
||||
many tedious and error-prone tasks in group software development.
|
||||
|
||||
* Store multiple versions of files you are working on efficiently.
|
||||
* Transmit changes to files between you and your colleagues.
|
||||
* Merge changes you make with those your colleagues make.
|
||||
* Make notes about your opinion of the quality of versions of files.
|
||||
* Make decisions about using or ignoring versions, depending on
|
||||
the notes you receive from others.
|
Loading…
Reference in New Issue
Block a user