summaryrefslogtreecommitdiff
path: root/editors/nano/Makefile
blob: 2931a0d03565f7931992cd5a0de388c414d51c3e (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
# New ports collection makefile for:	nano
# Date created:				12 June 2000
# Whom:				Philippe Lefebvre <nemesis@balistik.net>
#
# $FreeBSD$
#

PORTNAME=	nano
PORTVERSION=	1.2.2
PORTREVISION=	1
CATEGORIES=	editors
MASTER_SITES=	http://www.nano-editor.org/dist/v1.2/

MAINTAINER=	naddy@FreeBSD.org
COMMENT=	Nano's ANOther editor, an enhanced free Pico clone

LIB_DEPENDS=	intl.5:${PORTSDIR}/devel/gettext

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS=	--enable-all

INFO=		nano
MAN1=		nano.1
MAN5=		nanorc.5

post-install:
	${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/nanorc.sample ${EXAMPLESDIR}

.include <bsd.port.pre.mk>

.if ${OSVERSION} > 500000
BROKEN=		"memory allocation bug"
.endif

.include <bsd.port.post.mk>