5e9f42cbda
- Drop md5 support
39 lines
860 B
Makefile
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>
|