ports/net/bittwist/files/patch-Makefile
Mathieu Arnold 7ae7b018cc With the power of USES=dos2unix, get rid of most patches and files
with CRLF.

While there, run make makepatch, rename patches to use the new scheme,
and various fixes.

With hat:	portmgr
Sponsored by:	Absolight
2016-06-20 16:23:28 +00:00

29 lines
954 B
Text

--- Makefile.orig 2016-06-20 15:56:31 UTC
+++ Makefile
@@ -1,6 +1,6 @@
SHELL = /bin/sh
-prefix = /usr/local
+prefix = ${PREFIX}
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
mandir = ${prefix}/man/man1
@@ -31,12 +31,12 @@ clean:
rm -f $(SRC)/bittwist $(SRC)/bittwistb $(SRC)/bittwiste
install:
- mkdir -p $(bindir)
- chmod 755 $(bindir)
- $(INSTALL_PROGRAM) $(SRC)/bittwist $(SRC)/bittwistb $(SRC)/bittwiste $(bindir)
- mkdir -p $(mandir)
- chmod 755 $(mandir)
- $(INSTALL_DATA) $(DOC)/bittwist.1 $(DOC)/bittwistb.1 $(DOC)/bittwiste.1 $(mandir)
+ mkdir -p $(DESTDIR)$(bindir)
+ chmod 755 $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) $(SRC)/bittwist $(SRC)/bittwistb $(SRC)/bittwiste $(DESTDIR)$(bindir)
+ mkdir -p $(DESTDIR)$(mandir)
+ chmod 755 $(DESTDIR)$(mandir)
+ $(INSTALL_DATA) $(DOC)/bittwist.1 $(DOC)/bittwistb.1 $(DOC)/bittwiste.1 $(DESTDIR)$(mandir)
uninstall:
rm -f $(bindir)/bittwist $(bindir)/bittwistb $(bindir)/bittwiste