summaryrefslogtreecommitdiff
path: root/misc/mmv/Makefile
blob: 0058785a84620e434817f608f2bad3a5946207cc (plain)
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
# $NetBSD: Makefile,v 1.13 2007/01/07 09:14:01 rillig Exp $
#

DISTNAME=       mmv_1.01b.orig
PKGNAME=	mmv-1.0b
CATEGORIES=     misc
MASTER_SITES=   ${MASTER_SITE_DEBIAN:=pool/main/m/mmv/}

MAINTAINER=     pkgsrc-users@NetBSD.org
HOMEPAGE=       # none
COMMENT=	Move, copy, append or link multiple files using wildcard patterns

WRKSRC=		${WRKDIR}/mmv-1.01b.orig
BUILD_TARGET=	mmv

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "SunOS"
CFLAGS+=	-DIS_SYSV
.endif

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

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

.include "../../mk/bsd.pkg.mk"