1995-03-27 15:55:28 -05:00
|
|
|
# New ports collection makefile for: mmv
|
|
|
|
# Version required: 1.01b
|
|
|
|
# Date created: 2 Feb 1995
|
|
|
|
# Whom: Michael Elbel (me)
|
|
|
|
#
|
1999-08-25 03:23:21 -04:00
|
|
|
# $FreeBSD$
|
1995-03-27 15:55:28 -05:00
|
|
|
#
|
|
|
|
|
1995-04-10 22:34:03 -04:00
|
|
|
DISTNAME= mmv
|
|
|
|
PKGNAME= mmv-1.01b
|
1996-11-11 00:50:23 -05:00
|
|
|
CATEGORIES= misc
|
1996-12-08 06:55:03 -05: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 15:55:28 -05:00
|
|
|
|
1995-04-10 22:34:03 -04:00
|
|
|
MAINTAINER= me@FreeBSD.org
|
1995-03-27 15:55:28 -05:00
|
|
|
|
1996-12-08 06:55:03 -05:00
|
|
|
NO_CDROM= "No redistribution for charge"
|
|
|
|
NO_PACKAGE= "No modification"
|
1996-03-28 22:28:08 -05:00
|
|
|
DIST_SUBDIR= ${DISTNAME}
|
1995-04-23 09:02:52 -04:00
|
|
|
NO_WRKSUBDIR= yes
|
1996-12-08 06:55:03 -05:00
|
|
|
PATCH_DIST_ARGS= -d ${WRKSRC} --forward --quiet -E ${PATCH_DIST_STRIP} mmv.c
|
|
|
|
MAN1= mmv.1
|
1995-03-27 15:55:28 -05:00
|
|
|
|
1995-04-23 09:02:52 -04:00
|
|
|
do-extract:
|
1996-11-11 00:50:23 -05:00
|
|
|
@${RM} -rf ${WRKDIR}
|
|
|
|
@${MKDIR} ${WRKDIR}/tmp
|
1996-12-08 06:55:03 -05:00
|
|
|
@(for file in ${DISTFILES}; do \
|
|
|
|
${CP} ${DISTDIR}/${DIST_SUBDIR}/$$file ${WRKDIR}/tmp; \
|
1995-03-27 15:55:28 -05:00
|
|
|
done ; \
|
1996-12-08 06:55:03 -05:00
|
|
|
uncompress ${WRKDIR}/tmp/*; \
|
|
|
|
cd ${WRKDIR}; \
|
1995-03-27 15:55:28 -05:00
|
|
|
for file in tmp/part0* ; do \
|
1997-07-13 14:49:31 -04:00
|
|
|
${SH} ${SCRIPTDIR}/unshar $$file; \
|
1995-03-27 15:55:28 -05:00
|
|
|
done ; \
|
1996-12-08 06:55:03 -05:00
|
|
|
${CAT} mmv.c.? >mmv.c ; ${RM} mmv.c.? )
|
1995-03-27 15:55:28 -05:00
|
|
|
|
1995-04-23 09:02:52 -04:00
|
|
|
do-install:
|
1996-12-08 06:55:03 -05:00
|
|
|
(cd ${PREFIX}/bin ; ${RM} -f mmv mad mcp mln ; \
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mmv ${PREFIX}/bin ; \
|
1999-08-27 21:58:05 -04:00
|
|
|
${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 07:02:01 -05:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/mmv.1 ${PREFIX}/man/man1 ; )
|
1996-03-28 22:28:08 -05:00
|
|
|
|
1995-03-27 15:55:28 -05:00
|
|
|
.include <bsd.port.mk>
|