ports/math/sc-im/files/patch-Makefile
Baptiste Daroussin 1b7fde09d5 Update to 0.5.0
2017-02-20 08:33:14 +00:00

19 lines
672 B
Text

--- Makefile.orig 2017-02-19 16:32:00 UTC
+++ Makefile
@@ -70,13 +70,13 @@ install :
install $(name) $(DESTDIR)$(prefix)/bin/$(name)
install -d $(DESTDIR)$(HELPDIR)
install doc $(DESTDIR)$(HELPDIR)/$(name)_help
- install -d $(DESTDIR)$(prefix)/share/man/man1
- install -m 644 sc-im.1 $(DESTDIR)$(prefix)/share/man/man1/$(name).1
+ install -d $(DESTDIR)$(MANDIR)
+ install -m 644 sc-im.1 $(DESTDIR)$(MANDIR)/$(name).1
uninstall :
-rm $(DESTDIR)$(prefix)/bin/$(name)
-rm $(DESTDIR)$(HELPDIR)/$(name)_help
- -rm $(DESTDIR)$(prefix)/share/man/man1/$(name).1
+ -rm $(DESTDIR)$(prefix)$(MANDIR)/$(name).1
$(name) : $(OBJS)
$(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS)