aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2008-06-19 21:48:54 +0000
committerErwin Lansing <erwin@FreeBSD.org>2008-06-19 21:48:54 +0000
commit54a151c57f683fe85dd05d018e3221f8ede2f308 (patch)
tree9c7693fb7a8be7cf560af5072b263d838dbb4c6b /archivers
parent4793e8e23a5a718d62da644a6f0846096c500ada (diff)
downloadports-54a151c57f683fe85dd05d018e3221f8ede2f308.tar.gz
ports-54a151c57f683fe85dd05d018e3221f8ede2f308.zip
Notes
Diffstat (limited to 'archivers')
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/librtfcomp/Makefile30
-rw-r--r--archivers/librtfcomp/distinfo3
-rw-r--r--archivers/librtfcomp/files/patch-test_Makefile.in61
-rw-r--r--archivers/librtfcomp/pkg-descr3
-rw-r--r--archivers/librtfcomp/pkg-plist10
6 files changed, 108 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index 5b22091c0557..c9b3c42c7ba8 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -52,6 +52,7 @@
SUBDIR += liblzxcomp
SUBDIR += libmspack
SUBDIR += liborange
+ SUBDIR += librtfcomp
SUBDIR += libunrar
SUBDIR += libzip
SUBDIR += linux-par2cmdline
diff --git a/archivers/librtfcomp/Makefile b/archivers/librtfcomp/Makefile
new file mode 100644
index 000000000000..d49059c464d4
--- /dev/null
+++ b/archivers/librtfcomp/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: librtfcomp
+# Date Created: 13 June 2008
+# Whom: Alexander Logvinov <ports@logvinov.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= librtfcomp
+PORTVERSION= 1.1
+CATEGORIES= archivers
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR= synce
+
+MAINTAINER= ports@logvinov.com
+COMMENT= LZRTF compression library
+
+USE_AUTOTOOLS= libtool:15
+GNU_CONFIGURE= yes
+USE_GNOME= gnometarget
+USE_LDCONFIG= yes
+
+.include <bsd.port.pre.mk>
+
+.if defined(RTFCOMP_SLAVE) && ${RTFCOMP_SLAVE} == "pythonb"
+CONFIGURE_ARGS= --enable-python-bindings
+.else
+CONFIGURE_ARGS= --disable-python-bindings
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/archivers/librtfcomp/distinfo b/archivers/librtfcomp/distinfo
new file mode 100644
index 000000000000..d1595672f8b8
--- /dev/null
+++ b/archivers/librtfcomp/distinfo
@@ -0,0 +1,3 @@
+MD5 (librtfcomp-1.1.tar.gz) = b7f70dc41687d920ec9f47c01f56d6ce
+SHA256 (librtfcomp-1.1.tar.gz) = a4bb19cd7a8713d48cbf20161bbe79ff4e79777491d57cb8a48fdb88567ef7a3
+SIZE (librtfcomp-1.1.tar.gz) = 334800
diff --git a/archivers/librtfcomp/files/patch-test_Makefile.in b/archivers/librtfcomp/files/patch-test_Makefile.in
new file mode 100644
index 000000000000..7638bf373d0c
--- /dev/null
+++ b/archivers/librtfcomp/files/patch-test_Makefile.in
@@ -0,0 +1,61 @@
+--- tests/Makefile.in.orig 2008-06-13 23:05:10.000000000 +1000
++++ tests/Makefile.in 2008-06-13 23:07:12.000000000 +1000
+@@ -36,8 +36,8 @@
+ POST_UNINSTALL = :
+ build_triplet = @build@
+ host_triplet = @host@
+-bin_PROGRAMS = test$(EXEEXT) tortf$(EXEEXT) fromrtf$(EXEEXT)
+-noinst_PROGRAMS = test$(EXEEXT) tortf$(EXEEXT) fromrtf$(EXEEXT)
++bin_PROGRAMS = testrtf$(EXEEXT) tortf$(EXEEXT) fromrtf$(EXEEXT)
++noinst_PROGRAMS = testrtf$(EXEEXT) tortf$(EXEEXT) fromrtf$(EXEEXT)
+ subdir = tests
+ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+@@ -54,10 +54,10 @@
+ fromrtf_OBJECTS = $(am_fromrtf_OBJECTS)
+ fromrtf_LDADD = $(LDADD)
+ fromrtf_DEPENDENCIES = ../src/librtfcomp.la
+-am_test_OBJECTS = main.$(OBJEXT)
+-test_OBJECTS = $(am_test_OBJECTS)
+-test_LDADD = $(LDADD)
+-test_DEPENDENCIES = ../src/librtfcomp.la
++am_testrtf_OBJECTS = main.$(OBJEXT)
++testrtf_OBJECTS = $(am_testrtf_OBJECTS)
++testrtf_LDADD = $(LDADD)
++testrtf_DEPENDENCIES = ../src/librtfcomp.la
+ am_tortf_OBJECTS = tortf.$(OBJEXT)
+ tortf_OBJECTS = $(am_tortf_OBJECTS)
+ tortf_LDADD = $(LDADD)
+@@ -73,8 +73,8 @@
+ CCLD = $(CC)
+ LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(fromrtf_SOURCES) $(test_SOURCES) $(tortf_SOURCES)
+-DIST_SOURCES = $(fromrtf_SOURCES) $(test_SOURCES) $(tortf_SOURCES)
++SOURCES = $(fromrtf_SOURCES) $(testrtf_SOURCES) $(tortf_SOURCES)
++DIST_SOURCES = $(fromrtf_SOURCES) $(testrtf_SOURCES) $(tortf_SOURCES)
+ ETAGS = etags
+ CTAGS = ctags
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+@@ -195,7 +195,7 @@
+ target_alias = @target_alias@
+ INCLUDES = -I../include
+ LDADD = ../src/librtfcomp.la
+-test_SOURCES = main.c
++testrtf_SOURCES = main.c
+ tortf_SOURCES = tortf.c
+ fromrtf_SOURCES = fromrtf.c
+ EXTRA_DIST = testnote.crtf
+@@ -270,9 +270,9 @@
+ fromrtf$(EXEEXT): $(fromrtf_OBJECTS) $(fromrtf_DEPENDENCIES)
+ @rm -f fromrtf$(EXEEXT)
+ $(LINK) $(fromrtf_LDFLAGS) $(fromrtf_OBJECTS) $(fromrtf_LDADD) $(LIBS)
+-test$(EXEEXT): $(test_OBJECTS) $(test_DEPENDENCIES)
+- @rm -f test$(EXEEXT)
+- $(LINK) $(test_LDFLAGS) $(test_OBJECTS) $(test_LDADD) $(LIBS)
++testrtf$(EXEEXT): $(testrtf_OBJECTS) $(testrtf_DEPENDENCIES)
++ @rm -f testrtf$(EXEEXT)
++ $(LINK) $(testrtf_LDFLAGS) $(testrtf_OBJECTS) $(testrtf_LDADD) $(LIBS)
+ tortf$(EXEEXT): $(tortf_OBJECTS) $(tortf_DEPENDENCIES)
+ @rm -f tortf$(EXEEXT)
+ $(LINK) $(tortf_LDFLAGS) $(tortf_OBJECTS) $(tortf_LDADD) $(LIBS)
diff --git a/archivers/librtfcomp/pkg-descr b/archivers/librtfcomp/pkg-descr
new file mode 100644
index 000000000000..cfb74961d55e
--- /dev/null
+++ b/archivers/librtfcomp/pkg-descr
@@ -0,0 +1,3 @@
+LZRTF compression library
+
+WWW: http://synce.sourceforge.net/
diff --git a/archivers/librtfcomp/pkg-plist b/archivers/librtfcomp/pkg-plist
new file mode 100644
index 000000000000..c2c32685068a
--- /dev/null
+++ b/archivers/librtfcomp/pkg-plist
@@ -0,0 +1,10 @@
+bin/fromrtf
+bin/testrtf
+bin/tortf
+include/rtfcomp/rtfcomp.h
+include/rtfcomp/errors.h
+lib/librtfcomp.a
+lib/librtfcomp.la
+lib/librtfcomp.so
+lib/librtfcomp.so.0
+@dirrm include/rtfcomp