aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-pefile/Makefile
blob: c9f7dc6d2d121aa1c5ee24c18968415371c2c6bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Antoine Brodin <antoine@FreeBSD.org>
# $FreeBSD$

PORTNAME=   pefile
DISTVERSION=    1.2.10-139
CATEGORIES= devel python
MASTER_SITES=   GOOGLE_CODE
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= antoine@FreeBSD.org
COMMENT=    Python module to read and work with PE files

LICENSE=    MIT

USE_PYTHON= 2
USE_PYDISTUTILS=    yes
PYDISTUTILS_AUTOPLIST=  yes

DOCSDIR=    ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS=   README

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif

.include <bsd.port.mk>