freebsd-ports/devel/py-cfgparse/Makefile
Danilo G. Baio 1f0e7f4bd7 devel/py-cfgparse: Use only Python 2.7
This port doesn't work with Python 3.

While here:
  Add LICENSE.
  Switch to options helper (DOCS).
  Set architecture neutral (qa warning)

Approved by:	portmgr (blanket)
2018-04-15 12:58:49 +00:00

30 lines
603 B
Makefile

# Created by: John Ferrell
# $FreeBSD$
PORTNAME= cfgparse
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= jdferrell3@yahoo.com
COMMENT= Python module for parsing configuration files
LICENSE= MIT
USES= dos2unix python:2.7 zip
DOS2UNIX_FILES= cfgparse.py
USE_PYTHON= autoplist distutils
NO_ARCH= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>