aboutsummaryrefslogtreecommitdiff
path: root/editors/nvi-perl/Makefile
blob: 8db12192eb20033d22a742e3a218befd29d327d2 (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
# New ports collection makefile for:	nvi-1.79 + perl
# Date created:		18 Feb 1998
# Whom:			Jun-ichiro itojun Itoh <itojun@itojun.org>
#
# $FreeBSD$
#

PORTNAME=	nvi
PORTVERSION=	1.79
PORTREVISION=	1
CATEGORIES=	editors
MASTER_SITES=	ftp://sleepy.vwh.net/pub/ \
		ftp://ftp.foretune.co.jp/pub/tools/nvi-m17n/
PKGNAMESUFFIX=	-perl

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A clone of vi/ex, with perl5 linked into

# can't say PATCH_DIST_STRIP=-p1 because contains files outside ${WRKSRC}
PATCH_DIST_ARGS=-d ${WRKSRC}/.. --forward --quiet -E -p0
PATCH_ARGS=	-d ${WRKSRC}/.. --forward --quiet -E -p0
WRKSRC=		${WRKDIR}/${DISTNAME}/build

USE_PERL5=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	OPTFLAG='-D_PATH_SYSEXRC=\"${PREFIX}/etc/vi.exrc\"'
CONFIGURE_ARGS=	--enable-perlinterp --program-prefix=pn

MAN1=		pnvi.1
MLINKS=		pnvi.1 pnex.1  pnvi.1 pnview.1

post-patch:
	${LN} -s /usr/include/sys/queue.h ${WRKSRC}/../include/sys/queue_dist.h

.include <bsd.port.mk>