openbsd-ports/misc/mmv/patches/patch-Makefile

19 lines
680 B
Plaintext
Raw Normal View History

$OpenBSD: patch-Makefile,v 1.1 2002/12/23 19:11:48 pvalchev Exp $
--- Makefile.orig Mon Dec 23 14:09:24 2002
+++ Makefile Mon Dec 23 14:09:24 2002
@@ -3,8 +3,11 @@ all: mmv mmv.1
2000-04-20 01:03:36 -04:00
mmv: mmv.c
$(CC) -o mmv $(CFLAGS) mmv.c
install: all
- @echo "Install mmv according to local convention,"
- @echo "then make links named mcp, mad, and mln to mmv."
- @echo "Under System V, edit mmv.1 to uncomment the .nr O 1 line."
+ ${BSD_INSTALL_PROGRAM} mmv ${PREFIX}/bin ; \
2000-04-20 01:03:36 -04:00
+ ln -fs mmv ${PREFIX}/bin/mad ; \
+ ln -fs mmv ${PREFIX}/bin/mcp ; \
+ ln -fs mmv ${PREFIX}/bin/mln ; \
+ ${BSD_INSTALL_MAN} mmv.1 ${PREFIX}/man/man1
2000-04-20 01:03:36 -04:00
+
clean:
rm -f core a.out mmv mmv.o