aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-pefile/Makefile
blob: acac148b1043959ed595acb48b441a9ea2af81c8 (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
# New ports collection makefile for:    pefile
# Date created:             16 July 2006
# Whom:                 antoine.brodin@laposte.net
#
# $FreeBSD$
#

PORTNAME=   pefile
PORTVERSION=    1.2.3
CATEGORIES= devel python
MASTER_SITES=   http://dkbza.org/pefile/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= antoine.brodin@laposte.net
COMMENT=    A python module to read and work with PE files

USE_PYTHON= yes
USE_PYDISTUTILS=yes

.if !defined(NOPORTDOCS)
DOCSDIR=    ${PREFIX}/share/doc/py-${PORTNAME}
.endif

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>