1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/textproc/pdfsandwich/files/patch-Makefile
Yuri Victorovich eb97138327 New port: textproc/pdfsandwich: Command line tool generating "sandwich" OCR pdf files
PR:		221737
Submitted by:	myself
Requested by:	vermaden@interia.pl
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D13708
2017-12-31 18:59:36 +00:00

25 lines
877 B
Plaintext

--- Makefile.orig 2017-01-16 20:56:57 UTC
+++ Makefile
@@ -43,16 +43,16 @@ PREF = $(DESTDIR)$(PREFIX)
INSTALL = install -s
CP = cp
INSTALLBINDIR = $(PREF)/bin
-INSTALLMANDIR = $(PREF)/share/man/man1
+INSTALLMANDIR = $(PREF)/man/man1
INSTALLDOCDIR = $(PREF)/share/doc/$(TARGET)
install: $(DOCFILES) $(ADDITIONAL)
- (umask 0022; mkdir -p $(INSTALLBINDIR) $(INSTALLDOCDIR) $(INSTALLMANDIR))
+ (umask 0022; mkdir -p $(INSTALLBINDIR) $(INSTALLMANDIR))
$(INSTALL) $(TARGET) $(INSTALLBINDIR)
- $(CP) $(DOCFILES) $(INSTALLDOCDIR)
- gzip -9 $(INSTALLDOCDIR)/changelog
+ #$(CP) $(DOCFILES) $(INSTALLDOCDIR)
+ #gzip -9 $(INSTALLDOCDIR)/changelog
$(CP) $(MANUAL) $(INSTALLMANDIR)
- chmod 644 $(INSTALLDOCDIR)/* $(INSTALLMANDIR)/*
+ #chmod 644 $(INSTALLDOCDIR)/* $(INSTALLMANDIR)/*
uninstall:
rm -rf $(INSTALLBINDIR)/$(TARGET) $(INSTALLDOCDIR) $(INSTALLMANDIR)/$(MANUAL)