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

PORTNAME=   pefile
DISTVERSION=    1.2.10-89
CATEGORIES= devel python
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

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

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_EGGINFO=    ${PORTNAME}-${DISTVERSION:C/-/_/g}-py${PYTHON_VER}.egg-info

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

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

.include <bsd.port.mk>