Clean up the Makefile and fake.
This commit is contained in:
parent
34095dca45
commit
0390b1cf06
@ -3,14 +3,13 @@
|
||||
# Date created: June 6 1998
|
||||
# Whom: Angelos D. Keromytis
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.7 2000/04/09 17:37:11 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 2000/04/20 05:03:36 kevlo Exp $
|
||||
#
|
||||
|
||||
DISTNAME= mmv
|
||||
PKGNAME= mmv-1.01b
|
||||
CATEGORIES= misc
|
||||
NEED_VERSION= 1.191
|
||||
FAKE=No
|
||||
MASTER_SITES= ftp://gatekeeper.dec.com/pub/usenet/comp.sources.unix/volume21/mmv/
|
||||
DISTFILES= part01.Z part02.Z
|
||||
|
||||
@ -27,7 +26,7 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
DIST_SUBDIR= ${DISTNAME}
|
||||
WRKDIST= ${WRKDIR}
|
||||
PATCH_DIST_ARGS= -d ${WRKSRC} --forward --quiet -E ${PATCH_DIST_STRIP} mmv.c
|
||||
MAN1= mmv.1
|
||||
FAKE= Yes
|
||||
|
||||
do-extract:
|
||||
@rm -rf ${WRKDIR}
|
||||
@ -42,12 +41,4 @@ do-extract:
|
||||
done ; \
|
||||
cat mmv.c.? >mmv.c ; rm mmv.c.?
|
||||
|
||||
do-install:
|
||||
cd ${PREFIX}/bin ; rm -f mmv mad mcp mln ; \
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/mmv ${PREFIX}/bin ; \
|
||||
ln -fs ${PREFIX}/bin/mmv ${PREFIX}/bin/mad ; \
|
||||
ln -fs ${PREFIX}/bin/mmv ${PREFIX}/bin/mcp ; \
|
||||
ln -fs ${PREFIX}/bin/mmv ${PREFIX}/bin/mln ; \
|
||||
${INSTALL_MAN} ${WRKSRC}/mmv.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
22
misc/mmv/patches/patch-ab
Normal file
22
misc/mmv/patches/patch-ab
Normal file
@ -0,0 +1,22 @@
|
||||
--- Makefile.orig Thu Apr 20 19:56:55 2000
|
||||
+++ Makefile Thu Apr 20 19:57:51 2000
|
||||
@@ -1,10 +1,16 @@
|
||||
+INSTALL_PROGRAM = install -c -s -o root -g bin -m 555
|
||||
+INSTALL_MAN = install -c -o root -g bin -m 444
|
||||
+
|
||||
all: mmv mmv.1
|
||||
|
||||
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."
|
||||
+ ${INSTALL_PROGRAM} mmv ${PREFIX}/bin ; \
|
||||
+ ln -fs mmv ${PREFIX}/bin/mad ; \
|
||||
+ ln -fs mmv ${PREFIX}/bin/mcp ; \
|
||||
+ ln -fs mmv ${PREFIX}/bin/mln ; \
|
||||
+ ${INSTALL_MAN} mmv.1 ${PREFIX}/man/man1
|
||||
+
|
||||
clean:
|
||||
rm -f core a.out mmv mmv.o
|
Loading…
Reference in New Issue
Block a user