aboutsummaryrefslogtreecommitdiffstats
path: root/misc/mmv/Makefile
blob: e715956fbab90b1156954e0d755cad04a15c97a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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= ports@FreeBSD.org
COMMENT=    Move/copy/append/link multiple files with sophisticated wildcard matching

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>