summaryrefslogtreecommitdiff
path: root/misc/mmv/Makefile
blob: 241d0ece6ec44d4bdadd2b6b5dfcfe45370c7ea5 (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
29
# $NetBSD: Makefile,v 1.16 2012/10/08 09:57:30 asau 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 ${DESTDIR}${PREFIX}/bin/mmv
	${INSTALL_MAN} ${WRKSRC}/mmv.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mmv.1

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