summaryrefslogtreecommitdiff
path: root/devel/mr/patches
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2013-07-15 19:47:42 +0000
committerschmonz <schmonz@pkgsrc.org>2013-07-15 19:47:42 +0000
commit8c0d934547b50acd3944d878e666af431cbcbbdb (patch)
treeea65b311899f05f2b03666bdb8de8a09dcdb8254 /devel/mr/patches
parent17fdbebdb84cc04fc3e1111810833fe6faa969d8 (diff)
downloadpkgsrc-8c0d934547b50acd3944d878e666af431cbcbbdb.tar.gz
Update to 1.20130710. From the changelog:
* The package is renamed to myrepos. It Provides mr, so can still be installed by that name. The mr command is not renamed. * Add make install rule. Thanks, v4hn
Diffstat (limited to 'devel/mr/patches')
-rw-r--r--devel/mr/patches/patch-Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/devel/mr/patches/patch-Makefile b/devel/mr/patches/patch-Makefile
new file mode 100644
index 00000000000..8ed4a4ac80f
--- /dev/null
+++ b/devel/mr/patches/patch-Makefile
@@ -0,0 +1,30 @@
+$NetBSD: patch-Makefile,v 1.1 2013/07/15 19:47:42 schmonz Exp $
+
+Use pkgsrc paths.
+
+--- Makefile.orig 2013-07-05 17:35:32.000000000 +0000
++++ Makefile
+@@ -1,4 +1,4 @@
+-PREFIX:=/usr
++# PREFIX:=/usr
+
+ mans=mr.1 webcheckout.1
+
+@@ -17,14 +17,14 @@ test:
+
+ install: build
+ install -d ${DESTDIR}${PREFIX}/bin
+- install -d ${DESTDIR}${PREFIX}/share/man/man1
++ install -d ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ install -d ${DESTDIR}${PREFIX}/share/mr
+
+ install -m0755 mr ${DESTDIR}${PREFIX}/bin/
+ install -m0755 webcheckout ${DESTDIR}${PREFIX}/bin/
+
+- install -m0644 mr.1 ${DESTDIR}${PREFIX}/share/man/man1/
+- install -m0644 webcheckout.1 ${DESTDIR}${PREFIX}/share/man/man1/
++ install -m0644 mr.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
++ install -m0644 webcheckout.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
+
+ install -m0644 lib/* ${DESTDIR}${PREFIX}/share/mr/
+