freebsd-ports/devel/py-pefile/Makefile
Antoine Brodin 848834ddd2 - Trim Makefile header, update my email address
- Remove article from COMMENT
- Use PORTDOCS and convert to PORT_OPTIONS
- Remove tab from pkg-descr
2013-06-17 19:32:44 +00:00

32 lines
648 B
Makefile

# Created by: Antoine Brodin <antoine@FreeBSD.org>
# $FreeBSD$
PORTNAME= pefile
DISTVERSION= 1.2.10-123
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.7
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGVERSION= ${DISTVERSION:C,-,_,g}
OPTIONS_DEFINE= DOCS
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS= README
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.include <bsd.port.mk>