aboutsummaryrefslogtreecommitdiffstats
path: root/devel/happydoc/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-02-09 09:46:26 +0800
committerijliao <ijliao@FreeBSD.org>2004-02-09 09:46:26 +0800
commit0b13cff1d3fd2031d669f7615f66923adabfc0df (patch)
treeb27b1cfa1cf5f4d0d7129e8b74858e29bc6a1278 /devel/happydoc/Makefile
parent104dae94dad99d8adaea6548d6f52a55147a43e3 (diff)
downloadfreebsd-ports-gnome-0b13cff1d3fd2031d669f7615f66923adabfc0df.tar.gz
freebsd-ports-gnome-0b13cff1d3fd2031d669f7615f66923adabfc0df.tar.zst
freebsd-ports-gnome-0b13cff1d3fd2031d669f7615f66923adabfc0df.zip
upgrade to 3.0.a1
Diffstat (limited to 'devel/happydoc/Makefile')
-rw-r--r--devel/happydoc/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/devel/happydoc/Makefile b/devel/happydoc/Makefile
index a95cf1361b7d..26ceb21da7bb 100644
--- a/devel/happydoc/Makefile
+++ b/devel/happydoc/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= happydoc
-PORTVERSION= 2.1
+PORTVERSION= 3.0.a1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,7 +17,16 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A tool for extracting documentation from Python source code
USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-WRKSRC= ${WRKDIR}/${DISTNAME:S/_r/-r/}
+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>