ports/79582: [patch] textproc/py-feedparser: install doc and take maintainership
Dryice Liu
dryice at hotpop.com
Wed Apr 6 04:10:11 UTC 2005
>Number: 79582
>Category: ports
>Synopsis: [patch] textproc/py-feedparser: install doc and take maintainership
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Apr 06 04:10:08 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Dryice Liu
>Release: FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD dryice.3322.org 5.4-STABLE FreeBSD 5.4-STABLE #2: Tue Apr 5 15:19:05 CST 2005
>Description:
Changes:
- Install doc
- Require Python 2.1+
- Additional mirror MASTER_SITE
- Take maintainership. Thanks the previous maintainers!
>How-To-Repeat:
N/A
>Fix:
--- py-feedparser.diff begins here ---
diff -ruN py-feedparser.old/Makefile py-feedparser/Makefile
--- py-feedparser.old/Makefile Sat Nov 6 12:10:18 2004
+++ py-feedparser/Makefile Wed Apr 6 12:03:33 2005
@@ -9,16 +9,29 @@
PORTNAME= feedparser
PORTVERSION= 3.3
CATEGORIES= textproc python
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
+ http://bsdchat.com/dist/dryice/
MASTER_SITE_SUBDIR= feedparser
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= dryice at liu.com.cn
COMMENT= An RSS feed parser written in Python
WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_PYTHON= yes
+USE_PYTHON= 2.1+
USE_ZIP= yes
USE_PYDISTUTILS= yes
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for i in *.html
+ ${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
+.endfor
+ ${MKDIR} ${DOCSDIR}/images
+.for i in *
+ ${INSTALL_DATA} ${WRKSRC}/docs/images/${i} ${DOCSDIR}/images
+.endfor
+.endif
.include <bsd.port.mk>
--- py-feedparser.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list