forked from Lainports/freebsd-ports
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)
30 lines
603 B
Makefile
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>
|