freebsd-ports/misc/mmv/Makefile

49 lines
1.3 KiB
Makefile
Raw Normal View History

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
#
DISTNAME= mmv
PKGNAME= mmv-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 15:55:28 -05:00
MAINTAINER= me@FreeBSD.org
1995-03-27 15:55:28 -05:00
NO_CDROM= "No redistribution for charge"
NO_PACKAGE= "No modification"
DIST_SUBDIR= ${DISTNAME}
1995-04-23 09:02:52 -04:00
NO_WRKSUBDIR= yes
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:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}/tmp
@(for file in ${DISTFILES}; do \
${CP} ${DISTDIR}/${DIST_SUBDIR}/$$file ${WRKDIR}/tmp; \
1995-03-27 15:55:28 -05:00
done ; \
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 ; \
${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:
(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 ; \
${INSTALL_MAN} ${WRKSRC}/mmv.1 ${PREFIX}/man/man1 ; )
1995-03-27 15:55:28 -05:00
.include <bsd.port.mk>