summaryrefslogtreecommitdiff
path: root/converters/convmv/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'converters/convmv/patches/patch-aa')
-rw-r--r--converters/convmv/patches/patch-aa20
1 files changed, 12 insertions, 8 deletions
diff --git a/converters/convmv/patches/patch-aa b/converters/convmv/patches/patch-aa
index 295070b473a..24baf89b7cb 100644
--- a/converters/convmv/patches/patch-aa
+++ b/converters/convmv/patches/patch-aa
@@ -1,16 +1,20 @@
-$NetBSD: patch-aa,v 1.2 2008/02/11 23:28:46 heinz Exp $
+$NetBSD: patch-aa,v 1.3 2009/01/08 16:14:16 wiz Exp $
- make variables overridable and thus the build process more flexible
Submitted upstream.
---- Makefile.orig Thu Jul 24 16:46:30 2003
+--- Makefile.orig 2008-11-29 14:49:38.000000000 +0100
+++ Makefile
-@@ -1,14 +1,18 @@
- DESTDIR=
+@@ -1,17 +1,21 @@
+-DESTDIR=
-PREFIX=/usr/local
-MANDIR=$(PREFIX)/share/man
++DESTDIR?=
+PREFIX?=/usr/local
+MANDIR?=$(PREFIX)/share/man
+ TAR=tar
+ FIND=find
+ SED=sed
+INSTALL_MAN_DIR?=mkdir -p
+INSTALL_SCRIPT_DIR?=mkdir -p
+INSTALL_MAN?=cp
@@ -23,10 +27,10 @@ $NetBSD: patch-aa,v 1.2 2008/02/11 23:28:46 heinz Exp $
- mkdir -p $(DESTDIR)$(PREFIX)/bin/
- cp convmv.1.gz $(DESTDIR)$(MANDIR)/man1/
- install -m 755 convmv $(DESTDIR)$(PREFIX)/bin/
-+ ${INSTALL_MAN_DIR} $(DESTDIR)$(MANDIR)/man1
-+ ${INSTALL_SCRIPT_DIR} $(DESTDIR)$(PREFIX)/bin
-+ ${INSTALL_MAN} convmv.1.gz $(DESTDIR)$(MANDIR)/man1
-+ ${INSTALL_SCRIPT} convmv $(DESTDIR)$(PREFIX)/bin
++ ${INSTALL_MAN_DIR} $(DESTDIR)$(MANDIR)/man1/
++ ${INSTALL_SCRIPT_DIR} $(DESTDIR)$(PREFIX)/bin/
++ ${INSTALL_MAN} convmv.1.gz $(DESTDIR)$(MANDIR)/man1/
++ ${INSTALL_SCRIPT} convmv $(DESTDIR)$(PREFIX)/bin/
manpage:
pod2man --section 1 --center=" " convmv | gzip > convmv.1.gz