summaryrefslogtreecommitdiff
path: root/textproc/diffsplit/Makefile
blob: e5b1f257cb62f28ed9240a313ae591968eb0f156 (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.3 2012/10/03 21:57:47 wiz Exp $
# FreeBSD Id: ports/textproc/diffsplit/Makefile,v 1.7 2006/12/22 13:43:54 barner Exp

DISTNAME=	diffsplit
PKGNAME=	diffsplit-1.0
PKGREVISION=	2
CATEGORIES=	textproc devel misc
MASTER_SITES=	http://www.pathname.com/~quinlan/software/diffsplit/
EXTRACT_SUFX=
EXTRACT_ONLY=

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.pathname.com/~quinlan/software/diffsplit/
COMMENT=	Splits a unified diff into pieces which patch one file each

PKG_DESTDIR_SUPPORT=	user-destdir

NO_BUILD=	YES
WRKSRC=		${WRKDIR}
REPLACE_PERL=	diffsplit
USE_TOOLS+=	perl:run

INSTALLATION_DIRS=	bin

do-extract:
	${CP} ${DISTDIR}/${DIST_SUBDIR}/diffsplit ${WRKDIR}

do-install:
	${INSTALL_SCRIPT} ${WRKDIR}/diffsplit ${DESTDIR}${PREFIX}/bin

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