freebsd-ports/devel/py-cmdln/Makefile
Martin Wilke 5e9f42cbda - Move from py24 over to py25 or above
- Drop md5 support
2011-02-25 07:50:41 +00:00

39 lines
860 B
Makefile

# New ports collection makefile for: py-cmdln
# Date created: 2008-09-05
# Whom: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
#
# $FreeBSD$
#
PORTNAME= cmdln
PORTVERSION= 1.1.2
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yzlin@FreeBSD.org
COMMENT= A python module for easily building good multi-command scripts
USE_ZIP= yes
USE_PYTHON= 2.5+
USE_PYDISTUTILS= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
PORTDOCS= LICENSE README
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/$f.txt ${DOCSDIR}/$f
.endfor
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>