freebsd-ports/devel/py-cmdln/Makefile
Yi-Jheng Lin d881f6af28 - Change to my mail address at FreeBSD.org
Approved by:	lwhsu (mentor)
2009-07-29 12:59:14 +00:00

38 lines
844 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
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.4+
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>