# New ports collection makefile for: py-cmdln # Date created: 2008-09-05 # Whom: Yi-Jheng Lin # # $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