aboutsummaryrefslogtreecommitdiff
path: root/devel/quilt/Makefile
blob: 57da13c127ef0da972198c502ea03e1a4d3c0cfa (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
36
37
38
39
40
41
# New ports collection makefile for: quilt
# Date created:        20 Oct 2006
# Whom:                Dirk Jagdmann <doj@cubic.org>
#
# $FreeBSD$
#

PORTNAME=	quilt
PORTVERSION=	0.46
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	http://download.savannah.gnu.org/releases/quilt/

MAINTAINER=	doj@cubic.org
COMMENT=	A collection of bash scripts to ease working with patch files

BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash \
		gcp:${PORTSDIR}/sysutils/coreutils \
		gsed:${PORTSDIR}/textproc/gsed \
		gpatch:${PORTSDIR}/devel/patch \
		diffstat:${PORTSDIR}/textproc/diffstat \
		rpm:${PORTSDIR}/archivers/rpm
RUN_DEPENDS:=	${BUILD_DEPENDS}

USE_GMAKE=	yes
USE_GETTEXT=	yes
USE_PERL5=	yes

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-sed=${LOCALBASE}/bin/gsed --without-getopt --with-patch=${LOCALBASE}/bin/gpatch

MAN1=		guards.1 quilt.1
PORTDOCS=	README* quilt.pdf

post-install:
	@if [ ! -f ${PREFIX}/etc/quilt.quiltrc ]; then \
		${CP} ${PREFIX}/etc/quilt.quiltrc.sample \
			${PREFIX}/etc/quilt.quiltrc ; \
	fi

.include <bsd.port.mk>