freebsd-ports/devel/py-pefile/Makefile
Ruslan Makhmatkhanov 3b852dc6d0 - update to 1.2.10-114
While I'm here, do some clenup:
- use shortname in MASTER_SITES
- drop LICENSE_FILE for well-know license (MIT)
- strict python versions to 2.x only
- replace redefinition of the whole PYDISTUTILS_EGGINFO with
  just PYDISTUTILS_PKGVERSION
- add tab in pkg-descr

PR:		167484
Submitted by:	antoine (maintainer)
2012-05-30 19:16:41 +00:00

31 lines
635 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-114
CATEGORIES= devel python
MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= antoine@FreeBSD.org
COMMENT= A python module to read and work with PE files
LICENSE= MIT
USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGVERSION= ${DISTVERSION:C,-,_,g}
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>