pkgsrc/converters/convmv/patches/patch-aa
wiz 3241a569c1 Update to 1.13:
1.13
- move non fatal Perl bug checks into the help screen output
- fix Perl warnings when wrong/unknown charset is used
- run check for some essential Encode functionality at every startup
- add --fixdouble option to only fix files that are double-UTF-8 encoded
- add --parsable option to allow convmv output parsable suggestions for external tools to to something with it
- add --preserve-mtimes option to restore mtimes of parent directories
- allow an argv to be a symlink
- don't checksum deleted files in tar ball and use sha256 now
- allow skippig of certain test suite tests, useful for OS X to skip NFC/NFD related stuff, for example "make test SKIPTESTS=nfd-test,someothertest" will skip that test(s)
2009-01-08 16:14:16 +00:00

36 lines
964 B
Text

$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 2008-11-29 14:49:38.000000000 +0100
+++ Makefile
@@ -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
+INSTALL_SCRIPT?=install -m 755
all: manpage
install: all
- mkdir -p $(DESTDIR)$(MANDIR)/man1/
- 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/
manpage:
pod2man --section 1 --center=" " convmv | gzip > convmv.1.gz