From owner-svn-ports-head@FreeBSD.ORG Mon Jan 6 23:24:47 2014 Return-Path: Delivered-To: svn-ports-head@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 54E3D58A; Mon, 6 Jan 2014 23:24:47 +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 26EED1602; Mon, 6 Jan 2014 23:24:47 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s06NOliB096504; Mon, 6 Jan 2014 23:24:47 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s06NOkl9096503; Mon, 6 Jan 2014 23:24:46 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201401062324.s06NOkl9096503@svn.freebsd.org> From: Rusmir Dusko Date: Mon, 6 Jan 2014 23:24:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338954 - head/graphics/skencil X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jan 2014 23:24:47 -0000 Author: nemysis Date: Mon Jan 6 23:24:46 2014 New Revision: 338954 URL: http://svnweb.freebsd.org/changeset/ports/338954 Log: - Bump PORTREVISION - Change dependency print/py-reportlab to print/py-reportlab2 - Use PYDISTUTILS_AUTOPLIST=yes instead of pkg-plist - Support STAGEDIR - Add DOCS and NLS Options - Use NLS_USES=gettext instead of USES=gettext - Change NLS Deleted: head/graphics/skencil/pkg-plist Modified: head/graphics/skencil/Makefile Modified: head/graphics/skencil/Makefile ============================================================================== --- head/graphics/skencil/Makefile Mon Jan 6 23:17:04 2014 (r338953) +++ head/graphics/skencil/Makefile Mon Jan 6 23:24:46 2014 (r338954) @@ -3,8 +3,10 @@ PORTNAME= skencil PORTVERSION= 1.0.a784 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= GOOGLE_CODE +PROJECTHOST= sk1 DISTNAME= ${PORTNAME}-${PORTVERSION:S/.a/alpha_rev/} MAINTAINER= nemysis@FreeBSD.org @@ -14,21 +16,20 @@ LICENSE= LGPL20 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging \ - ${PYTHON_PKGNAMEPREFIX}reportlab>0:${PORTSDIR}/print/py-reportlab \ + ${PYTHON_PKGNAMEPREFIX}reportlab2>=0:${PORTSDIR}/print/py-reportlab2 \ ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter \ ${PYXML} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}alpha -PROJECTHOST= sk1 USE_XORG= x11 xext USE_TCL_BUILD= yes USE_TCL= yes USE_TK_BUILD= yes USE_TK= yes -USES= gettext USE_PYTHON= yes USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes PYDISTUTILS_EGGINFO= ${PORTNAME}-${PORTVERSION:R}alpha-py${PYTHON_VER}.egg-info @@ -37,7 +38,10 @@ CFLAGS+= -I${TK_INCLUDEDIR} -I${LOCALBAS PORTDOCS= README -NO_STAGE= yes +OPTIONS_DEFINE= DOCS NLS + +NLS_USES= gettext + .include post-patch: @@ -49,10 +53,13 @@ post-patch: /libraries/s|tcl_ver\])|tcl_ver, 'intl'])|g ; \ s|/usr/share|${PREFIX}/share|g" ${WRKSRC}/setup.py -post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.if ! ${PORT_OPTIONS:MNLS} + @${REINPLACE_CMD} -e 's| + messages_dirs||' \ + ${WRKSRC}/setup.py .endif +post-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + .include