blob: 5bc4d25d46a5e937a2c82fddd9522278e384dd49 (
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
|
# Created by: Michael Elbel (me)
# $FreeBSD$
PORTNAME= mmv
PORTVERSION= 1.01b.15
CATEGORIES= misc
MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}_1.01b.orig
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= ${PORTNAME}_1.01b-15.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= ports@FreeBSD.org
COMMENT= Move/Copy/Append/Link multiple files
CFLAGS+= -DHAS_DIRENT
WRKSRC= ${WRKDIR}/${PORTNAME}-1.01b.orig
do-build:
@(cd ${WRKSRC} ; \
${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c ; )
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${INSTALL_MAN} ${WRKSRC}/mmv.1 \
${STAGEDIR}${PREFIX}/man/man1/${PORTNAME}.1
.for i in mcp mad mln
@${LN} -sf ${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${i}
@${LN} -sf ${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/${i}.1
.endfor
.include <bsd.port.mk>
|