ports/124554: [new port] archivers/librtfcomp: LZRTF compression library

Alexander Logvinov ports at logvinov.com
Fri Jun 13 14:40:01 UTC 2008


>Number:         124554
>Category:       ports
>Synopsis:       [new port] archivers/librtfcomp: LZRTF compression library
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 13 14:40:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Logvinov
>Release:        FreeBSD 6.3-RELEASE-p1 i386
>Organization:
>Environment:

>Description:

  LZRTF compression library and python bindings for it.
  
>How-To-Repeat:

>Fix:

  Here is:
  
  archivers/librtfcomp
  archivers/py-librtfcomp

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	librtfcomp
#	librtfcomp/files
#	librtfcomp/files/patch-test_Makefile.in
#	librtfcomp/Makefile
#	librtfcomp/distinfo
#	librtfcomp/pkg-descr
#	librtfcomp/pkg-plist
#
echo c - librtfcomp
mkdir -p librtfcomp > /dev/null 2>&1
echo c - librtfcomp/files
mkdir -p librtfcomp/files > /dev/null 2>&1
echo x - librtfcomp/files/patch-test_Makefile.in
sed 's/^X//' >librtfcomp/files/patch-test_Makefile.in << 'END-of-librtfcomp/files/patch-test_Makefile.in'
X--- tests/Makefile.in.orig	2008-06-13 23:05:10.000000000 +1000
X+++ tests/Makefile.in	2008-06-13 23:07:12.000000000 +1000
X@@ -36,8 +36,8 @@
X POST_UNINSTALL = :
X build_triplet = @build@
X host_triplet = @host@
X-bin_PROGRAMS = test$(EXEEXT) tortf$(EXEEXT) fromrtf$(EXEEXT)
X-noinst_PROGRAMS = test$(EXEEXT) tortf$(EXEEXT) fromrtf$(EXEEXT)
X+bin_PROGRAMS = testrtf$(EXEEXT) tortf$(EXEEXT) fromrtf$(EXEEXT)
X+noinst_PROGRAMS = testrtf$(EXEEXT) tortf$(EXEEXT) fromrtf$(EXEEXT)
X subdir = tests
X DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
X ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
X@@ -54,10 +54,10 @@
X fromrtf_OBJECTS = $(am_fromrtf_OBJECTS)
X fromrtf_LDADD = $(LDADD)
X fromrtf_DEPENDENCIES = ../src/librtfcomp.la
X-am_test_OBJECTS = main.$(OBJEXT)
X-test_OBJECTS = $(am_test_OBJECTS)
X-test_LDADD = $(LDADD)
X-test_DEPENDENCIES = ../src/librtfcomp.la
X+am_testrtf_OBJECTS = main.$(OBJEXT)
X+testrtf_OBJECTS = $(am_testrtf_OBJECTS)
X+testrtf_LDADD = $(LDADD)
X+testrtf_DEPENDENCIES = ../src/librtfcomp.la
X am_tortf_OBJECTS = tortf.$(OBJEXT)
X tortf_OBJECTS = $(am_tortf_OBJECTS)
X tortf_LDADD = $(LDADD)
X@@ -73,8 +73,8 @@
X CCLD = $(CC)
X LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
X 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
X-SOURCES = $(fromrtf_SOURCES) $(test_SOURCES) $(tortf_SOURCES)
X-DIST_SOURCES = $(fromrtf_SOURCES) $(test_SOURCES) $(tortf_SOURCES)
X+SOURCES = $(fromrtf_SOURCES) $(testrtf_SOURCES) $(tortf_SOURCES)
X+DIST_SOURCES = $(fromrtf_SOURCES) $(testrtf_SOURCES) $(tortf_SOURCES)
X ETAGS = etags
X CTAGS = ctags
X DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
X@@ -195,7 +195,7 @@
X target_alias = @target_alias@
X INCLUDES = -I../include
X LDADD = ../src/librtfcomp.la
X-test_SOURCES = main.c
X+testrtf_SOURCES = main.c
X tortf_SOURCES = tortf.c
X fromrtf_SOURCES = fromrtf.c 
X EXTRA_DIST = testnote.crtf
X@@ -270,9 +270,9 @@
X fromrtf$(EXEEXT): $(fromrtf_OBJECTS) $(fromrtf_DEPENDENCIES) 
X 	@rm -f fromrtf$(EXEEXT)
X 	$(LINK) $(fromrtf_LDFLAGS) $(fromrtf_OBJECTS) $(fromrtf_LDADD) $(LIBS)
X-test$(EXEEXT): $(test_OBJECTS) $(test_DEPENDENCIES) 
X-	@rm -f test$(EXEEXT)
X-	$(LINK) $(test_LDFLAGS) $(test_OBJECTS) $(test_LDADD) $(LIBS)
X+testrtf$(EXEEXT): $(testrtf_OBJECTS) $(testrtf_DEPENDENCIES) 
X+	@rm -f testrtf$(EXEEXT)
X+	$(LINK) $(testrtf_LDFLAGS) $(testrtf_OBJECTS) $(testrtf_LDADD) $(LIBS)
X tortf$(EXEEXT): $(tortf_OBJECTS) $(tortf_DEPENDENCIES) 
X 	@rm -f tortf$(EXEEXT)
X 	$(LINK) $(tortf_LDFLAGS) $(tortf_OBJECTS) $(tortf_LDADD) $(LIBS)
END-of-librtfcomp/files/patch-test_Makefile.in
echo x - librtfcomp/Makefile
sed 's/^X//' >librtfcomp/Makefile << 'END-of-librtfcomp/Makefile'
X# New ports collection makefile for:	librtfcomp
X# Date Created:				13 June 2008
X# Whom:					Alexander Logvinov <ports at logvinov.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	librtfcomp
XPORTVERSION=	1.1
XCATEGORIES=	archivers
XMASTER_SITES=	SF
XMASTER_SITE_SUBDIR=	synce
X
XMAINTAINER=	ports at logvinov.com
XCOMMENT=	LZRTF compression library
X
XUSE_AUTOTOOLS=	libtool:15
XGNU_CONFIGURE=	yes
XUSE_GNOME=	gnometarget
XUSE_LDCONFIG=	yes
X
X.include <bsd.port.pre.mk>
X
X.if defined(RTFCOMP_SLAVE) && ${RTFCOMP_SLAVE} == "pythonb"
XCONFIGURE_ARGS=	--enable-python-bindings
X.else
XCONFIGURE_ARGS=	--disable-python-bindings
X.endif
X
X.include <bsd.port.post.mk>
END-of-librtfcomp/Makefile
echo x - librtfcomp/distinfo
sed 's/^X//' >librtfcomp/distinfo << 'END-of-librtfcomp/distinfo'
XMD5 (librtfcomp-1.1.tar.gz) = b7f70dc41687d920ec9f47c01f56d6ce
XSHA256 (librtfcomp-1.1.tar.gz) = a4bb19cd7a8713d48cbf20161bbe79ff4e79777491d57cb8a48fdb88567ef7a3
XSIZE (librtfcomp-1.1.tar.gz) = 334800
END-of-librtfcomp/distinfo
echo x - librtfcomp/pkg-descr
sed 's/^X//' >librtfcomp/pkg-descr << 'END-of-librtfcomp/pkg-descr'
XLZRTF compression library
X
XWWW: http://synce.sourceforge.net/
END-of-librtfcomp/pkg-descr
echo x - librtfcomp/pkg-plist
sed 's/^X//' >librtfcomp/pkg-plist << 'END-of-librtfcomp/pkg-plist'
Xbin/fromrtf
Xbin/testrtf
Xbin/tortf
Xinclude/rtfcomp/rtfcomp.h
Xinclude/rtfcomp/errors.h
Xlib/librtfcomp.a
Xlib/librtfcomp.la
Xlib/librtfcomp.so
Xlib/librtfcomp.so.0
X at dirrm include/rtfcomp
END-of-librtfcomp/pkg-plist
exit

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-librtfcomp
#	py-librtfcomp/pkg-plist
#	py-librtfcomp/Makefile
#
echo c - py-librtfcomp
mkdir -p py-librtfcomp > /dev/null 2>&1
echo x - py-librtfcomp/pkg-plist
sed 's/^X//' >py-librtfcomp/pkg-plist << 'END-of-py-librtfcomp/pkg-plist'
X%%PYTHON_SITELIBDIR%%/pyrtfcomp.a
X%%PYTHON_SITELIBDIR%%/pyrtfcomp.la
X%%PYTHON_SITELIBDIR%%/pyrtfcomp.so
END-of-py-librtfcomp/pkg-plist
echo x - py-librtfcomp/Makefile
sed 's/^X//' >py-librtfcomp/Makefile << 'END-of-py-librtfcomp/Makefile'
X# New ports collection makefile for:	py-librtfcomp
X# Date Created:				13 June 2008
X# Whom:					Alexander Logvinov <ports at logvinov.com>
X#
X# $FreeBSD$
X#
X
XCATEGORIES=	archivers python
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	ports at logvinov.com
XCOMMENT=	Python bindings for the LZRTF compression library
X
XLIB_DEPENDS=	rtfcomp.0:${PORTSDIR}/archivers/librtfcomp
XBUILD_DEPENDS=	pyrexc:${PORTSDIR}/devel/pyrex
X
XMASTERDIR=	${.CURDIR}/../librtfcomp
X
XUSE_PYTHON=	yes
X
XPLIST=		${.CURDIR}/pkg-plist
X
XRTFCOMP_SLAVE=	pythonb
X
Xdo-install:
X	@(cd ${WRKSRC}/python && ${MAKE} install)
X
X.include "${MASTERDIR}/Makefile"
END-of-py-librtfcomp/Makefile
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list