summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/mercurial/Makefile10
-rw-r--r--devel/mercurial/PLIST.inotify23
2 files changed, 31 insertions, 2 deletions
diff --git a/devel/mercurial/Makefile b/devel/mercurial/Makefile
index e439f9ccabb..7e740a7ea9e 100644
--- a/devel/mercurial/Makefile
+++ b/devel/mercurial/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2010/08/07 06:24:05 wiz Exp $
+# $NetBSD: Makefile,v 1.46 2010/08/21 14:18:04 wiz Exp $
#
DISTNAME= mercurial-1.6.2
@@ -20,13 +20,19 @@ PYDISTUTILSPKG= yes
USE_TOOLS+= gmake msgfmt
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
+INSTALLATION_DIRS+= share/doc/mercurial
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
- ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/mercurial
${INSTALL_DATA} ${WRKSRC}/README \
${DESTDIR}${PREFIX}/share/doc/mercurial
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Linux" && empty(OS_VERSION:M2.4.*) && empty(OS_VERSION:M2.2.*)
+PLIST_SRC+= ${.CURDIR}/PLIST ${.CURDIR}/PLIST.inotify
+.endif
+
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/mercurial/PLIST.inotify b/devel/mercurial/PLIST.inotify
new file mode 100644
index 00000000000..b4a2386d999
--- /dev/null
+++ b/devel/mercurial/PLIST.inotify
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST.inotify,v 1.1 2010/08/21 14:18:04 wiz Exp $
+${PYSITELIB}/hgext/inotify/__init__.py
+${PYSITELIB}/hgext/inotify/__init__.pyc
+${PYSITELIB}/hgext/inotify/__init__.pyo
+${PYSITELIB}/hgext/inotify/client.py
+${PYSITELIB}/hgext/inotify/client.pyc
+${PYSITELIB}/hgext/inotify/client.pyo
+${PYSITELIB}/hgext/inotify/common.py
+${PYSITELIB}/hgext/inotify/common.pyc
+${PYSITELIB}/hgext/inotify/common.pyo
+${PYSITELIB}/hgext/inotify/linux/__init__.py
+${PYSITELIB}/hgext/inotify/linux/__init__.pyc
+${PYSITELIB}/hgext/inotify/linux/__init__.pyo
+${PYSITELIB}/hgext/inotify/linux/_inotify.so
+${PYSITELIB}/hgext/inotify/linux/watcher.py
+${PYSITELIB}/hgext/inotify/linux/watcher.pyc
+${PYSITELIB}/hgext/inotify/linux/watcher.pyo
+${PYSITELIB}/hgext/inotify/linuxserver.py
+${PYSITELIB}/hgext/inotify/linuxserver.pyc
+${PYSITELIB}/hgext/inotify/linuxserver.pyo
+${PYSITELIB}/hgext/inotify/server.py
+${PYSITELIB}/hgext/inotify/server.pyc
+${PYSITELIB}/hgext/inotify/server.pyo