1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/devel/happydoc/Makefile

33 lines
921 B
Makefile
Raw Normal View History

# ex:ts=8
# New ports collection makefile for: happydoc
# Date created: Dec 29, 2000
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= happydoc
2004-02-09 01:46:26 +00:00
PORTVERSION= 3.0.a1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
2001-12-27 13:40:07 +00:00
DISTNAME= HappyDoc_r${PORTVERSION:S/./_/g}
2001-12-27 13:40:07 +00:00
MAINTAINER= ports@FreeBSD.org
2003-02-20 17:07:10 +00:00
COMMENT= A tool for extracting documentation from Python source code
USE_PYTHON= yes
2004-02-09 01:46:26 +00:00
WRKSRC= ${WRKDIR}/HappyDoc3-r${PORTVERSION:S/./_/g}
NO_BUILD= yes
PLIST_FILES= bin/happydoc
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/happydoc ${PREFIX}/bin
@${CP} -R ${WRKSRC}/happydoclib ${PYTHON_SITELIBDIR}
@${FIND} ${PYTHON_SITELIBDIR}/happydoclib -type f | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${PYTHON_SITELIBDIR}/happydoclib -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.include <bsd.port.mk>