From owner-svn-ports-all@FreeBSD.ORG Mon Nov 18 19:53:32 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 99EBEDE7; Mon, 18 Nov 2013 19:53:32 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 899132354; Mon, 18 Nov 2013 19:53:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAIJrWRI059106; Mon, 18 Nov 2013 19:53:32 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAIJrVwU059102; Mon, 18 Nov 2013 19:53:31 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201311181953.rAIJrVwU059102@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Mon, 18 Nov 2013 19:53:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334257 - in head/archivers/librtfcomp: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Nov 2013 19:53:32 -0000 Author: sunpoet Date: Mon Nov 18 19:53:31 2013 New Revision: 334257 URL: http://svnweb.freebsd.org/changeset/ports/334257 Log: - Update to 1.3 - Add LICENSE - Update COMMENT - Strip shared library - Support STAGEDIR - Sort PLIST - Update pkg-descr - Take maintainership Deleted: head/archivers/librtfcomp/files/ Modified: head/archivers/librtfcomp/Makefile head/archivers/librtfcomp/distinfo (contents, props changed) head/archivers/librtfcomp/pkg-descr (contents, props changed) head/archivers/librtfcomp/pkg-plist (contents, props changed) Modified: head/archivers/librtfcomp/Makefile ============================================================================== --- head/archivers/librtfcomp/Makefile Mon Nov 18 19:48:21 2013 (r334256) +++ head/archivers/librtfcomp/Makefile Mon Nov 18 19:53:31 2013 (r334257) @@ -2,24 +2,42 @@ # $FreeBSD$ PORTNAME= librtfcomp -PORTVERSION= 1.1 -CATEGORIES?= archivers -MASTER_SITES= SF/synce/SynCE/0.10.0 +PORTVERSION= 1.3 +CATEGORIES= archivers +MASTER_SITES= SF/synce/SynCE/${PORTNAME} -MAINTAINER= ports@FreeBSD.org -COMMENT?= LZRTF compression library +MAINTAINER= sunpoet@FreeBSD.org +COMMENT?= Library for handling compressed RTF documents +LICENSE= LGPL21 -USE_AUTOTOOLS= libtool GNU_CONFIGURE= yes +USE_AUTOTOOLS= libtool USE_LDCONFIG= yes -.include +SLAVEDIRS= archivers/py-librtfcomp -.if defined(RTFCOMP_SLAVE) && ${RTFCOMP_SLAVE} == "pythonb" -CONFIGURE_ARGS= --enable-python-bindings +.if defined(SLAVEPORT) && ${SLAVEPORT} == "py" +CATEGORIES+= python +CONFIGURE_ARGS+=--enable-python-bindings .else -CONFIGURE_ARGS= --disable-python-bindings +CONFIGURE_ARGS+=--disable-python-bindings +.endif + +post-patch: + @${REINPLACE_CMD} -e '/VISIBILITY=/ s| -fvisibility=hidden||' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|$$(top_builddir)/src/librtfcomp.la|${LOCALBASE}/lib/librtfcomp.la|g' ${WRKSRC}/python/Makefile.in + +post-build: +.if !defined(SLAVEPORT) + @${STRIP_CMD} ${WRKSRC}/src/.libs/librtfcomp.so.0 +.endif + +post-install: +.if !defined(SLAVEPORT) + ${INSTALL_SCRIPT} ${WRKSRC}/tests/fromrtf ${STAGEDIR}${PREFIX}/bin/fromrtf + ${INSTALL_SCRIPT} ${WRKSRC}/tests/test ${STAGEDIR}${PREFIX}/bin/testrtf + ${INSTALL_SCRIPT} ${WRKSRC}/tests/tortf ${STAGEDIR}${PREFIX}/bin/tortf .endif -.include +.include Modified: head/archivers/librtfcomp/distinfo ============================================================================== --- head/archivers/librtfcomp/distinfo Mon Nov 18 19:48:21 2013 (r334256) +++ head/archivers/librtfcomp/distinfo Mon Nov 18 19:53:31 2013 (r334257) @@ -1,2 +1,2 @@ -SHA256 (librtfcomp-1.1.tar.gz) = a4bb19cd7a8713d48cbf20161bbe79ff4e79777491d57cb8a48fdb88567ef7a3 -SIZE (librtfcomp-1.1.tar.gz) = 334800 +SHA256 (librtfcomp-1.3.tar.gz) = 5ade6031956e2bdc3b6b2024bf658459d4d381e33bb5e59264f30eefc8a5f3b4 +SIZE (librtfcomp-1.3.tar.gz) = 328891 Modified: head/archivers/librtfcomp/pkg-descr ============================================================================== --- head/archivers/librtfcomp/pkg-descr Mon Nov 18 19:48:21 2013 (r334256) +++ head/archivers/librtfcomp/pkg-descr Mon Nov 18 19:53:31 2013 (r334257) @@ -1,3 +1,3 @@ -LZRTF compression library +librtfcomp is a library for handling compressed RTF documents. WWW: http://synce.sourceforge.net/ Modified: head/archivers/librtfcomp/pkg-plist ============================================================================== --- head/archivers/librtfcomp/pkg-plist Mon Nov 18 19:48:21 2013 (r334256) +++ head/archivers/librtfcomp/pkg-plist Mon Nov 18 19:53:31 2013 (r334257) @@ -1,8 +1,8 @@ bin/fromrtf bin/testrtf bin/tortf -include/rtfcomp/rtfcomp.h include/rtfcomp/errors.h +include/rtfcomp/rtfcomp.h lib/librtfcomp.a lib/librtfcomp.la lib/librtfcomp.so