[BACK]Return to patch-Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / misc / mdp / patches

File: [cvs.NetBSD.org] / pkgsrc / misc / mdp / patches / patch-Makefile (download)

Revision 1.1, Thu Jan 26 14:06:18 2017 UTC (3 years, 1 month ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1

Import mdp-1.0.9 as misc/mdp.

A command-line based markdown presentation tool.

$NetBSD: patch-Makefile,v 1.1 2017/01/26 14:06:18 ryoon Exp $

* Honor pkgsrc man directory

--- Makefile.orig	2016-11-03 07:34:00.000000000 +0000
+++ Makefile
@@ -61,8 +61,8 @@ clean:
 install:
 	install -d $(DESTDIR)$(PREFIX)/bin
 	install -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/bin/$(TARGET)
-	install -d $(DESTDIR)$(PREFIX)/share/man/man1
-	install -m 644 mdp.1 $(DESTDIR)$(PREFIX)/share/man/man1/$(TARGET).1
+	install -d $(DESTDIR)$(PREFIX)/${PKGMANDIR}/man1
+	install -m 644 mdp.1 $(DESTDIR)$(PREFIX)/${PKGMANDIR}/man1/$(TARGET).1
 
 uninstall:
 	$(RM) $(DESTDIR)$(PREFIX)/$(TARGET)