diff options
-rw-r--r-- | devel/hgview/Makefile | 20 | ||||
-rw-r--r-- | devel/hgview/pkg-plist | 1 |
2 files changed, 7 insertions, 14 deletions
diff --git a/devel/hgview/Makefile b/devel/hgview/Makefile index 62eeacf23150..7f2476e3f9cd 100644 --- a/devel/hgview/Makefile +++ b/devel/hgview/Makefile @@ -11,10 +11,10 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Fast Mercurial log navigator written in pyqt4 RUN_DEPENDS= hg:${PORTSDIR}/devel/mercurial \ - ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui \ - ${PYTHON_SITELIBDIR}/PyQt4/Qsci.so:${PORTSDIR}/devel/py-qt4-qscintilla2 \ - ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py:${PORTSDIR}/lang/py-mx-base \ - ${PYTHON_SITELIBDIR}/docutils/__init__.py:${PORTSDIR}/textproc/py-docutils + ${PYTHON_PKGNAMEPREFIX}qt4-gui>0:${PORTSDIR}/x11-toolkits/py-qt4-gui \ + ${PYTHON_PKGNAMEPREFIX}qt4-qscintilla2>0:${PORTSDIR}/devel/py-qt4-qscintilla2 \ + ${PYTHON_PKGNAMEPREFIX}mx-base>0:${PORTSDIR}/lang/py-mx-base \ + ${PYTHON_PKGNAMEPREFIX}docutils>0:${PORTSDIR}/textproc/py-docutils BUILD_DEPENDS= hg:${PORTSDIR}/devel/mercurial \ pyrcc4:${PORTSDIR}/textproc/py-qt4-xml \ xmlto:${PORTSDIR}/textproc/xmlto \ @@ -25,14 +25,8 @@ USE_PYDISTUTILS=yes USES= gmake PORTDOCS= * -MAN1= hgview.1 - -NO_STAGE= yes - OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - post-patch: @${REINPLACE_CMD} -e 's|share/python-support/mercurial-common|${PYTHON_SITELIBDIR:C,^${PYTHONBASE}/,,}|' \ ${WRKSRC}/hgviewlib/__pkginfo__.py @@ -46,9 +40,7 @@ post-patch: ${WRKSRC}/setup.py post-install: -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/devel/hgview/pkg-plist b/devel/hgview/pkg-plist index 79db07639469..13e71453835d 100644 --- a/devel/hgview/pkg-plist +++ b/devel/hgview/pkg-plist @@ -134,6 +134,7 @@ bin/hgview %%PYTHON_SITELIBDIR%%/hgviewlib/util.py %%PYTHON_SITELIBDIR%%/hgviewlib/util.pyc %%PYTHON_SITELIBDIR%%/hgviewlib/util.pyo +man/man1/hgview.1.gz @dirrm %%PYTHON_SITELIBDIR%%/hgviewlib/qt4 @dirrm %%PYTHON_SITELIBDIR%%/hgviewlib/hgpatches @dirrm %%PYTHON_SITELIBDIR%%/hgviewlib/curses |