View | Details | Raw Unified | Return to bug 96350
Collapse All | Expand All

(-)dar/Makefile (-31 / +24 lines)
Lines 1-43 Link Here
1
# New ports collection makefile for:   dar
1
# New ports collection makefile for:  dar
2
# Date created:        3 January 2004
2
# Date created:        19 April 2006
3
# Whom:                Edson Brandi <ebrandi@fugspbr.org>
3
# Whom:                freebsd-ports@henrik.synth.no
4
#
4
#
5
# $FreeBSD: ports/sysutils/dar/Makefile,v 1.12 2006/02/23 10:39:06 ade Exp $
5
# $FreeBSD$
6
#
6
#
7
7
8
PORTNAME=	dar
8
PORTNAME=	dar
9
PORTVERSION=	2.2.2
9
PORTVERSION=	2.3.0
10
PORTREVISION=	1
10
CATEGORIES=	archivers sysutils
11
CATEGORIES=	sysutils
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=${PORTNAME}
12
MASTER_SITE_SUBDIR=	dar
14
13
15
MAINTAINER=	ebrandi@fugspbr.org
14
MAINTAINER=	Edson Brandi <ebrandi@fugspbr.org>
16
COMMENT=	A full featured command-line backup tool, aimed for disks
15
COMMENT=	Dar is a shell command that backs up directory trees and files
17
16
18
INSTALLS_SHLIB=	yes
17
MAN1=		dar.1 dar_cp.1 dar_slave.1 dar_manager.1 dar_xform.1
18
MANCOMPRESSED=	no
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
USE_REINPLACE=	yes
20
CONFIGURE_ARGS+=	--mandir=${MANPREFIX}/man
21
21
CONFIGURE_ARGS+=	--disable-build-html
22
CPPFLAGS+=	-DHAVE_DECL_GETOPT=0
22
CONFIGURE_ARGS+=	--datadir=${DATADIR}
23
USE_LIBTOOL_VER=	15
24
INSTALLS_SHLIB=	yes
23
25
24
.if !defined(WITHOUT_NLS)
26
post-install:
25
USE_GETTEXT=	yes
27
.if !defined(NOPORTDOCS)
26
PLIST_SUB+=	NLS=""
28
	@${MKDIR} ${DOCSDIR}
27
EXTRA_PATCHES=	${PATCHDIR}/extra-patch-src-libdar-integers.hpp
29
	cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.dtd *.txt *.jpg [CR]* ${DOCSDIR}
28
CPPFLAGS+=	-I${LOCALBASE}/include
30
	@${MKDIR} ${DOCSDIR}/samples
29
LDFLAGS+=	-L${LOCALBASE}/lib
31
	cd ${WRKSRC}/doc/samples && ${INSTALL_DATA} [JR]* [a-z]* ${DOCSDIR}/samples
30
CONFIGURE_ARGS+=--with-libintl-prefix=${PREFIX}
32
	@${MKDIR} ${DOCSDIR}/mini-howto
31
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
33
	cd ${WRKSRC}/doc/mini-howto && ${INSTALL_DATA} *.html README ${DOCSDIR}/mini-howto
32
.else
33
CONFIGURE_ARGS+=--disable-nls
34
PLIST_SUB+=	NLS="@comment "
35
.endif
34
.endif
36
37
MAN1=		dar.1 dar_cp.1 dar_manager.1 dar_slave.1 dar_xform.1
38
39
post-patch:
40
	@${REINPLACE_CMD} -Ee 's,(_nl_expand_alias) \(0\),\1 (),g' \
41
		${WRKSRC}/${CONFIGURE_SCRIPT}
42
35
43
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)dar/distinfo (-3 / +2 lines)
Lines 1-3 Link Here
1
MD5 (dar-2.2.2.tar.gz) = c98ef73f0ca8e3f8251c9ab149e28a65
1
MD5 (dar-2.3.0.tar.gz) = db33f61b31fcdb84d13205a96c3d7771
2
SHA256 (dar-2.2.2.tar.gz) = 0f5490498447a4144d16822e4a1dc831f869de3a1771f126781aa380c6a03dbc
2
SIZE (dar-2.3.0.tar.gz) = 1142646
3
SIZE (dar-2.2.2.tar.gz) = 1067171
(-)dar/files/patch-Makefile-am (+8 lines)
Line 0 Link Here
1
--- Makefile.am-orig	Fri Apr 21 13:58:39 2006
2
+++ Makefile.am	Fri Apr 21 13:58:48 2006
3
@@ -1,4 +1,4 @@
4
-SUBDIRS = m4 man src doc misc po
5
+SUBDIRS = m4 man src misc 
6
 dist_noinst_DATA = INSTALL README THANKS TODO AUTHORS COPYING ChangeLog NEWS ABOUT-NLS
7
 ACLOCAL_AMFLAGS = -I m4
8
 
(-)dar/files/patch-Makefile-in (+11 lines)
Line 0 Link Here
1
--- Makefile.in-orig	Fri Apr 21 13:46:43 2006
2
+++ Makefile.in	Fri Apr 21 13:46:50 2006
3
@@ -214,7 +214,7 @@
4
 target_alias = @target_alias@
5
 tmp = @tmp@
6
 upx = @upx@
7
-SUBDIRS = m4 man src doc misc po
8
+SUBDIRS = m4 man src misc 
9
 dist_noinst_DATA = INSTALL README THANKS TODO AUTHORS COPYING ChangeLog NEWS ABOUT-NLS
10
 ACLOCAL_AMFLAGS = -I m4
11
 EXTRA_DIST = config.rpath
(-)dar/files/patch-doc-man (+24 lines)
Line 0 Link Here
1
diff -ru doc/man-orig/Makefile.am doc/man/Makefile.am
2
--- doc/man-orig/Makefile.am	Wed Apr 19 15:57:01 2006
3
+++ doc/man/Makefile.am	Wed Apr 19 15:54:23 2006
4
@@ -2,7 +2,7 @@
5
 
6
 if USE_GROFF
7
 
8
-TARGET=dar.html dar_slave.html dar_xform.html dar_manager.html dar_cp.html
9
+TARGET=#dar.html dar_slave.html dar_xform.html dar_manager.html dar_cp.html
10
 
11
 %.1:
12
 	cp ../../man/$@ .
13
diff -ru doc/man-orig/Makefile.in doc/man/Makefile.in
14
--- doc/man-orig/Makefile.in	Wed Apr 19 15:57:01 2006
15
+++ doc/man/Makefile.in	Wed Apr 19 15:54:42 2006
16
@@ -190,7 +190,7 @@
17
 tmp = @tmp@
18
 upx = @upx@
19
 dist_noinst_DATA = index.html
20
-@USE_GROFF_TRUE@TARGET = dar.html dar_slave.html dar_xform.html dar_manager.html dar_cp.html
21
+@USE_GROFF_TRUE@TARGET = #dar.html dar_slave.html dar_xform.html dar_manager.html dar_cp.html
22
 all: all-am
23
 
24
 .SUFFIXES:
(-)dar/files/patch-src-libdar (+35 lines)
Line 0 Link Here
1
diff -ur src-orig/libdar/Makefile.am src/libdar/Makefile.am
2
--- src-orig/libdar/Makefile.am	Thu Apr 20 11:41:47 2006
3
+++ src/libdar/Makefile.am	Thu Apr 20 11:42:57 2006
4
@@ -56,11 +56,11 @@
5
 	grep DAR $(DESTDIR)$(pkgincludedir)/config.h | grep -v "#undef" >  $(DESTDIR)$(pkgincludedir)/config.h.tmp
6
 	mv  $(DESTDIR)$(pkgincludedir)/config.h.tmp  $(DESTDIR)$(pkgincludedir)/config.h
7
 	chmod 0644 $(DESTDIR)$(pkgincludedir)/*
8
-	$(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig
9
-	$(INSTALL) -m 0644 libdar.pc $(DESTDIR)$(libdir)/pkgconfig/libdar$(LIBDAR_SUFFIX).pc
10
+	$(INSTALL) -d $(DESTDIR)$(exec_prefix)/libdata/pkgconfig
11
+	$(INSTALL) -m 0644 libdar.pc $(DESTDIR)$(exec_prefix)/libdata/pkgconfig/libdar$(LIBDAR_SUFFIX).pc
12
 
13
 uninstall-local:
14
-	rm -rf $(DESTDIR)$(pkgincludedir) $(DESTDIR)$(libdir)/pkgconfig/libdar$(LIBDAR_SUFFIX).pc
15
+	rm -rf $(DESTDIR)$(pkgincludedir) $(DESTDIR)$(exec_prefix)/libdata/pkgconfig/libdar$(LIBDAR_SUFFIX).pc
16
 
17
 all-local : libdar.pc
18
 
19
diff -ur src-orig/libdar/Makefile.in src/libdar/Makefile.in
20
--- src-orig/libdar/Makefile.in	Thu Apr 20 11:41:47 2006
21
+++ src/libdar/Makefile.in	Thu Apr 20 11:43:34 2006
22
@@ -642,11 +642,11 @@
23
 	grep DAR $(DESTDIR)$(pkgincludedir)/config.h | grep -v "#undef" >  $(DESTDIR)$(pkgincludedir)/config.h.tmp
24
 	mv  $(DESTDIR)$(pkgincludedir)/config.h.tmp  $(DESTDIR)$(pkgincludedir)/config.h
25
 	chmod 0644 $(DESTDIR)$(pkgincludedir)/*
26
-	$(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig
27
-	$(INSTALL) -m 0644 libdar.pc $(DESTDIR)$(libdir)/pkgconfig/libdar$(LIBDAR_SUFFIX).pc
28
+	$(INSTALL) -d $(DESTDIR)$(exec_prefix)/libdata/pkgconfig
29
+	$(INSTALL) -m 0644 libdar.pc $(DESTDIR)$(exec_prefix)/libdata/pkgconfig/libdar$(LIBDAR_SUFFIX).pc
30
 
31
 uninstall-local:
32
-	rm -rf $(DESTDIR)$(pkgincludedir) $(DESTDIR)$(libdir)/pkgconfig/libdar$(LIBDAR_SUFFIX).pc
33
+	rm -rf $(DESTDIR)$(pkgincludedir) $(DESTDIR)$(exec_prefix)/libdata/pkgconfig/libdar$(LIBDAR_SUFFIX).pc
34
 
35
 all-local : libdar.pc
(-)dar/pkg-descr (-7 / +8 lines)
Lines 1-9 Link Here
1
DAR is a command-line backup tool, that uses compression,
1
dar is a shell command that backs up directory trees and files. It has been
2
makes differential or full backups, which can be split over
2
tested under Linux, Windows, Solaris, FreeBSD, NetBSD, MacOS X and several
3
several files or disks. Dar saves *all* UNIX inode types,
3
other systems, it is released under the GNU General Public License (GPL).
4
hard links, as well as Extended Attributes.
4
Since version 2.0.0 an Application Interface (API) is available, opening the
5
And many other features ...
5
way for external/independent Graphical User Interfaces (GUIs) like kdar.
6
This API relies on the libdar library, which is the core part of DAR
7
programs; as such, the API is released under the GPL. Consequently, to use
8
the API, your program must be released under the GPL as well.
6
9
7
WWW: http://dar.linux.free.fr/
10
WWW: http://dar.linux.free.fr/
8
9
Author: Denis Corbin <edrusb@users.sourceforge.net>
(-)dar/pkg-plist (-49 / +81 lines)
Lines 1-58 Link Here
1
bin/dar
1
lib/libdar.so.4
2
bin/dar_cp
2
lib/libdar.so
3
bin/dar_manager
3
lib/libdar.la
4
bin/dar_slave
4
lib/libdar.a
5
bin/dar_xform
5
libdata/pkgconfig/libdar.pc
6
include/dar/archive.hpp
7
include/dar/catalogue.hpp
8
include/dar/compressor.hpp
9
include/dar/config.h
6
include/dar/config.h
10
include/dar/crypto.hpp
11
include/dar/deci.hpp
12
include/dar/ea.hpp
13
include/dar/erreurs.hpp
14
include/dar/generic_file.hpp
15
include/dar/gettext.h
16
include/dar/header_version.hpp
17
include/dar/infinint.hpp
18
include/dar/int_tools.hpp
19
include/dar/integers.hpp
20
include/dar/libdar.hpp
7
include/dar/libdar.hpp
21
include/dar/limitint.hpp
22
include/dar/mask.hpp
23
include/dar/my_config.h
24
include/dar/path.hpp
8
include/dar/path.hpp
9
include/dar/mask.hpp
10
include/dar/integers.hpp
25
include/dar/real_infinint.hpp
11
include/dar/real_infinint.hpp
26
include/dar/scrambler.hpp
27
include/dar/special_alloc.hpp
28
include/dar/statistics.hpp
12
include/dar/statistics.hpp
13
include/dar/user_interaction.hpp
14
include/dar/erreurs.hpp
15
include/dar/deci.hpp
16
include/dar/limitint.hpp
17
include/dar/infinint.hpp
18
include/dar/compressor.hpp
19
include/dar/special_alloc.hpp
20
include/dar/generic_file.hpp
21
include/dar/wrapperlib.hpp
29
include/dar/storage.hpp
22
include/dar/storage.hpp
30
include/dar/thread_cancellation.hpp
23
include/dar/tuyau.hpp
31
include/dar/tools.hpp
24
include/dar/tools.hpp
25
include/dar/catalogue.hpp
26
include/dar/scrambler.hpp
27
include/dar/archive.hpp
28
include/dar/header_version.hpp
29
include/dar/ea.hpp
30
include/dar/crypto.hpp
31
include/dar/int_tools.hpp
32
include/dar/thread_cancellation.hpp
32
include/dar/tronconneuse.hpp
33
include/dar/tronconneuse.hpp
33
include/dar/tuyau.hpp
34
include/dar/mask_list.hpp
34
include/dar/user_interaction.hpp
35
include/dar/database.hpp
35
include/dar/wrapperlib.hpp
36
include/dar/data_tree.hpp
36
lib/libdar.a
37
include/dar/string_file.hpp
37
lib/libdar.la
38
include/dar/gettext.h
38
lib/libdar.so
39
include/dar/my_config.h
39
lib/libdar.so.3
40
bin/dar
40
%%DATADIR%%/FAQ
41
bin/dar_xform
41
%%DATADIR%%/FEATURES
42
bin/dar_slave
42
%%DATADIR%%/GOOD_BACKUP_PRACTICE
43
bin/dar_manager
43
%%DATADIR%%/LIMITATIONS
44
bin/dar_cp
44
%%DATADIR%%/LINKS
45
45
%%DATADIR%%/NOTES
46
%%DOCSDIR%%/samples/dar_par.dcf
46
%%DATADIR%%/README
47
%%DOCSDIR%%/samples/cdbackup.sh
47
%%DATADIR%%/TUTORIAL
48
%%DOCSDIR%%/samples/darrc_sample
48
%%DATADIR%%/api_tutorial.html
49
%%DOCSDIR%%/samples/sample1.txt
49
%%DATADIR%%/dar-differential-backup-mini-howto.en.html
50
%%DOCSDIR%%/samples/README
50
%%DATADIR%%/dar-differential-backup-mini-howto.es.html
51
%%DOCSDIR%%/samples/pause_every_n_slice.duc
51
%%DATADIR%%/dar-differential-backup-mini-howto.it.html
52
%%DOCSDIR%%/samples/automatic_backup
52
%%DATADIR%%/dar_par.dcf
53
%%DOCSDIR%%/samples/automatic_backup.txt
53
%%DATADIR%%/dar_par_create.duc
54
%%DOCSDIR%%/samples/dar_backup
54
%%DATADIR%%/dar_par_test.duc
55
%%DOCSDIR%%/samples/dar_rqck.bash
55
%%NLS%%share/locale/fr/LC_MESSAGES/dar.mo
56
%%DOCSDIR%%/samples/JH-dar-make_user_backup.sh
56
%%NLS%%share/locale/sv/LC_MESSAGES/dar.mo
57
%%DOCSDIR%%/samples/JH-readme.txt
57
@dirrm %%DATADIR%%
58
%%DOCSDIR%%/samples/JH_dar_archiver.options
59
%%DOCSDIR%%/samples/JH_darrc
60
%%DOCSDIR%%/samples/cluster_digital_backups.sh
61
%%DOCSDIR%%/samples/cluster_digital_readme.txt
62
%%DOCSDIR%%/samples/index.html
63
%%DOCSDIR%%/samples/dar_par_create.duc
64
%%DOCSDIR%%/samples/dar_par_test.duc
65
%%DOCSDIR%%/index.html
66
%%DOCSDIR%%/mini-howto/dar-differential-backup-mini-howto.en.html
67
%%DOCSDIR%%/mini-howto/dar-differential-backup-mini-howto.it.html
68
%%DOCSDIR%%/mini-howto/dar-differential-backup-mini-howto.es.html
69
%%DOCSDIR%%/mini-howto/index.html
70
%%DOCSDIR%%/mini-howto/README
71
%%DOCSDIR%%/COMMAND_LINE
72
%%DOCSDIR%%/README
73
%%DOCSDIR%%/Features.html
74
%%DOCSDIR%%/Limitations.html
75
%%DOCSDIR%%/Notes.html
76
%%DOCSDIR%%/Tutorial.html
77
%%DOCSDIR%%/Good_Backup_Practice.html
78
%%DOCSDIR%%/FAQ.html
79
%%DOCSDIR%%/api_tutorial.html
80
%%DOCSDIR%%/dar_doc.jpg
81
%%DOCSDIR%%/dar_s_doc.jpg
82
%%DOCSDIR%%/dar-catalog-1.0.dtd
83
%%DOCSDIR%%/Known_Bugs.html
84
%%DOCSDIR%%/authentification.html
85
%%DOCSDIR%%/dar_key.txt
86
58
@dirrm include/dar
87
@dirrm include/dar
88
@dirrm %%DOCSDIR%%/samples
89
@dirrm %%DOCSDIR%%/mini-howto
90
@dirrm %%DOCSDIR%%

Return to bug 96350