1995-03-27 20:55:28 +00:00
|
|
|
# New ports collection makefile for: mmv
|
|
|
|
# Version required: 1.01b
|
|
|
|
# Date created: 2 Feb 1995
|
|
|
|
# Whom: Michael Elbel (me)
|
|
|
|
#
|
1997-07-13 18:49:31 +00:00
|
|
|
# $Id: Makefile,v 1.15 1996/12/08 12:02:01 max Exp $
|
1995-03-27 20:55:28 +00:00
|
|
|
#
|
|
|
|
|
1995-04-11 02:34:03 +00:00
|
|
|
DISTNAME= mmv
|
|
|
|
PKGNAME= mmv-1.01b
|
1996-11-11 05:50:23 +00:00
|
|
|
CATEGORIES= misc
|
1996-12-08 11:55:03 +00:00
|
|
|
MASTER_SITES= ftp://gatekeeper.dec.com/pub/usenet/comp.sources.unix/volume21/mmv/
|
|
|
|
DISTFILES= part01.Z part02.Z
|
|
|
|
|
|
|
|
PATCH_SITES= ftp://gatekeeper.dec.com/pub/usenet/comp.sources.unix/volume22/
|
|
|
|
PATCHFILES= mmv.pch.Z
|
1995-03-27 20:55:28 +00:00
|
|
|
|
1995-04-11 02:34:03 +00:00
|
|
|
MAINTAINER= me@FreeBSD.org
|
1995-03-27 20:55:28 +00:00
|
|
|
|
1996-12-08 11:55:03 +00:00
|
|
|
NO_CDROM= "No redistribution for charge"
|
|
|
|
NO_PACKAGE= "No modification"
|
1996-03-29 03:28:08 +00:00
|
|
|
DIST_SUBDIR= ${DISTNAME}
|
1995-04-23 13:02:52 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
1996-12-08 11:55:03 +00:00
|
|
|
PATCH_DIST_ARGS= -d ${WRKSRC} --forward --quiet -E ${PATCH_DIST_STRIP} mmv.c
|
|
|
|
MAN1= mmv.1
|
1995-03-27 20:55:28 +00:00
|
|
|
|
1995-04-23 13:02:52 +00:00
|
|
|
do-extract:
|
1996-11-11 05:50:23 +00:00
|
|
|
@${RM} -rf ${WRKDIR}
|
|
|
|
@${MKDIR} ${WRKDIR}/tmp
|
1996-12-08 11:55:03 +00:00
|
|
|
@(for file in ${DISTFILES}; do \
|
|
|
|
${CP} ${DISTDIR}/${DIST_SUBDIR}/$$file ${WRKDIR}/tmp; \
|
1995-03-27 20:55:28 +00:00
|
|
|
done ; \
|
1996-12-08 11:55:03 +00:00
|
|
|
uncompress ${WRKDIR}/tmp/*; \
|
|
|
|
cd ${WRKDIR}; \
|
1995-03-27 20:55:28 +00:00
|
|
|
for file in tmp/part0* ; do \
|
1997-07-13 18:49:31 +00:00
|
|
|
${SH} ${SCRIPTDIR}/unshar $$file; \
|
1995-03-27 20:55:28 +00:00
|
|
|
done ; \
|
1996-12-08 11:55:03 +00:00
|
|
|
${CAT} mmv.c.? >mmv.c ; ${RM} mmv.c.? )
|
1995-03-27 20:55:28 +00:00
|
|
|
|
1995-04-23 13:02:52 +00:00
|
|
|
do-install:
|
1996-12-08 11:55:03 +00:00
|
|
|
(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 ; \
|
1996-12-08 12:02:01 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/mmv.1 ${PREFIX}/man/man1 ; )
|
1996-03-29 03:28:08 +00:00
|
|
|
|
1995-03-27 20:55:28 +00:00
|
|
|
.include <bsd.port.mk>
|