2b089a4aae
PR: 140431 Submitted by: Antoine Brodin <antoine@freebsd.org> (maintainer)
29 lines
668 B
Makefile
29 lines
668 B
Makefile
# New ports collection makefile for: pefile
|
|
# Date created: 16 July 2006
|
|
# Whom: antoine.brodin@laposte.net
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pefile
|
|
DISTVERSION= 1.2.10-63
|
|
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>
|