summaryrefslogtreecommitdiffstats
path: root/misc/mmv
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1996-11-11 05:50:23 +0000
committerobrien <obrien@FreeBSD.org>1996-11-11 05:50:23 +0000
commit2df0b0be3e0475f44afb4415f5fea89d3074e01e (patch)
treedab53b10c77fec063733363128dae6322f1eacab /misc/mmv
parent644c7b7743aecd518e64fc296170ab18a22d8350 (diff)
downloadFreeBSD-ports-2df0b0be3e0475f44afb4415f5fea89d3074e01e.zip
FreeBSD-ports-2df0b0be3e0475f44afb4415f5fea89d3074e01e.tar.gz
CATEGORIES+= --> CATEGORIES=
Misc variable reordering, cleaning up, etc.
Diffstat (limited to 'misc/mmv')
-rw-r--r--misc/mmv/Makefile21
1 files changed, 9 insertions, 12 deletions
diff --git a/misc/mmv/Makefile b/misc/mmv/Makefile
index 2433ba9..08eac90 100644
--- a/misc/mmv/Makefile
+++ b/misc/mmv/Makefile
@@ -3,13 +3,12 @@
# Date created: 2 Feb 1995
# Whom: Michael Elbel (me)
#
-# $Id: Makefile,v 1.10 1996/04/12 08:38:33 asami Exp $
+# $Id: Makefile,v 1.11 1996/06/26 22:33:17 gpalmer Exp $
#
-
DISTNAME= mmv
PKGNAME= mmv-1.01b
-CATEGORIES+= misc
+CATEGORIES= misc
MASTER_SITES= ftp://gatekeeper.dec.com/pub/usenet/comp.sources.unix/
DISTFILES= part01.Z part02.Z mmv.pch.Z
@@ -47,10 +46,10 @@ pre-extract:
chmod +x scripts/unshar scripts/makeitapatch
do-extract:
- @rm -rf ${WRKDIR}
- @mkdir -p ${WRKDIR}/tmp
+ @${RM} -rf ${WRKDIR}
+ @${MKDIR} ${WRKDIR}/tmp
@(cd ${DISTDIR} ; for file in ${DISTFILES}; do \
- cp $$file ${WRKDIR}/tmp; \
+ ${CP} $$file ${WRKDIR}/tmp; \
done ; \
cd ${WRKDIR}/tmp; \
uncompress *; \
@@ -60,21 +59,19 @@ do-extract:
done ; \
${SCRIPTDIR}/makeitapatch tmp/mmv.pch ; \
mv tmp/mmv.pch ${PATCHDIR}/patch-0a ; \
- cat mmv.c.? >mmv.c ; rm mmv.c.? )
+ ${CAT} mmv.c.? >mmv.c ; rm mmv.c.? )
do-install:
(cd ${PREFIX}/bin ; rm -f mmv mad mcp mln ; \
cd ${WRKSRC}; \
- install ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
- mmv ${PREFIX}/bin ; \
+ ${INSTALL_PROGRAM} mmv ${PREFIX}/bin ; \
ln ${PREFIX}/bin/mmv ${PREFIX}/bin/mad ; \
ln ${PREFIX}/bin/mmv ${PREFIX}/bin/mcp ; \
ln ${PREFIX}/bin/mmv ${PREFIX}/bin/mln ; \
if [ ! -f mmv.1.gz ] ; then gzip mmv.1 ; fi ; \
- if [ ! -d ${PREFIX}/man/man1 ]; then mkdir -p ${PREFIX}/man/man1; fi; \
- install ${COPY} -o ${BINOWN} -g ${BINGRP} \
- mmv.1.gz ${PREFIX}/man/man1 ; )
+ if [ ! -d ${PREFIX}/man/man1 ]; then ${MKDIR} ${PREFIX}/man/man1; fi; \
+ ${INSTALL_MAN} mmv.1.gz ${PREFIX}/man/man1 ; )
pre-clean:
@rm -f ${PATCHDIR}/patch-0a # created by do-extract above
OpenPOWER on IntegriCloud