From owner-svn-ports-all@FreeBSD.ORG Mon Nov 18 18:08:27 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 80229A0E; Mon, 18 Nov 2013 18:08:27 +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 703B52C0C; Mon, 18 Nov 2013 18:08:27 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAII8Rip014008; Mon, 18 Nov 2013 18:08:27 GMT (envelope-from dbn@svn.freebsd.org) Received: (from dbn@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAII8Rrr014007; Mon, 18 Nov 2013 18:08:27 GMT (envelope-from dbn@svn.freebsd.org) Message-Id: <201311181808.rAII8Rrr014007@svn.freebsd.org> From: David Naylor Date: Mon, 18 Nov 2013 18:08:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334231 - head/archivers/py-liblzma 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 18:08:27 -0000 Author: dbn Date: Mon Nov 18 18:08:26 2013 New Revision: 334231 URL: http://svnweb.freebsd.org/changeset/ports/334231 Log: Add stage support and strip library for achivers/py-liblzma. Bump PORTREVISION due to the stripped library (package content change). Modified: head/archivers/py-liblzma/Makefile Modified: head/archivers/py-liblzma/Makefile ============================================================================== --- head/archivers/py-liblzma/Makefile Mon Nov 18 18:01:25 2013 (r334230) +++ head/archivers/py-liblzma/Makefile Mon Nov 18 18:08:26 2013 (r334231) @@ -3,7 +3,7 @@ PORTNAME= liblzma PORTVERSION= 0.5.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= archivers python MASTER_SITES= ${MASTER_SITE_CHEESESHOP} MASTER_SITE_SUBDIR= source/p/py${PORTNAME} @@ -13,7 +13,6 @@ DISTNAME= ${PYDISTUTILS_PKGNAME}-${PORTV MAINTAINER= dbn@FreeBSD.org COMMENT= Python binding for the LZMA compression library -NO_STAGE= yes USES= pkgconfig USE_BZIP2= yes USE_PYTHON= 2.6+ @@ -23,11 +22,14 @@ PYDISTUTILS_PKGNAME= py${PORTNAME} .include .if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) -LIB_DEPENDS+= lzma.5:${PORTSDIR}/archivers/xz +LIB_DEPENDS+= liblzma.so:${PORTSDIR}/archivers/xz .else post-patch: @${REINPLACE_CMD} -e 's/pc_cflags = .*/pc_cflags = ""/' \ -e 's/pc_libs = .*/pc_libs = "-llzma"/' ${WRKSRC}/setup.py .endif +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/lzma.so + .include