summaryrefslogtreecommitdiff
path: root/devel/monotone
diff options
context:
space:
mode:
authorjmmv <jmmv>2011-04-23 21:26:40 +0000
committerjmmv <jmmv>2011-04-23 21:26:40 +0000
commit71cdf77bcc1f7b515c2517df2b9ff06093aa8d81 (patch)
treec21f311ea25a2ae421dfe0c48f50941cab6f0664 /devel/monotone
parent1ad17e769c0b7e695a4689cf4409f3ee93b7b2e2 (diff)
downloadpkgsrc-71cdf77bcc1f7b515c2517df2b9ff06093aa8d81.tar.gz
Fix the interpreter to mtn-cleanup by introducing a run-time dependency on
perl. I'm not sure there is a better way to fix this since mtn-cleanup is installed into ${PREFIX}/bin/. Also skip the interpreter check for some helper files that are not used by default. These may be put in separate packages but we can do this later; for now I'm just adding a comment mentioning the idea. Bump PKGREVISION to 2.
Diffstat (limited to 'devel/monotone')
-rw-r--r--devel/monotone/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/devel/monotone/Makefile b/devel/monotone/Makefile
index f7224e3ad29..5a145b881d7 100644
--- a/devel/monotone/Makefile
+++ b/devel/monotone/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.69 2011/04/22 13:43:21 obache Exp $
+# $NetBSD: Makefile,v 1.70 2011/04/23 21:26:40 jmmv Exp $
#
DISTNAME= monotone-1.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel scm
MASTER_SITES= http://monotone.ca/downloads/1.0/
EXTRACT_SUFX= .tar.bz2
@@ -19,7 +19,7 @@ INFO_FILES= yes
LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # OR newer
TEST_TARGET= check
UNLIMIT_RESOURCES+= datasize
-USE_TOOLS+= gmake makeinfo pax perl pkg-config
+USE_TOOLS+= gmake makeinfo pax perl:run pkg-config
USE_LANGUAGES= c c++
USE_PKGLOCALEDIR= yes
@@ -33,7 +33,13 @@ PKG_SUPPORTED_OPTIONS= inet6
CHECK_INTERPRETER_SKIP+= share/monotone/contrib/*
CHECK_PORTABILITY_SKIP+= debian/*
+REPLACE_PERL= extra/bin/mtn-cleanup
REPLACE_SH= mtnopt
+# The following are optional scripts for hooks. We do not replace their
+# interpreter because we want to avoid a dependency on them. (Ideally they
+# should be in separate packages with appropriate dependencies.)
+CHECK_INTERPRETER_SKIP= share/monotone/scripts/monotone-ciabot.py
+CHECK_INTERPRETER_SKIP+= share/monotone/scripts/monotone-mail-notify
.include "../../mk/bsd.options.mk"