From owner-svn-ports-head@FreeBSD.ORG Mon Jun 17 19:32:46 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 20BE416F; Mon, 17 Jun 2013 19:32:46 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id EEC801AD3; Mon, 17 Jun 2013 19:32:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5HJWj7r011940; Mon, 17 Jun 2013 19:32:45 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5HJWjjU011934; Mon, 17 Jun 2013 19:32:45 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201306171932.r5HJWjjU011934@svn.freebsd.org> From: Antoine Brodin Date: Mon, 17 Jun 2013 19:32:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321147 - head/devel/py-pefile 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.14 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, 17 Jun 2013 19:32:46 -0000 Author: antoine Date: Mon Jun 17 19:32:44 2013 New Revision: 321147 URL: http://svnweb.freebsd.org/changeset/ports/321147 Log: - Trim Makefile header, update my email address - Remove article from COMMENT - Use PORTDOCS and convert to PORT_OPTIONS - Remove tab from pkg-descr Modified: head/devel/py-pefile/Makefile head/devel/py-pefile/pkg-descr head/devel/py-pefile/pkg-plist Modified: head/devel/py-pefile/Makefile ============================================================================== --- head/devel/py-pefile/Makefile Mon Jun 17 19:26:33 2013 (r321146) +++ head/devel/py-pefile/Makefile Mon Jun 17 19:32:44 2013 (r321147) @@ -1,9 +1,5 @@ -# New ports collection makefile for: pefile -# Date created: 16 July 2006 -# Whom: antoine.brodin@laposte.net -# +# Created by: Antoine Brodin # $FreeBSD$ -# PORTNAME= pefile DISTVERSION= 1.2.10-123 @@ -12,7 +8,7 @@ MASTER_SITES= GOOGLE_CODE PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org -COMMENT= A python module to read and work with PE files +COMMENT= Python module to read and work with PE files LICENSE= MIT @@ -20,12 +16,17 @@ USE_PYTHON= -2.7 USE_PYDISTUTILS= yes PYDISTUTILS_PKGVERSION= ${DISTVERSION:C,-,_,g} +OPTIONS_DEFINE= DOCS + DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} +PORTDOCS= README + +.include post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} .endif .include Modified: head/devel/py-pefile/pkg-descr ============================================================================== --- head/devel/py-pefile/pkg-descr Mon Jun 17 19:26:33 2013 (r321146) +++ head/devel/py-pefile/pkg-descr Mon Jun 17 19:32:44 2013 (r321147) @@ -2,4 +2,4 @@ pefile is a Python module to read and wo information in the PE Header is accessible, as well as all the sections, section's information and data. -WWW: http://code.google.com/p/pefile/ +WWW: http://code.google.com/p/pefile/ Modified: head/devel/py-pefile/pkg-plist ============================================================================== --- head/devel/py-pefile/pkg-plist Mon Jun 17 19:26:33 2013 (r321146) +++ head/devel/py-pefile/pkg-plist Mon Jun 17 19:32:44 2013 (r321147) @@ -5,5 +5,3 @@ %%PYTHON_SITELIBDIR%%/peutils.py %%PYTHON_SITELIBDIR%%/peutils.pyc %%PYTHON_SITELIBDIR%%/peutils.pyo -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%@dirrm %%DOCSDIR%%