Date: Mon, 17 Jun 2013 19:32:45 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321147 - head/devel/py-pefile Message-ID: <201306171932.r5HJWjjU011934@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <antoine@FreeBSD.org> # $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 <bsd.port.options.mk> post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} .endif .include <bsd.port.mk> 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%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306171932.r5HJWjjU011934>