Summary: | textproc/asciidoc should install asciidocapi.py | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Kevin Zheng <kevinz5000> |
Component: | Individual Port(s) | Assignee: | Po-Chuan Hsieh <sunpoet> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Kevin Zheng
2013-12-22 21:10:00 UTC
Responsible Changed From-To: freebsd-ports-bugs->sunpoet Over to maintainer (via the GNATS Auto Assign Tool) Author: sunpoet Date: Mon Jan 6 15:11:48 2014 New Revision: 338893 URL: http://svnweb.freebsd.org/changeset/ports/338893 Log: - Install asciidocapi.py - Bump PORTREVISION for package change - While I'm here, fix shebang PR: ports/185107 Submitted by: Kevin Zheng <kevinz5000@gmail.com> Modified: head/textproc/asciidoc/Makefile Modified: head/textproc/asciidoc/Makefile ============================================================================== --- head/textproc/asciidoc/Makefile Mon Jan 6 15:11:43 2014 (r338892) +++ head/textproc/asciidoc/Makefile Mon Jan 6 15:11:48 2014 (r338893) @@ -3,7 +3,7 @@ PORTNAME= asciidoc PORTVERSION= 8.6.9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= SF @@ -17,7 +17,7 @@ RUN_DEPENDS= python2:${PORTSDIR}/lang/py GNU_CONFIGURE= yes USE_PYTHON= -2.7 -USES= gmake +USES= gmake shebangfix CONF_FILES= asciidoc.conf docbook45.conf filters/code/code-filter.conf \ filters/graphviz/graphviz-filter.conf \ @@ -30,14 +30,25 @@ CONF_FILES= asciidoc.conf docbook45.conf lang-ru.conf lang-uk.conf latex.conf slidy.conf text.conf \ xhtml11.conf xhtml11-quirks.conf +SHEBANG_FILES= a2x.py \ + asciidoc.py \ + asciidocapi.py \ + filters/latex/latex2png.py \ + filters/graphviz/graphviz2png.py \ + filters/music/music2png.py \ + filters/code/code-filter.py +python_OLD_CMD= ${SETENV} python +python_CMD= ${PYTHON_CMD} + post-patch: @${REINPLACE_CMD} -e '/^INSTALL_PROG/ s|INSTALL_PROGRAM|INSTALL_SCRIPT|; s|\.conf|&.sample|' ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e '1 s|${SETENV} python|&2|' ${WRKSRC}/a2x.py ${WRKSRC}/asciidoc.py .for conf_file in ${CONF_FILES} @cd ${WRKSRC}/ && ${MV} ${conf_file} ${conf_file}.sample .endfor post-install: + ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/ + ${INSTALL_DATA} ${WRKSRC}/asciidocapi.py ${STAGEDIR}${PYTHON_SITELIBDIR}/ .for conf_file in ${CONF_FILES} @if [ ! -f ${ETCDIR}/${conf_file} ]; then \ ${CP} -p ${STAGEDIR}${ETCDIR}/${conf_file}.sample ${STAGEDIR}${ETCDIR}/${conf_file}; \ _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" State Changed From-To: open->closed Committed. Thanks! |