summaryrefslogtreecommitdiff
path: root/misc/mmv/Makefile
blob: 27a100f115aed3126f8e11a1e94101cf3d27bdc4 (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
30
31
# $NetBSD: Makefile,v 1.15 2008/03/04 19:21:11 jlam 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

PKG_DESTDIR_SUPPORT=	user-destdir

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"