freebsd-ports/misc/mmv/Makefile
2002-06-14 18:16:29 +00:00

36 lines
865 B
Makefile

# New ports collection makefile for: mmv
# Date created: 2 Feb 1995
# Whom: Michael Elbel (me)
#
# $FreeBSD$
#
PORTNAME= mmv
PORTVERSION= 1.01b
CATEGORIES= misc
MASTER_SITES= http://wuarchive.wustl.edu/languages/c/unix-c/file-mgmt/
DISTNAME= mmv
EXTRACT_SUFX= .tar.Z
MAINTAINER= me@FreeBSD.org
NO_CDROM= "No redistribution for charge"
NO_PACKAGE= "No modification"
CFLAGS+= -DDIRENT
MAKE_FLAGS= -e
MAN1= mmv.1
post-extract:
(cd ${WRKSRC} ; \
${CAT} mmv.c.? >mmv.c ; \
${PATCH} mmv.c < mmv.patch1 ; )
do-install:
(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 ; \
${INSTALL_MAN} ${WRKSRC}/mmv.1 ${PREFIX}/man/man1 ; )
.include <bsd.port.mk>