aboutsummaryrefslogtreecommitdiff
path: root/devel/happydoc/Makefile
blob: f0c45adeb8a66729c5100d4db8dc2d49a432ddb1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# ex:ts=8
# New ports collection makefile for:    happydoc
# Date created:         Dec 29, 2000
# Whom:                 Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	happydoc
PORTVERSION=	3.0.a1
CATEGORIES=	devel python
MASTER_SITES=	SF/${PORTNAME}/HappyDoc/3.0
DISTNAME=	HappyDoc_r${PORTVERSION:S/./_/g}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A tool for extracting documentation from Python source code

USE_PYTHON=	yes
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>