summaryrefslogtreecommitdiff
path: root/devel/mercurial
diff options
context:
space:
mode:
authorwiz <wiz>2010-08-21 14:18:04 +0000
committerwiz <wiz>2010-08-21 14:18:04 +0000
commit1f286a8c75c34033ae8af7e2a851e58115b657b4 (patch)
tree4f6b211eaf26b4b8a9c4a283c3683ee76f037261 /devel/mercurial
parent743904f2c7e84da3fb5965738576d50cf0d3e172 (diff)
downloadpkgsrc-1f286a8c75c34033ae8af7e2a851e58115b657b4.tar.gz
Fix PLIST on inotify-Linux systems. From Aleksey Cheusov in PR 43784.
While here, clean up a pkglint warning.
Diffstat (limited to 'devel/mercurial')
-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