aboutsummaryrefslogtreecommitdiffstats
path: root/misc/mmv/Makefile
blob: 56b69820255f81e475f8a1dd27536574228cab40 (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
# New ports collection makefile for:    mmv
# Date created:     2 Feb 1995
# Whom:         Michael Elbel (me)
#
# $FreeBSD$
#

PORTNAME=   mmv
PORTVERSION=    1.01b.14
PORTREVISION=   1
CATEGORIES= misc
MASTER_SITES=   ${MASTER_SITE_DEBIAN_POOL}
DISTNAME=   ${PORTNAME}_1.01b.orig

PATCH_SITES=    ${MASTER_SITES}
PATCHFILES= ${PORTNAME}_1.01b-14.diff.gz
PATCH_DIST_STRIP=   -p1

MAINTAINER= simon@olofsson.de
COMMENT=    Move/Copy/Append/Link multiple files

CFLAGS+=    -DHAS_DIRENT
MAN1=       mmv.1
PLIST_FILES=    bin/mmv
WRKSRC=     ${WRKDIR}/${PORTNAME}-1.01b.orig

do-build:
    @(cd ${WRKSRC} ; \
    ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c ; )

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
    @${INSTALL_MAN} ${WRKSRC}/mmv.1 ${PREFIX}/man/man1/mmv.1

.include <bsd.port.mk>