1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/misc/mmv/Makefile

48 lines
1.3 KiB
Makefile
Raw Normal View History

1995-03-27 20:55:28 +00:00
# New ports collection makefile for: mmv
# Date created: 2 Feb 1995
# Whom: Michael Elbel (me)
#
1999-08-25 07:23:21 +00:00
# $FreeBSD$
1995-03-27 20:55:28 +00:00
#
2000-04-14 08:49:30 +00:00
PORTNAME= mmv
PORTVERSION= 1.01b
CATEGORIES= misc
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
MAINTAINER= me@FreeBSD.org
1995-03-27 20:55:28 +00:00
NO_CDROM= "No redistribution for charge"
NO_PACKAGE= "No modification"
2000-04-14 08:49:30 +00:00
DIST_SUBDIR= ${PORTNAME}
1995-04-23 13:02:52 +00:00
NO_WRKSUBDIR= yes
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:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}/tmp
@(for file in ${DISTFILES}; do \
${CP} ${DISTDIR}/${DIST_SUBDIR}/$$file ${WRKDIR}/tmp; \
1995-03-27 20:55:28 +00:00
done ; \
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 ; \
${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:
(cd ${PREFIX}/bin ; ${RM} -f mmv mad mcp mln ; \
${INSTALL_PROGRAM} ${WRKSRC}/mmv ${PREFIX}/bin ; \
1999-08-28 01:58:05 +00: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 ; \
${INSTALL_MAN} ${WRKSRC}/mmv.1 ${PREFIX}/man/man1 ; )
1995-03-27 20:55:28 +00:00
.include <bsd.port.mk>